Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'General Discussion' started by Matnet, Jul 1, 2008.

  1. Matnet

    Matnet Registered

    Joined:
    Jan 18, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    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: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Sep 11 06:01:16 myserver pure-ftpd: (?@127.0.0.1) [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
     
  2. herb_c

    herb_c Registered
    PartnerNOC

    Joined:
    May 28, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice