Ad Widget

Collapse

zabbix_server fails after adding host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dhughes
    Junior Member
    • Mar 2005
    • 8

    #1

    zabbix_server fails after adding host

    New installation of v1.1alpha6 on SuSE 9.2

    After installing if I bring up theadministration tool and add a host ( same machine the server and db are located on ) the server process dies.

    The bottom of the log file follows:

    003124:20050306:142356 In DBnum_rows
    003124:20050306:142356 No items to update.
    003124:20050306:142356 Executing query:update hosts set network_errors=3 where hostid=10008
    003124:20050306:142356 Spent 0 seconds while updating values
    003124:20050306:142356 Executing query:select count(*),min(nextcheck) from items i,hosts h where ((h.status=0 and h.available!=2) or (h.status=0 and h.available=2 and h.disable_until<1110137036)) and h.hostid=i.hostid and i.status=0 and i.type not in (2) and i.itemid%1=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]')
    003124:20050306:142356 In DBnum_rows
    003124:20050306:142356 Result of DBnum_rows [1]
    003124:20050306:142356 Nextcheck:-1 Time:1110137036
    003124:20050306:142356 Sleeping for 60 seconds
    003122:20050306:142426 Executing query:select distinct f.itemid,f.functionid,f.parameter from functions f, items i,hosts h where h.hostid=i.hostid and ((h.status=0 and h.available!=2) or (h.status=0 and h.available=2 and h.disable_until<1110137066)) and i.itemid=f.itemid and f.function='nodata' and i.lastclock+f.parameter<=1110137066 and i.status=0 and i.type=2 and (f.lastvalue<>1 or f.lastvalue is NULL)
    003122:20050306:142426 In DBnum_rows
    003121:20050306:142426 Executing query:select a.alertid,a.mediatypeid,a.sendto,a.subject,a.messa ge,a.status,a.retries,mt.mediatypeid,mt.type,mt.de scription,mt.smtp_server,mt.smtp_helo,mt.smtp_emai l,mt.exec_path from alerts a,media_type mt where a.status=0 and a.retries<3 and a.mediatypeid=mt.mediatypeid order by a.clock
    003121:20050306:142426 In DBnum_rows
    003122:20050306:142456 Executing query:select distinct f.itemid,f.functionid,f.parameter from functions f, items i,hosts h where h.hostid=i.hostid and ((h.status=0 and h.available!=2) or (h.status=0 and h.available=2 and h.disable_until<1110137096)) and i.itemid=f.itemid and f.function='nodata' and i.lastclock+f.parameter<=1110137096 and i.status=0 and i.type=2 and (f.lastvalue<>1 or f.lastvalue is NULL)
    003122:20050306:142456 In DBnum_rows
    003121:20050306:142456 Executing query:select a.alertid,a.mediatypeid,a.sendto,a.subject,a.messa ge,a.status,a.retries,mt.mediatypeid,mt.type,mt.de scription,mt.smtp_server,mt.smtp_helo,mt.smtp_emai l,mt.exec_path from alerts a,media_type mt where a.status=0 and a.retries<3 and a.mediatypeid=mt.mediatypeid order by a.clock
    003121:20050306:142456 In DBnum_rows
    003123:20050306:142456 In create_host_file()
    003123:20050306:142456 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<=1110137096)) and (i.key_='icmpping' or i.key_='icmppingsec') and i.type=3 and i.status=0 and h.useip=1
    003123:20050306:142456 In DBnum_rows
    003123:20050306:142456 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<=1110137096)) and (i.key_='icmpping' or i.key_='icmppingsec') and i.type=3 and i.status=0 and h.useip=0
    003123:20050306:142456 In DBnum_rows
    003123:20050306:142456 In do_ping()
    003124:20050306:142456 Executing query:select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.network_errors,i.snmp _port,i.delta,i.prevorgvalue,i.lastclock,i.units,i .multiplier,i.snmpv3_securityname,i.snmpv3_securit ylevel,i.snmpv3_authpassphrase,i.snmpv3_privpassph rase,i.formula,h.available from items i,hosts h where i.nextcheck<=1110137096 and i.status=0 and i.type not in (2) and ((h.status=0 and h.available!=2) or (h.status=0 and h.available=2 and h.disable_until<=1110137096)) and h.hostid=i.hostid and i.itemid%1=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by i.nextcheck
    003124:20050306:142456 In DBnum_rows
    003124:20050306:142456 Result of DBnum_rows [2]
    003119:20050306:142456 One child process died. Exiting ...
    003119:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003121:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003122:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003123:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003125:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003125:20050306:142456 Cannot remove PID file [/var/run/zabbix/server.pid] [No such file or directory]
    003127:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003127:20050306:142456 Cannot kill process. PID=[3121] [No such process]
    003127:20050306:142456 Cannot kill process. PID=[3122] [No such process]
    003127:20050306:142456 Cannot kill process. PID=[3123] [No such process]
    003127:20050306:142456 Cannot kill process. PID=[3124] [No such process]
    003127:20050306:142456 Cannot kill process. PID=[3125] [No such process]
    003127:20050306:142456 Cannot remove PID file [/var/run/zabbix/server.pid] [No such file or directory]
    003128:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003128:20050306:142456 Cannot kill process. PID=[3121] [No such process]
    003128:20050306:142456 Cannot kill process. PID=[3122] [No such process]
    003128:20050306:142456 Cannot kill process. PID=[3123] [No such process]
    003128:20050306:142456 Cannot kill process. PID=[3124] [No such process]
    003128:20050306:142456 Cannot kill process. PID=[3125] [No such process]
    003128:20050306:142456 Cannot remove PID file [/var/run/zabbix/server.pid] [No such file or directory]
    003129:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003129:20050306:142456 Cannot kill process. PID=[3121] [No such process]
    003129:20050306:142456 Cannot kill process. PID=[3122] [No such process]
    003129:20050306:142456 Cannot kill process. PID=[3123] [No such process]
    003129:20050306:142456 Cannot kill process. PID=[3124] [No such process]
    003129:20050306:142456 Cannot kill process. PID=[3125] [No such process]
    003129:20050306:142456 Cannot remove PID file [/var/run/zabbix/server.pid] [No such file or directory]
    003130:20050306:142456 Got QUIT or INT or TERM or PIPE signal. Exiting...
    003130:20050306:142456 Cannot kill process. PID=[3121] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3122] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3123] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3124] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3125] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3127] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3128] [No such process]
    003130:20050306:142456 Cannot kill process. PID=[3129] [No such process]
    003130:20050306:142456 Cannot remove PID file [/var/run/zabbix/server.pid] [No such file or directory]
  • dhughes
    Junior Member
    • Mar 2005
    • 8

    #2
    simple check

    I see from other posts that there is a problem with the 'simple' check. That is the one that I picked for testing because it sounded, well, simple. Will trying picking some other test.

    Comment

    • cooper
      Senior Member
      • Sep 2004
      • 110

      #3
      Originally posted by dhughes
      I see from other posts that there is a problem with the 'simple' check. That is the one that I picked for testing because it sounded, well, simple. Will trying picking some other test.
      Yeah, you got bit by that. It will be fixed in a7, which Alexei was hoping to get out yesterday, so we should see it soon.

      cooper

      Comment

      Working...