Ad Widget

Collapse

restarting zabbix_agentd with the

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tolland
    Junior Member
    • Apr 2008
    • 20

    #1

    restarting zabbix_agentd with the

    Hi,

    The init.d script with the zabbix 1.4.6 agent is not restarting cleanly;

    [root@ip-10-250-91-80:/var/log/zabbix] service zabbix_agentd restart
    Stopping zabbix_agentd: [ OK ]
    Starting zabbix_agentd: [ OK ]
    [root@ip-10-250-91-80:/var/log/zabbix] service zabbix_agentd restart
    Stopping zabbix_agentd: [ OK ]
    zabbix_agentd: already running [FAILED]
    [root@ip-10-250-91-80:/var/log/zabbix] service zabbix_agentd restart
    Stopping zabbix_agentd: [FAILED]
    Starting zabbix_agentd: [ OK ]
    [root@ip-10-250-91-80:/var/log/zabbix] service zabbix_agentd restart
    Stopping zabbix_agentd: [ OK ]
    zabbix_agentd: already running [FAILED]
    [root@ip-10-250-91-80:/var/log/zabbix] service zabbix_agentd restart
    Stopping zabbix_agentd: [FAILED]
    Starting zabbix_agentd: [ OK ]
    [root@ip-10-250-91-80:/var/log/zabbix] service zabbix_agentd restart
    Stopping zabbix_agentd: [ OK ]
    zabbix_agentd: already running [FAILED]
    [root@ip-10-250-91-80:/var/log/zabbix]

    Any idea what is causing that?

    Thanks,

    Toll
  • xs-
    Senior Member
    Zabbix Certified Specialist
    • Dec 2007
    • 393

    #2
    Put in a sleep 3 in the script between the start() and stop()

    Comment

    • teferi
      Member
      • Jul 2008
      • 93

      #3
      On FreeBSD I sometimes suffer from undeleted semaphores and have to delete them manually. What's in zabbix_aggent.log about this?

      Comment

      Working...