Ad Widget

Collapse

'Can't connect to local MySQL server through socket'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #1

    'Can't connect to local MySQL server through socket'

    Code:
    002053:20060609:084936 Starting zabbix_server. ZABBIX 1.1.
    002053:20060609:084936 Failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
    002635:20060609:085004 File [/var/run/zabbix/zabbix_server.pid] exists. Is this process already running ?
    This was standing in the zabbix log files. The Zabbix server has been down since then. When i tried to restart, the error
    File [/var/run/zabbix/zabbix_server.pid] exists. Is this process already running ?
    came up again.
    After removing the file manually, i was able to start zabbix again.

    - Why was the server down?
    - Why isn't the pid-File removed by zabbix?
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)
Working...