from my zabbix_agentd.log file:
22813:20090409:012849 Requested [vfs.dev.read[sda1,sectors]]
22813:20090409:012849 Sending back [1865]
22813:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 Got signal. Exiting ...
22814:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 zbx_on_exit() called.
22810:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 One child process died. Exiting ...
22812:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 zbx_on_exit() called.
22808:20090409:012849 Cannot remove PID file [/var/run/zabbix/zabbix_agentd.pid] [No such file or directory]
22811:20090409:012849 Got signal. Exiting ...
22808:20090409:012851 ZABBIX Agent stopped. ZABBIX 1.6.4.
zabbix_agentd [17966]: DEBUG: ZABBIX semaphores already exist, trying to recreate.
zabbix_agentd [17966]: Semaphore [0] error in semctl(SETVAL)
zabbix_agentd [17966]: Unable to create mutex for log file
that was the result of a simple /etc/rc.d/init.d/zabbix-agent restart which in the logs claimed that startup was successful, but the new agent logged that and apparently died.
do i need to do something like:
/etc/rc.d/init.d/zabbix-agent stop
sleep 2
/etc/rc.d/init.d/zabbix-agent start
instead of just calling restart, so that the semaphores get cleaned up before attempting a start?
22813:20090409:012849 Requested [vfs.dev.read[sda1,sectors]]
22813:20090409:012849 Sending back [1865]
22813:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 Got signal. Exiting ...
22814:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 zbx_on_exit() called.
22810:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 One child process died. Exiting ...
22812:20090409:012849 Got signal. Exiting ...
22808:20090409:012849 zbx_on_exit() called.
22808:20090409:012849 Cannot remove PID file [/var/run/zabbix/zabbix_agentd.pid] [No such file or directory]
22811:20090409:012849 Got signal. Exiting ...
22808:20090409:012851 ZABBIX Agent stopped. ZABBIX 1.6.4.
zabbix_agentd [17966]: DEBUG: ZABBIX semaphores already exist, trying to recreate.
zabbix_agentd [17966]: Semaphore [0] error in semctl(SETVAL)
zabbix_agentd [17966]: Unable to create mutex for log file
that was the result of a simple /etc/rc.d/init.d/zabbix-agent restart which in the logs claimed that startup was successful, but the new agent logged that and apparently died.
do i need to do something like:
/etc/rc.d/init.d/zabbix-agent stop
sleep 2
/etc/rc.d/init.d/zabbix-agent start
instead of just calling restart, so that the semaphores get cleaned up before attempting a start?
Comment