| View previous topic :: View next topic |
| Author |
Message |
Xamindar Veteran


Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon Feb 08, 2010 10:32 am Post subject: mysql fails to start on bootup |
|
|
I have a strange issue with one of my gentoo boxes. When it starts up mysql will fail to start. Then if I log in and try to start it this is what I get:
| Code: | /etc/init.d/mysql start
* Starting ...
* "/var/run/mysqld/mysqld.pid" is still present and the process is running.
* Please stop it "kill 2629" maybe ?
* ERROR: mysql failed to start
|
But that pid file it mentions is never there. Then if I wait a few minutes it will then start properly when I run that command. Any ideas?
EDIT: nevermind, it is running. But if I try "/etc/init.d/mysql start" I get that error and that somehow kills mysql, then the second time I launch that command it restarts it again. Why is it doing this? Somehow it looks like mysql IS started but not by the init script? |
|
| Back to top |
|
 |
disi Veteran


Joined: 28 Nov 2003 Posts: 1170 Location: Out There ...
|
Posted: Mon Feb 08, 2010 12:30 pm Post subject: |
|
|
Maybe some entry in xinetd/inetd that starts it?
you should have logs, when it starts with timestamp etc. ? _________________ Gentoo on Uptime Project - Larry is a cow |
|
| Back to top |
|
 |
Xamindar Veteran


Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Thu Feb 11, 2010 2:13 am Post subject: |
|
|
I don't see anything for mysql in there:
| Code: | xinetd.d # ls
chargen-dgram cvspserver daytime-stream discard-stream echo-stream rsyncd swat time-dgram
chargen-stream daytime-dgram discard-dgram echo-dgram ftp-sensor svnserve tcpmux-server time-stream
|
I just recently installed apache2. When I launch apache2 it kills mysql now. Have not tried a fresh boot to see what it does but it's very strange. |
|
| Back to top |
|
 |
|