mysqld ends immediately

mysqld ends immediately

Post by Yuriy Salimovsk » Wed, 28 Nov 2001 06:32:11



Dear sirs,

I'm running MySQL server on local machine (AMD Duron 650, 128 RAM, Linux
RedHat 7.1, MySQL 3.23.36) and have following problem:

after running SAFE_MYSQLD daemon starts, but ends almost immediately
log is as follows:
        011126 16:44:08  mysqld started
        011126 16:44:14  /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
(errno: 13)
        011126 16:44:14  mysqld ended
Still sometimes I can start daemon with applying --no-defaults, but cannot
connect to server! System says "cannot  through socket
/var/lib/mysql/mysql.sock " In that case log is:

        011126 16:39:25  mysqld started
        /usr/libexec/mysqld: option requires an argument -- h
        /usr/libexec/mysqld  Ver 3.23.36 for redhat-linux-gnu on i386

        Starts the MySQL server

        Usage: /usr/libexec/mysqld [OPTIONS]

        basedir:     /usr/
        datadir:     /var/lib/mysql/
        tmpdir:      /tmp/
        language:    /usr/share/mysql/english/
        pid file:    /var/run/mysqld/mysqld.pid
        TCP port:    3306
        Unix socket: /var/lib/mysql/mysql.sock

        system locking is not in use

        011126 16:39:25  mysqld ended

And sometimes I cannot evev start server with that parameter - have no idea
why.

I'd be thankful if you could tell me how can I deal with that to make
everything work.
--

Sincerely,
Yuriy "Yurr" Salimovskyy
~~~~~~~~~~~~~~~~~~~~~~~

http://yurr.20m.com/

~~~~~~~~~~~~~~~~~~~~~~~
'what we do in life echoes in eternity'

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

mysqld ends immediately

Post by deni » Wed, 28 Nov 2001 06:57:11


check the ownership of the mysql directory and the files within. They should be the
same owner/group as your mysql server.


> Dear sirs,

> I'm running MySQL server on local machine (AMD Duron 650, 128 RAM, Linux
> RedHat 7.1, MySQL 3.23.36) and have following problem:

> after running SAFE_MYSQLD daemon starts, but ends almost immediately
> log is as follows:
>         011126 16:44:08  mysqld started
>         011126 16:44:14  /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno: 13)
>         011126 16:44:14  mysqld ended
> Still sometimes I can start daemon with applying --no-defaults, but cannot
> connect to server! System says "cannot  through socket
> /var/lib/mysql/mysql.sock " In that case log is:

>         011126 16:39:25  mysqld started
>         /usr/libexec/mysqld: option requires an argument -- h
>         /usr/libexec/mysqld  Ver 3.23.36 for redhat-linux-gnu on i386

>         Starts the MySQL server

>         Usage: /usr/libexec/mysqld [OPTIONS]

>         basedir:     /usr/
>         datadir:     /var/lib/mysql/
>         tmpdir:      /tmp/
>         language:    /usr/share/mysql/english/
>         pid file:    /var/run/mysqld/mysqld.pid
>         TCP port:    3306
>         Unix socket: /var/lib/mysql/mysql.sock

>         system locking is not in use

>         011126 16:39:25  mysqld ended

> And sometimes I cannot evev start server with that parameter - have no idea
> why.

> I'd be thankful if you could tell me how can I deal with that to make
> everything work.
> --

> Sincerely,
> Yuriy "Yurr" Salimovskyy
> ~~~~~~~~~~~~~~~~~~~~~~~

> http://yurr.20m.com/

> ~~~~~~~~~~~~~~~~~~~~~~~
> 'what we do in life echoes in eternity'

> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)



> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

1. problem mysql deamon start and end immediately

     I have launched mysql_install_db and I had an error, grant tables failed, I
 have a core in
     my /usr/local/mysql/var/ dir and in my hostname.err I have only :
     010406 16:35:33  mysqld started
     010406 16:35:33  mysqld ended
     You can see that my deamon start and end immediately after.

 <organization of PR author (multiple lines)>

     <machine, os, target, libraries (multiple lines)>
System: Linux linux03.sduval 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586
unknown
Architecture: i586

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Compilation info: CC='gcc'  CFLAGS='-O3 -march=pentium -mcpu=pentium -ffast-math
 -funroll-loops -fomit-frame-pointer -fforce-mem -fforce-addr -malign-double
-fno-exceptions'  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
LIBC:
lrwxrwxrwx    1 root     root           13 mar 31 00:45 /lib/libc.so.6 ->
libc-2.1.3.so
-rwxr-xr-x    1 root     root      4101324 fv 29  2000 /lib/libc-2.1.3.so
-rw-r--r--    1 root     root     20272704 fv 29  2000 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 fv 29  2000 /usr/lib/libc.so
Configure command: ./configure  --prefix=/usr/local/mysql
Perl: This is perl, version 5.005_03 built for i386-linux

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

2. Arabesque/MegaPaint

3. Mysqld crashes immediately

4. 68881 and 387 libraries

5. mysqld crashes immediately during mysql_install_db or alone : signal 4

6. can't get IFOLDER.EXE to work

7. mysqld immediately stops

8. Hmmm. confused

9. mysqld crashes immediately during mysql_install_db or alone

10. Mysqld crashes immediately

11. [mysqld dies immediately]

12. mysqld daemon ended

13. 'mysqld ended' Error