Hello,
I just installed Zabbix 1.6.1 on my CentOS 5.2 system using the awesome script/instructions found here:
http://blog.brendon.com/unix/install...-the-easy-way/.
I'm so happy that that script was on the wiki because I was running into problem after problem trying to do it by the instructions in the manual with 1.6.5...and I'm not ripping on Zabbix software or the manual...I'm just not a Linux guy, so the script made it so easy for me.
Anyway, everything seems like it got installed, and the Agent starts, but the Server does not want to start.
Here's the last few lines of my /var/log/zabbix-server/zabbix_server.log:
Maybe this is something simple, but again, I'm not a Linux guy, so at least a point in the right direction would be greatly appreciated. The only other post that I found on this forum that had a similar problem suggested that the person turn off SELinux if they had it enabled. I checked mine, and it looks like it's already disabled:
Thanks!
I just installed Zabbix 1.6.1 on my CentOS 5.2 system using the awesome script/instructions found here:
http://blog.brendon.com/unix/install...-the-easy-way/.
I'm so happy that that script was on the wiki because I was running into problem after problem trying to do it by the instructions in the manual with 1.6.5...and I'm not ripping on Zabbix software or the manual...I'm just not a Linux guy, so the script made it so easy for me.
Anyway, everything seems like it got installed, and the Agent starts, but the Server does not want to start.
Here's the last few lines of my /var/log/zabbix-server/zabbix_server.log:
Code:
4446:20090422:104535 Query failed:MySQL server has gone away [2006] 4448:20090422:104535 Failed to connect to database: Error: Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) [2002] 4464:20090422:104536 Failed to connect to database: Error: Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) [2002] 4429:20090422:104541 Failed to connect to database: Error: Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) [2002] 2128:20090422:104633 Starting zabbix_server. ZABBIX 1.6.1. 2128:20090422:104633 **** Enabled features **** 2128:20090422:104633 SNMP monitoring: YES 2128:20090422:104633 WEB monitoring: YES 2128:20090422:104633 Jabber notifications: NO 2128:20090422:104633 ODBC: NO 2128:20090422:104633 IPv6 support: YES 2128:20090422:104633 ************************** 2128:20090422:104633 Failed to connect to database: Error: Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) [2002] 2125:20090422:105835 Starting zabbix_server. ZABBIX 1.6.1. 2125:20090422:105835 **** Enabled features **** 2125:20090422:105835 SNMP monitoring: YES 2125:20090422:105835 WEB monitoring: YES 2125:20090422:105835 Jabber notifications: NO 2125:20090422:105835 ODBC: NO 2125:20090422:105835 IPv6 support: YES 2125:20090422:105835 ************************** 2125:20090422:105835 Failed to connect to database: Error: Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) [2002]
Code:
# grep SELINUX /etc/selinux/config # SELINUX= can take one of these three values: SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: SELINUXTYPE=targeted
). Hm. I'm running out of ideas, perhaps the GUI-Installer might be of help. Could you try to access your zabbix GUI and navigate to: Administration -> Installation and just click trough the wizard until point 3 (Check of pre-requisites). The GUI lists some stuff there, that needs to be set or installed. If everything is OK there, proceed to Check 4, which tries to establish database connection.... . Hopefully we'll see something helpful.



Comment