I have a RHEL 5.9 server that I installed Zabbix Agent on using the RPM repository (current package is zabbix-agent-2.2.4-1.el5.x86_64). For various reasons, this server reboots nightly. For some reason, the Zabbix Agent does not start at boot time. If I start it from the command line, it starts up with no issues.
I'm familiar with Linux, but not quite as familiar as I'd like to be. I can't think of anywhere else to look. This is a production server for our ERP system. While it does reboot nightly, I can't just reboot at will in order to troubleshoot this.
Code:
#chkconfig --list zabbix-agent zabbix-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off #tail /var/log/zabbix/zabbix_agentd.log 899:20140707:153041.448 agent #0 started [collector] 900:20140707:153041.448 agent #1 started[listener #1] 901:20140707:153041.448 agent #2 started[listener #2] 902:20140707:153041.449 agent #3 started[listener #3] 899:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 897:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 900:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 902:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 901:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 897:20140708:022207.539 Zabbix Agent stopped. Zabbix 2.2.4 (revision 46772). #grep zabbix /var/log/messages #grep zabbix /var/log/dmesg #service zabbix-agent start Starting Zabbix agent: [ OK ] #tail /var/log/zabbix/zabbix_agentd.log 900:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 902:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 901:20140708:022207.083 Got signal [signal:15(SIGTERM),sender_pid:587,sender_uid:0,reason:0]. Exiting ... 897:20140708:022207.539 Zabbix Agent stopped. Zabbix 2.2.4 (revision 46772). 11974:20140708:101002.264 Starting Zabbix Agent [qad.hilite-ind.net]. Zabbix 2.2.4 (revision 46772). 11974:20140708:101002.264 using configuration file: /etc/zabbix/zabbix_agentd.conf 11975:20140708:101002.265 agent #0 started [collector] 11976:20140708:101002.266 agent #1 started[listener #1] 11977:20140708:101002.266 agent #2 started[listener #2] 11978:20140708:101002.267 agent #3 started[listener #3]
Comment