lsb_log_message: MySQL manager or server PID file could not be found!

Matnet

Registered
Jan 18, 2005
3
0
151
Hi,

Every 10 minutes something curious happens:
- mysql goes down and is restarted
- after restart the file /tmp/mysql.sock is linked wrong : "../../var/lib/mysql/mysql.sock" instead of "../var/lib/mysql/mysql.sock"
- the root password inside ~/.my.cnf changes to some random string
- the log in "messages" shows:
Sep 11 06:01:16 myserver pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1
Sep 11 06:01:16 myserver pure-ftpd: ([email protected]) [INFO] Logout.
Sep 10 06:01:34 myserver lsb_log_message: MySQL PID file could not be found! failed
- mysql err file shows nothing but a normal shutdown/restart

Note the log message comming from pure-ftpd: it's always right before the error message which may suggest a connection between those two events or a process which commands both

Please give me some points to look for: what process can be the cause, where to look for more info

Thanks
 

herb_c

Registered
PartnerNOC
May 28, 2007
1
0
151
check the /etc/chkserv.d/mysql file if it has been updated like the rest.
then check /etc/init.d/functions to see where it looks at pids if different than where /etc/init.d/mysql puts it?
Herb C.