I'm having troubles in making the zabbix-server auto-start to work.
Looking at the log and researching, I could see that the problem is: the initialization fails because the Mysql didn't have started already;
I saw that in some cases, configuring the script os zabbix-server on /etc/init.d solved the problem. And I did the indicated:
But didn't work..
The problem happens after reboot or power off.
running the script manually works fine. (sudo /etc/init.d/zabbix-server);
Any ideas???
Thanks.
ps.: Zabbix 1.8.2 on Ubuntu server 10.10
Looking at the log and researching, I could see that the problem is: the initialization fails because the Mysql didn't have started already;
Code:
783:20110324:091203.388 Starting Zabbix Server. Zabbix 1.8.2 (revision 11211). 783:20110324:091203.392 **** Enabled features **** 783:20110324:091203.392 SNMP monitoring: YES 783:20110324:091203.392 IPMI monitoring: YES 783:20110324:091203.392 WEB monitoring: YES 783:20110324:091203.392 Jabber notifications: YES 783:20110324:091203.392 ODBC: NO 783:20110324:091203.392 SSH2 support: NO 783:20110324:091203.392 IPv6 support: YES 783:20110324:091203.392 ************************** 783:20110324:091203.392 [Z3001] Connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Code:
#! /bin/sh ### BEGIN INIT INFO # Provides: zabbix-server # Required-Start: $remote_fs $network # Required-Stop: $remote_fs [U][B]# Should-Start: mysql # Should-Stop: mysql[/B][/U] # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start zabbix-server daemon ### END INIT INFO
The problem happens after reboot or power off.
running the script manually works fine. (sudo /etc/init.d/zabbix-server);
Any ideas???
Thanks.
ps.: Zabbix 1.8.2 on Ubuntu server 10.10




. Now i don't have any pid-files. And yes, the bottom things are devices i want to monitor. Now my log file is like this:
Comment