Gentoo Forums
Gentoo Forums
Quick Search: in
mysql fails to start on bootup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Mon Feb 08, 2010 10:32 am    Post subject: mysql fails to start on bootup Reply with quote

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
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1170
Location: Out There ...

PostPosted: Mon Feb 08, 2010 12:30 pm    Post subject: Reply with quote

Maybe some entry in xinetd/inetd that starts it? :idea:

you should have logs, when it starts with timestamp etc. ?
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Thu Feb 11, 2010 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum