Ad Widget

Collapse

zabbix server shutting down after start.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • relikwie
    Junior Member
    • Mar 2007
    • 20

    #1

    zabbix server shutting down after start.

    All of a sudden the zabbix_server process shuts down right after I start it. This is what I find in the log.

    003544:20070328:065208 Starting zabbix_server. ZABBIX 1.1.6.
    003544:20070328:065208 Executing query:select refresh_unsupported from config
    003544:20070328:065208 In DBupdate_triggers_after_restart()
    <SNIP> SQL QUERY TEXT?
    003553:20070328:065211 In child_main()
    003553:20070328:065211 server #6 started [Trapper]
    003553:20070328:065211 Before DBconnect()
    003549:20070328:065211 server #3 started [ICMP pinger]
    003549:20070328:065211 In create_host_file()
    003549:20070328:065211 Executing query:select distinct h.ip from hosts h,items i where i.hostid=h.hostid and (h.status=0 or (h
    .status=0 and h.available=2 and h.disable_until<=1175057531)) and (i.key_='icmpping' or i.key_='icmppingsec') and i.type=3 and
    i.status=0 and h.useip=1
    003549:20070328:065211 Executing query:select distinct h.host from hosts h,items i where i.hostid=h.hostid and (h.status=0 or
    (h.status=0 and h.available=2 and h.disable_until<=1175057531)) and (i.key_='icmpping' or i.key_='icmppingsec') and i.type=3 a
    nd i.status=0 and h.useip=0
    003549:20070328:065211 In do_ping()
    003553:20070328:065211 After DBconnect()
    003553:20070328:065211 Before accept()
    003555:20070328:065211 In child_main()
    003555:20070328:065211 server #7 started [Trapper]
    003555:20070328:065211 Before DBconnect()
    003555:20070328:065211 After DBconnect()
    003555:20070328:065211 Before accept()
    003556:20070328:065211 In child_main()
    003556:20070328:065211 server #8 started [Trapper]
    003556:20070328:065211 Before DBconnect()
    003556:20070328:065211 After DBconnect()
    003556:20070328:065211 Before accept()
    003563:20070328:065211 In child_main()
    003563:20070328:065211 server #9 started [Trapper]
    003563:20070328:065211 Before DBconnect()
    003563:20070328:065211 After DBconnect()
    003563:20070328:065211 Before accept()
    003544:20070328:065211 server #0 started [Housekeeper]
    003544:20070328:065211 0. PID=[3546]
    003544:20070328:065211 1. PID=[3548]
    003544:20070328:065211 2. PID=[3549]
    003544:20070328:065211 3. PID=[3551]
    003544:20070328:065211 4. PID=[3552]
    003544:20070328:065211 5. PID=[3553]
    003544:20070328:065211 6. PID=[3555]
    003544:20070328:065211 7. PID=[3556]
    003544:20070328:065211 8. PID=[3563]
    003544:20070328:065211 9. PID=[3565]
    003551:20070328:065211 server #4 started [Poller for unreachable hosts. SNMP:ON]
    003551:20070328:065211 Executing query:select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_co
    mmunity,i.snmp_oid,h.useip,h.ip,i.history,i.lastva lue,i.prevvalue,i.hostid,h.status,i.value_type,h.e rrors_from,i.snmp_port,i.d
    elta,i.prevorgvalue,i.lastclock,i.units,i.multipli er,i.snmpv3_securityname,i.snmpv3_securitylevel,i. snmpv3_authpassphrase,i.sn
    mpv3_privpassphrase,i.formula,h.available,i.status ,i.trapper_hosts,i.logtimefmt,i.valuemapid from hosts h, items i where i.nex
    tcheck<=1175057531 and i.status in (0) and i.type not in (2,7) and h.status=0 and h.disable_until<=1175057531 and h.errors_fro
    m!=0 and h.hostid=i.hostid and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by i.nextcheck
    003551:20070328:065211 GOT VALUE TYPE [0x0]
    003551:20070328:065211 get_value_agent: host[**] ip[] key [vfs.file.size[c:\msdos.sys]]
    003552:20070328:065211 server #5 started [Poller. SNMP:ON]
    003552:20070328:065211 Executing query:select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_co
    mmunity,i.snmp_oid,h.useip,h.ip,i.history,i.lastva lue,i.prevvalue,i.hostid,h.status,i.value_type,h.e rrors_from,i.snmp_port,i.d
    elta,i.prevorgvalue,i.lastclock,i.units,i.multipli er,i.snmpv3_securityname,i.snmpv3_securitylevel,i. snmpv3_authpassphrase,i.sn
    mpv3_privpassphrase,i.formula,h.available,i.status ,i.trapper_hosts,i.logtimefmt,i.valuemapid from hosts h, items i where i.nex
    tcheck<=1175057531 and i.status in (0,3) and i.type not in (2,7) and h.status=0 and h.disable_until<=1175057531 and h.errors_f
    rom=0 and h.hostid=i.hostid and mod(i.itemid,1)=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by
    i.nextcheck
    003552:20070328:065211 GOT VALUE TYPE [0x0]
    003552:20070328:065211 get_value_agent: host[**] ip[**] key [agent.version]
    003552:20070328:065211 Sending [agent.version
    ]
    003552:20070328:065211 RESULT_STR [Ü]
    003552:20070328:065211 In process_new_value()
    003552:20070328:065211 In add_history(agent.version,,2,4)
    003552:20070328:065211 In add_history(17752,STRING:1.1.6)
    003552:20070328:065211 In add_history_log()
    003565:20070328:065211 In child_main()
    003565:20070328:065211 server #10 started [Trapper]
    003565:20070328:065211 Before DBconnect()
    003565:20070328:065211 After DBconnect()
    003565:20070328:065211 Before accept()
    003544:20070328:065211 One server process died. Shutting down...
    003546:20070328:065211 Server [1]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065211 0. Killing PID=[3546]
    003548:20070328:065211 Server [2]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065211 1. Killing PID=[3548]
    003549:20070328:065211 Server [3]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065211 2. Killing PID=[3549]
    003544:20070328:065211 3. Killing PID=[3551]
    003544:20070328:065212 4. Killing PID=[3552]
    003553:20070328:065212 Server [6]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065212 5. Killing PID=[3553]
    003555:20070328:065212 Server [7]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065212 6. Killing PID=[3555]
    003556:20070328:065212 Server [8]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065212 7. Killing PID=[3556]
    003563:20070328:065212 Server [9]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065212 8. Killing PID=[3563]
    003551:20070328:065212 Server [4]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003565:20070328:065212 Server [10]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    003544:20070328:065212 9. Killing PID=[3565]
    003544:20070328:065212 ZABBIX server is down.
    I have really no clue at what's wrong. It worked perfectly for a week until I noticed that data wan't updated on the gui.

    Thanks.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I see nothing suspicious in the log.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • relikwie
      Junior Member
      • Mar 2007
      • 20

      #3
      Well, I thought lets shutdown the agent on the zabbix server and then the problem dissapeared. So as long as the agent is running on the server, the zabbix-server process dies right after its started.

      Somthing else. If I start the zabbix_agentd after zabbix_server it's ok. But am afraid server will die any moment in future (as it did first time). Other way around no go.

      Comment

      Working...