View previous topic :: View next topic |
Author |
Message |
blind_oracle n00b
Joined: 02 Feb 2007 Posts: 13 Location: Russia, Moscow
|
Posted: Tue Feb 06, 2007 7:19 pm Post subject: MySQL doesn't start up properly |
|
|
Gentoo AMD64-HARDENED-NOMULTILIB
I've emerged mysql, did `rc-update add mysql default`, and when the system is booting, init script says that mysql is not started.
Although it does start. But service manager thinks it didn't, so it does not stop it when shutting down\rebooting.
I can kill it manually and start again through `/etc/init.d/mysql start`without any problems.
It just dont want to start at boot
I've tried to re-emerge it, now i even re-emerging the whole `world` profile just in case something broke...
Any suggestions? |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Feb 06, 2007 7:34 pm Post subject: |
|
|
post the output of Code: | tail -n 15 /var/log/mysql/mysqld.err |
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
|
blind_oracle n00b
Joined: 02 Feb 2007 Posts: 13 Location: Russia, Moscow
|
Posted: Tue Feb 06, 2007 8:57 pm Post subject: |
|
|
There are no errors.
It's the problem of initscripts i think.
The mysql DO start.
I checked the /etc/init.d/mysql script, it waits for the socket (/var/run/mysqld/mysqld.sock) to appear for STARTUPTIMEOUT seconds.
Socket gets created, but somewhy it doesn't get recognized by initscript |
|
Back to top |
|
|
|