Ad Widget

Collapse

zabbix_server is not running.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Avk-1984
    Junior Member
    • Sep 2016
    • 7

    #1

    zabbix_server is not running.

    Добрый день!
    Подскажите пж где найти причину! Cервер zabbix не запускается. Или запускается и тут же останавливается. Вот из лога,то что увидел мало понятно причина! Может еще где глянуть, где будет хотя бы описываться в чем причина?
    zabbix_server.log

    1081:20160921:091843.087 Starting Zabbix Server. Zabbix 3.0.4 (revision 61185).
    1081:20160921:091843.087 ****** Enabled features ******
    1081:20160921:091843.087 SNMP monitoring: YES
    1081:20160921:091843.087 IPMI monitoring: NO
    1081:20160921:091843.087 Web monitoring: YES
    1081:20160921:091843.087 VMware monitoring: NO
    1081:20160921:091843.087 SMTP authentication: YES
    1081:20160921:091843.087 Jabber notifications: NO
    1081:20160921:091843.087 Ez Texting notifications: YES
    1081:20160921:091843.088 ODBC: YES
    1081:20160921:091843.088 SSH2 support: NO
    1081:20160921:091843.088 IPv6 support: YES
    1081:20160921:091843.088 TLS support: YES
    1081:20160921:091843.088 ******************************
    1081:20160921:091843.088 using configuration file: /usr/local/etc/zabbix3/zabbix_server.conf
    1081:20160921:091843.098 current database version (mandatory/optional): 03000000/03000000
    1081:20160921:091843.098 required mandatory version: 03000000
    1081:20160921:091843.109 server #0 started [main process]
    1082:20160921:091843.110 server #1 started [configuration syncer #1]
    1083:20160921:091843.111 server #2 started [db watchdog #1]
    1081:20160921:091843.111 One child process died (PID:1084,exitcode/signal:4). Exiting ...
    1081:20160921:091845.159 syncing history data...
    1081:20160921:091845.159 syncing history data done
    1081:20160921:091845.159 syncing trends data...
    1081:20160921:091845.159 syncing trends data done
    1081:20160921:091845.160 Zabbix Server stopped. Zabbix 3.0.4 (revision 61185).

    zabbix server 3.0.4
    FreeBSD zabbix.buxgipc 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789:
  • sadman
    Senior Member
    • Dec 2010
    • 1611

    #2
    Выставьте Loglevel=4, на этом уровне мне лично тоже ничего не понятно.

    Comment

    • Avk-1984
      Junior Member
      • Sep 2016
      • 7

      #3
      Code:
         1313:20160921:111646.434 Starting Zabbix Server. Zabbix 3.0.4 (revision 61185).
        1313:20160921:111646.435 ****** Enabled features ******
        1313:20160921:111646.435 SNMP monitoring:           YES
        1313:20160921:111646.435 IPMI monitoring:            NO
        1313:20160921:111646.435 Web monitoring:            YES
        1313:20160921:111646.435 VMware monitoring:          NO
        1313:20160921:111646.435 SMTP authentication:       YES
        1313:20160921:111646.435 Jabber notifications:       NO
        1313:20160921:111646.435 Ez Texting notifications:  YES
        1313:20160921:111646.435 ODBC:                      YES
        1313:20160921:111646.435 SSH2 support:               NO
        1313:20160921:111646.435 IPv6 support:              YES
        1313:20160921:111646.435 TLS support:               YES
        1313:20160921:111646.435 ******************************
        1313:20160921:111646.435 using configuration file: /usr/local/etc/zabbix3/zabbix_server.conf
        1313:20160921:111646.435 In load_modules()
        1313:20160921:111646.435 End of load_modules():SUCCEED
        1313:20160921:111646.435 In init_database_cache()
        1313:20160921:111646.436 In zbx_mem_create() descr:'history cache' param:'HistoryCacheSize' size:16777216
        1313:20160921:111646.436 valid user addresses: [0x298000e0, 0x2a7ffff0] total size: 16776976
        1313:20160921:111646.436 End of zbx_mem_create()
        1313:20160921:111646.436 In zbx_mem_create() descr:'history index cache' param:'HistoryIndexCacheSize' size:4194304
        1313:20160921:111646.436 valid user addresses: [0x2a8000f0, 0x2abffff0] total size: 4194048
        1313:20160921:111646.436 End of zbx_mem_create()
        1313:20160921:111646.436 In init_trend_cache()
        1313:20160921:111646.436 In zbx_mem_required_size() size:0 chunks_num:1 descr:'trend cache' param:'TrendCacheSize'
        1313:20160921:111646.436 End of zbx_mem_required_size() size:274
        1313:20160921:111646.436 In zbx_mem_create() descr:'trend cache' param:'TrendCacheSize' size:4194304
        1313:20160921:111646.436 valid user addresses: [0x2ac000e0, 0x2afffff0] total size: 4194064
        1313:20160921:111646.436 End of zbx_mem_create()
        1313:20160921:111646.436 End of init_trend_cache()
        1313:20160921:111646.436 End of init_database_cache()
        1313:20160921:111646.436 In init_configuration_cache() size:8388608
        1313:20160921:111646.436 In zbx_mem_create() descr:'configuration cache' param:'CacheSize' size:7130317
        1313:20160921:111646.436 valid user addresses: [0x2b0000e0, 0x2b6cccc0] total size: 7130080
        1313:20160921:111646.436 End of zbx_mem_create()
        1313:20160921:111646.436 In zbx_strpool_create()
        1313:20160921:111646.436 In zbx_mem_create() descr:'string pool' param:'CacheSize' size:1258291
        1313:20160921:111646.436 valid user addresses: [0x28d410d8, 0x28e74328] total size: 1258064
        1313:20160921:111646.436 End of zbx_mem_create()
        1313:20160921:111646.436 End of zbx_strpool_create()
        1313:20160921:111646.436 End of init_configuration_cache()
        1313:20160921:111646.436 In init_selfmon_collector()
        1313:20160921:111646.437 init_selfmon_collector() size:6660
        1313:20160921:111646.437 End of init_selfmon_collector() collector:0x288d9000
        1313:20160921:111646.437 In zbx_vc_init()
        1313:20160921:111646.437 In zbx_mem_required_size() size:0 chunks_num:1 descr:'value cache size' param:'ValueCacheSize'
        1313:20160921:111646.437 End of zbx_mem_required_size() size:279
        1313:20160921:111646.437 In zbx_mem_create() descr:'value cache size' param:'ValueCacheSize' size:8388608
        1313:20160921:111646.437 valid user addresses: [0x2b6cd0e0, 0x2beccff0] total size: 8388368
        1313:20160921:111646.437 End of zbx_mem_create()
        1313:20160921:111646.437 End of zbx_vc_init()
        1313:20160921:111646.437 In zbx_db_get_database_type()
        1313:20160921:111646.437 In DBconnect() flag:0
        1313:20160921:111646.442 End of DBconnect():0
        1313:20160921:111646.442 query [txnlev:0] [select userid from users limit 1]
        1313:20160921:111646.442 there is at least 1 record in "users" table
        1313:20160921:111646.442 End of zbx_db_get_database_type():ZBX_DB_SERVER
        1313:20160921:111646.442 In DBcheck_version()
        1313:20160921:111646.442 In DBconnect() flag:0
        1313:20160921:111646.443 End of DBconnect():0
        1313:20160921:111646.443 query [txnlev:0] [show tables like 'dbversion']
        1313:20160921:111646.443 query [txnlev:0] [select mandatory,optional from dbversion]
        1313:20160921:111646.444 current database version (mandatory/optional): 03000000/03000000
        1313:20160921:111646.444 required mandatory version: 03000000
        1313:20160921:111646.444 End of DBcheck_version():SUCCEED
        1313:20160921:111646.444 In DBconnect() flag:0
        1313:20160921:111646.444 End of DBconnect():0
        1313:20160921:111646.444 In DCload_config()
        1313:20160921:111646.444 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2,severity_name_3,severity_name_4,severity_name_5,hk_e
      vents_mode,hk_events_trigger,hk_events_internal,hk_events_discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions,hk_history_mode,hk_history_global,hk_his
      tory,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]
        1313:20160921:111646.445 In DCsync_config()
        1313:20160921:111646.445 End of DCsync_config()
        1313:20160921:111646.445 End of DCload_config()
        1313:20160921:111646.445 In DCsync_configuration()
        1313:20160921:111646.445 In DCsync_configuration()
        1313:20160921:111646.445 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2,severity_name_3,severity_name_4,severity_name_5,hk_e
      vents_mode,hk_events_trigger,hk_events_internal,hk_events_discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions,hk_history_mode,hk_history_global,hk_his
      tory,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]
        1313:20160921:111646.445 query [txnlev:0] [select hostid,proxy_hostid,host,ipmi_authtype,ipmi_privilege,ipmi_username,ipmi_password,maintenance_status,maintenance_type,maintenance_from,errors_from,availabl
      e,disable_until,snmp_errors_from,snmp_available,snmp_disable_until,ipmi_errors_from,ipmi_available,ipmi_disable_until,jmx_errors_from,jmx_available,jmx_disable_until,status,name,lastaccess,error,snmp_error,i
      pmi_error,jmx_error,tls_connect,tls_accept,tls_issuer,tls_subject,tls_psk_identity,tls_psk from hosts where status in (0,1,5,6) and flags<>2]
        1313:20160921:111646.446 query [txnlev:0] [select hostid,inventory_mode from host_inventory]
        1313:20160921:111646.446 query [txnlev:0] [select hostid,templateid from hosts_templates order by hostid,templateid]
        1313:20160921:111646.446 query [txnlev:0] [select globalmacroid,macro,value from globalmacro]
        1313:20160921:111646.447 query [txnlev:0] [select hostmacroid,hostid,macro,value from hostmacro]
        1313:20160921:111646.447 query [txnlev:0] [select interfaceid,hostid,type,main,useip,ip,dns,port,bulk from interface]
        1313:20160921:111646.447 query [txnlev:0] [select i.itemid,i.hostid,i.status,i.type,i.data_type,i.value_type,i.key_,i.snmp_community,i.snmp_oid,i.port,i.snmpv3_securityname,i.snmpv3_securitylevel,i.snmpv3_
      authpassphrase,i.snmpv3_privpassphrase,i.ipmi_sensor,i.delay,i.delay_flex,i.trapper_hosts,i.logtimefmt,i.params,i.state,i.authtype,i.username,i.password,i.publickey,i.privatekey,i.flags,i.interfaceid,i.snmpv
      3_authprotocol,i.snmpv3_privprotocol,i.snmpv3_contextname,i.lastlogsize,i.mtime,i.delta,i.multiplier,i.formula,i.history,i.trends,i.inventory_link,i.valuemapid,i.units,i.error from items i,hosts h where i.ho
      stid=h.hostid and h.status in (0,1) and i.flags<>2]
        1313:20160921:111646.449 query [txnlev:0] [select distinct t.triggerid,t.description,t.expression,t.error,t.priority,t.type,t.value,t.state,t.lastchange,t.status from hosts h,items i,functions f,triggers t
       where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and h.status in (0,1) and t.flags<>2]
        1313:20160921:111646.451 query [txnlev:0] [select d.triggerid_down,d.triggerid_up from trigger_depends d order by d.triggerid_down]
        1313:20160921:111646.451 query [txnlev:0] [select i.itemid,f.functionid,f.function,f.parameter,t.triggerid from hosts h,items i,functions f,triggers t where h.hostid=i.hostid and i.itemid=f.itemid and f.tr
      iggerid=t.triggerid and h.status in (0,1) and t.flags<>2]
        1313:20160921:111646.452 query [txnlev:0] [select r.name,e.expressionid,e.expression,e.expression_type,e.exp_delimiter,e.case_sensitive from regexps r,expressions e where r.regexpid=e.regexpid]
        1313:20160921:111646.453 query [txnlev:0] [select actionid,eventsource,evaltype,formula from actions where status=0]
        1313:20160921:111646.453 query [txnlev:0] [select c.conditionid,c.actionid,c.conditiontype,c.operator,c.value from conditions c,actions a where c.actionid=a.actionid and a.status=0]
        1313:20160921:111646.453 In DCsync_config()
        1313:20160921:111646.453 End of DCsync_config()
        1313:20160921:111646.453 In DCsync_hosts()
        1313:20160921:111646.453 End of DCsync_hosts()
        1313:20160921:111646.453 In DCsync_host_inventory()
        1313:20160921:111646.453 End of DCsync_host_inventory()
        1313:20160921:111646.454 In DCsync_htmpls()
        1313:20160921:111646.454 End of DCsync_htmpls()
        1313:20160921:111646.454 In DCsync_gmacros()
        1313:20160921:111646.454 End of DCsync_gmacros()
        1313:20160921:111646.454 In DCsync_hmacros()
        1313:20160921:111646.454 End of DCsync_hmacros()
        1313:20160921:111646.454 In DCsync_interfaces()
        1313:20160921:111646.454 End of DCsync_interfaces()
        1313:20160921:111646.454 In DCsync_items()
        1313:20160921:111646.454 End of DCsync_items()
        1313:20160921:111646.454 In DCsync_triggers()
        1313:20160921:111646.454 End of DCsync_triggers()
        1313:20160921:111646.454 In DCsync_trigdeps()
        1313:20160921:111646.454 End of DCsync_trigdeps()
        1313:20160921:111646.454 In DCsync_functions()
        1313:20160921:111646.454 End of DCsync_functions()
        1313:20160921:111646.454 In DCsync_expressions()
        1313:20160921:111646.455 End of DCsync_expressions()
        1313:20160921:111646.455 In DCsync_actions()
        1313:20160921:111646.455 End of DCsync_actions()
        1313:20160921:111646.455 In DCsync_action_conditions()
        1313:20160921:111646.455 End of DCsync_action_conditions()
        1313:20160921:111646.455 DCsync_configuration() config     : sql:0.000311 sync:0.000088 sec.
        1313:20160921:111646.455 DCsync_configuration() hosts      : sql:0.000644 sync:0.000073 sec.
        1313:20160921:111646.455 DCsync_configuration() host_invent: sql:0.000259 sync:0.000050 sec.
        1313:20160921:111646.455 DCsync_configuration() templates  : sql:0.000293 sync:0.000067 sec.
        1313:20160921:111646.455 DCsync_configuration() globmacros : sql:0.000249 sync:0.000055 sec.
        1313:20160921:111646.455 DCsync_configuration() hostmacros : sql:0.000244 sync:0.000049 sec.
        1313:20160921:111646.455 DCsync_configuration() interfaces : sql:0.000269 sync:0.000052 sec.
        1313:20160921:111646.455 DCsync_configuration() items      : sql:0.001598 sync:0.000316 sec.
        1313:20160921:111646.455 DCsync_configuration() triggers   : sql:0.002221 sync:0.000154 sec.
        1313:20160921:111646.455 DCsync_configuration() trigdeps   : sql:0.000322 sync:0.000105 sec.
        1313:20160921:111646.455 DCsync_configuration() functions  : sql:0.000980 sync:0.000142 sec.
        1313:20160921:111646.455 DCsync_configuration() expressions: sql:0.000397 sync:0.000069 sec.
        1313:20160921:111646.455 DCsync_configuration() actions    : sql:0.000286 sync:0.000049 sec.
        1313:20160921:111646.455 DCsync_configuration() conditions : sql:0.000313 sync:0.000048 sec.
        1313:20160921:111646.455 DCsync_configuration() total sql  : 0.008388 sec.
        1313:20160921:111646.455 DCsync_configuration() total sync : 0.001318 sec.
        1313:20160921:111646.455 DCsync_configuration() proxies    : 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() hosts      : 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() hosts_h    : 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() hosts_p    : 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() psks       : 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() ipmihosts  : 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() host_invent: 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() htmpls     : 14 (29 slots)
        1313:20160921:111646.455 DCsync_configuration() gmacros    : 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() gmacros_m  : 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() hmacros    : 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() hmacros_hm : 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() interfaces : 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() interfac_ht: 1 (11 slots)
        1313:20160921:111646.455 DCsync_configuration() if_snmpitms: 0 (0 slots)
        1313:20160921:111646.455 DCsync_configuration() if_snmpaddr: 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() items      : 65 (101 slots)
        1313:20160921:111646.456 DCsync_configuration() items_hk   : 65 (101 slots)
        1313:20160921:111646.456 DCsync_configuration() numitems   : 59 (101 slots)
        1313:20160921:111646.456 DCsync_configuration() snmpitems  : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() ipmiitems  : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() flexitems  : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() trapitems  : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() logitems   : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() dbitems    : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() sshitems   : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() telnetitems: 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() simpleitems: 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() jmxitems   : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() calcitems  : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() deltaitems : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() functions  : 42 (101 slots)
        1313:20160921:111646.456 DCsync_configuration() triggers   : 42 (101 slots)
        1313:20160921:111646.456 DCsync_configuration() trigdeps   : 35 (67 slots)
        1313:20160921:111646.456 DCsync_configuration() t_trigs[0] : 1 (32 allocated)
        1313:20160921:111646.456 DCsync_configuration() expressions: 4 (11 slots)
        1313:20160921:111646.456 DCsync_configuration() actions    : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() conditions : 0 (0 slots)
        1313:20160921:111646.456 DCsync_configuration() queue[0]   : 0 (0 allocated)
        1313:20160921:111646.456 DCsync_configuration() queue[1]   : 0 (0 allocated)
        1313:20160921:111646.456 DCsync_configuration() queue[2]   : 0 (0 allocated)
        1313:20160921:111646.456 DCsync_configuration() queue[3]   : 0 (0 allocated)
        1313:20160921:111646.456 DCsync_configuration() queue[4]   : 0 (0 allocated)
        1313:20160921:111646.456 DCsync_configuration() pqueue     : 0 (0 allocated)
        1313:20160921:111646.457 DCsync_configuration() configfree : 99.032904%
        1313:20160921:111646.457 DCsync_configuration() strings    : 186 (347 slots)
        1313:20160921:111646.457 DCsync_configuration() strpoolfree: 98.934189%
        1313:20160921:111646.457 === memory statistics for configuration cache ===
        1313:20160921:111646.457 free chunks of size >= 256 bytes:        1
        1313:20160921:111646.457 min chunk size:    7061360 bytes
        1313:20160921:111646.457 max chunk size:    7061360 bytes
        1313:20160921:111646.457 memory of total size 7130080 bytes fragmented into 0 chunks
        1313:20160921:111646.457 of those,    7061360 bytes are in        0 free chunks
        1313:20160921:111646.457 of those,      61424 bytes are in        0 used chunks
        1313:20160921:111646.457 ================================
        1313:20160921:111646.457 === memory statistics for string pool ===
        1313:20160921:111646.457 free chunks of size >= 256 bytes:        2
        1313:20160921:111646.457 min chunk size:        456 bytes
        1313:20160921:111646.457 max chunk size:    1244424 bytes
        1313:20160921:111646.457 memory of total size 1258064 bytes fragmented into 0 chunks
        1313:20160921:111646.457 of those,    1244880 bytes are in        0 free chunks
        1313:20160921:111646.457 of those,      10160 bytes are in        0 used chunks
        1313:20160921:111646.457 ================================
        1313:20160921:111646.457 End of DCsync_configuration()
        1313:20160921:111646.457 server #0 started [main process]
        1314:20160921:111646.458 server #1 started [configuration syncer #1]
        1314:20160921:111646.458 __zbx_zbx_setproctitle() title:'configuration syncer [waiting 60 sec for processes]'
        1315:20160921:111646.459 server #2 started [db watchdog #1]
        1315:20160921:111646.459 __zbx_zbx_setproctitle() title:'db watchdog [pinging database]'
        1315:20160921:111646.459 In DBconnect() flag:2
        1313:20160921:111646.460 One child process died (PID:1316,exitcode/signal:4). Exiting ...
        1313:20160921:111646.460 zbx_on_exit() called
        1314:20160921:111646.460 Got signal [signal:15(SIGTERM),sender_pid:1313,sender_uid:1001,reason:65537]. Exiting ...
        1315:20160921:111646.460 Got signal [signal:15(SIGTERM),sender_pid:1313,sender_uid:1001,reason:65537]. Exiting ...
        1313:20160921:111648.590 In DBconnect() flag:1
        1313:20160921:111648.591 End of DBconnect():0
        1313:20160921:111648.591 In free_database_cache()
        1313:20160921:111648.591 In DCsync_all()
        1313:20160921:111648.591 In DCsync_history() history_num:0
        1313:20160921:111648.592 syncing history data...
        1313:20160921:111648.592 syncing history data done
        1313:20160921:111648.592 In DCsync_trends() trends_num:0
        1313:20160921:111648.592 syncing trends data...
        1313:20160921:111648.592 query [txnlev:1] [begin;]
        1313:20160921:111648.592 query [txnlev:1] [commit;]
        1313:20160921:111648.592 syncing trends data done
        1313:20160921:111648.592 End of DCsync_trends()
        1313:20160921:111648.592 End of DCsync_all()
        1313:20160921:111648.592 In zbx_mem_destroy() descr:'history cache'
        1313:20160921:111648.592 End of zbx_mem_destroy()
        1313:20160921:111648.592 In zbx_mem_destroy() descr:'history index cache'
        1313:20160921:111648.592 End of zbx_mem_destroy()
        1313:20160921:111648.592 In zbx_mem_destroy() descr:'trend cache'
        1313:20160921:111648.592 End of zbx_mem_destroy()
        1313:20160921:111648.592 End of free_database_cache()
        1313:20160921:111648.593 In free_configuration_cache()
        1313:20160921:111648.593 In zbx_mem_destroy() descr:'configuration cache'
        1313:20160921:111648.593 End of zbx_mem_destroy()
        1313:20160921:111648.593 In zbx_strpool_destroy()
        1313:20160921:111648.593 In zbx_mem_destroy() descr:'string pool'
        1313:20160921:111648.593 End of zbx_mem_destroy()
        1313:20160921:111648.593 End of zbx_strpool_destroy()
        1313:20160921:111648.593 End of free_configuration_cache()
        1313:20160921:111648.593 In zbx_vc_destroy()
        1313:20160921:111648.593 In zbx_mem_destroy() descr:'value cache size'
        1313:20160921:111648.593 End of zbx_mem_destroy()
        1313:20160921:111648.593 End of zbx_vc_destroy()
        1313:20160921:111648.593 In free_selfmon_collector() collector:0x288d9000
        1313:20160921:111648.593 End of free_selfmon_collector()
        1313:20160921:111648.593 In unload_modules()
        1313:20160921:111648.593 End of unload_modules()
        1313:20160921:111648.593 Zabbix Server stopped. Zabbix 3.0.4 (revision 61185).
      Last edited by Avk-1984; 21-09-2016, 12:25.

      Comment

      • Avk-1984
        Junior Member
        • Sep 2016
        • 7

        #4
        Originally posted by sadman
        Выставьте Loglevel=4, на этом уровне мне лично тоже ничего не понятно.
        Code:
           1313:20160921:111646.434 Starting Zabbix Server. Zabbix 3.0.4 (revision 61185).
          1313:20160921:111646.435 ****** Enabled features ******
          1313:20160921:111646.435 SNMP monitoring:           YES
          1313:20160921:111646.435 IPMI monitoring:            NO
          1313:20160921:111646.435 Web monitoring:            YES
          1313:20160921:111646.435 VMware monitoring:          NO
          1313:20160921:111646.435 SMTP authentication:       YES
          1313:20160921:111646.435 Jabber notifications:       NO
          1313:20160921:111646.435 Ez Texting notifications:  YES
          1313:20160921:111646.435 ODBC:                      YES
          1313:20160921:111646.435 SSH2 support:               NO
          1313:20160921:111646.435 IPv6 support:              YES
          1313:20160921:111646.435 TLS support:               YES
          1313:20160921:111646.435 ******************************
          1313:20160921:111646.435 using configuration file: /usr/local/etc/zabbix3/zabbix_server.conf
          1313:20160921:111646.435 In load_modules()
          1313:20160921:111646.435 End of load_modules():SUCCEED
          1313:20160921:111646.435 In init_database_cache()
          1313:20160921:111646.436 In zbx_mem_create() descr:'history cache' param:'HistoryCacheSize' size:16777216
          1313:20160921:111646.436 valid user addresses: [0x298000e0, 0x2a7ffff0] total size: 16776976
          1313:20160921:111646.436 End of zbx_mem_create()
          1313:20160921:111646.436 In zbx_mem_create() descr:'history index cache' param:'HistoryIndexCacheSize' size:4194304
          1313:20160921:111646.436 valid user addresses: [0x2a8000f0, 0x2abffff0] total size: 4194048
          1313:20160921:111646.436 End of zbx_mem_create()
          1313:20160921:111646.436 In init_trend_cache()
          1313:20160921:111646.436 In zbx_mem_required_size() size:0 chunks_num:1 descr:'trend cache' param:'TrendCacheSize'
          1313:20160921:111646.436 End of zbx_mem_required_size() size:274
          1313:20160921:111646.436 In zbx_mem_create() descr:'trend cache' param:'TrendCacheSize' size:4194304
          1313:20160921:111646.436 valid user addresses: [0x2ac000e0, 0x2afffff0] total size: 4194064
          1313:20160921:111646.436 End of zbx_mem_create()
          1313:20160921:111646.436 End of init_trend_cache()
          1313:20160921:111646.436 End of init_database_cache()
          1313:20160921:111646.436 In init_configuration_cache() size:8388608
          1313:20160921:111646.436 In zbx_mem_create() descr:'configuration cache' param:'CacheSize' size:7130317
          1313:20160921:111646.436 valid user addresses: [0x2b0000e0, 0x2b6cccc0] total size: 7130080
          1313:20160921:111646.436 End of zbx_mem_create()
          1313:20160921:111646.436 In zbx_strpool_create()
          1313:20160921:111646.436 In zbx_mem_create() descr:'string pool' param:'CacheSize' size:1258291
          1313:20160921:111646.436 valid user addresses: [0x28d410d8, 0x28e74328] total size: 1258064
          1313:20160921:111646.436 End of zbx_mem_create()
          1313:20160921:111646.436 End of zbx_strpool_create()
          1313:20160921:111646.436 End of init_configuration_cache()
          1313:20160921:111646.436 In init_selfmon_collector()
          1313:20160921:111646.437 init_selfmon_collector() size:6660
          1313:20160921:111646.437 End of init_selfmon_collector() collector:0x288d9000
          1313:20160921:111646.437 In zbx_vc_init()
          1313:20160921:111646.437 In zbx_mem_required_size() size:0 chunks_num:1 descr:'value cache size' param:'ValueCacheSize'
          1313:20160921:111646.437 End of zbx_mem_required_size() size:279
          1313:20160921:111646.437 In zbx_mem_create() descr:'value cache size' param:'ValueCacheSize' size:8388608
          1313:20160921:111646.437 valid user addresses: [0x2b6cd0e0, 0x2beccff0] total size: 8388368
          1313:20160921:111646.437 End of zbx_mem_create()
          1313:20160921:111646.437 End of zbx_vc_init()
          1313:20160921:111646.437 In zbx_db_get_database_type()
          1313:20160921:111646.437 In DBconnect() flag:0
          1313:20160921:111646.442 End of DBconnect():0
          1313:20160921:111646.442 query [txnlev:0] [select userid from users limit 1]
          1313:20160921:111646.442 there is at least 1 record in "users" table
          1313:20160921:111646.442 End of zbx_db_get_database_type():ZBX_DB_SERVER
          1313:20160921:111646.442 In DBcheck_version()
          1313:20160921:111646.442 In DBconnect() flag:0
          1313:20160921:111646.443 End of DBconnect():0
          1313:20160921:111646.443 query [txnlev:0] [show tables like 'dbversion']
          1313:20160921:111646.443 query [txnlev:0] [select mandatory,optional from dbversion]
          1313:20160921:111646.444 current database version (mandatory/optional): 03000000/03000000
          1313:20160921:111646.444 required mandatory version: 03000000
          1313:20160921:111646.444 End of DBcheck_version():SUCCEED
          1313:20160921:111646.444 In DBconnect() flag:0
          1313:20160921:111646.444 End of DBconnect():0
          1313:20160921:111646.444 In DCload_config()
          1313:20160921:111646.444 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2,severity_name_3,severity_name_4,severity_name_5,hk_e
        vents_mode,hk_events_trigger,hk_events_internal,hk_events_discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions,hk_history_mode,hk_history_global,hk_his
        tory,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]
          1313:20160921:111646.445 In DCsync_config()
          1313:20160921:111646.445 End of DCsync_config()
          1313:20160921:111646.445 End of DCload_config()
          1313:20160921:111646.445 In DCsync_configuration()
          1313:20160921:111646.445 In DCsync_configuration()
          1313:20160921:111646.445 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2,severity_name_3,severity_name_4,severity_name_5,hk_e
        vents_mode,hk_events_trigger,hk_events_internal,hk_events_discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions,hk_history_mode,hk_history_global,hk_his
        tory,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]
          1313:20160921:111646.445 query [txnlev:0] [select hostid,proxy_hostid,host,ipmi_authtype,ipmi_privilege,ipmi_username,ipmi_password,maintenance_status,maintenance_type,maintenance_from,errors_from,availabl
        e,disable_until,snmp_errors_from,snmp_available,snmp_disable_until,ipmi_errors_from,ipmi_available,ipmi_disable_until,jmx_errors_from,jmx_available,jmx_disable_until,status,name,lastaccess,error,snmp_error,i
        pmi_error,jmx_error,tls_connect,tls_accept,tls_issuer,tls_subject,tls_psk_identity,tls_psk from hosts where status in (0,1,5,6) and flags<>2]
          1313:20160921:111646.446 query [txnlev:0] [select hostid,inventory_mode from host_inventory]
          1313:20160921:111646.446 query [txnlev:0] [select hostid,templateid from hosts_templates order by hostid,templateid]
          1313:20160921:111646.446 query [txnlev:0] [select globalmacroid,macro,value from globalmacro]
          1313:20160921:111646.447 query [txnlev:0] [select hostmacroid,hostid,macro,value from hostmacro]
          1313:20160921:111646.447 query [txnlev:0] [select interfaceid,hostid,type,main,useip,ip,dns,port,bulk from interface]
          1313:20160921:111646.447 query [txnlev:0] [select i.itemid,i.hostid,i.status,i.type,i.data_type,i.value_type,i.key_,i.snmp_community,i.snmp_oid,i.port,i.snmpv3_securityname,i.snmpv3_securitylevel,i.snmpv3_
        authpassphrase,i.snmpv3_privpassphrase,i.ipmi_sensor,i.delay,i.delay_flex,i.trapper_hosts,i.logtimefmt,i.params,i.state,i.authtype,i.username,i.password,i.publickey,i.privatekey,i.flags,i.interfaceid,i.snmpv
        3_authprotocol,i.snmpv3_privprotocol,i.snmpv3_contextname,i.lastlogsize,i.mtime,i.delta,i.multiplier,i.formula,i.history,i.trends,i.inventory_link,i.valuemapid,i.units,i.error from items i,hosts h where i.ho
        stid=h.hostid and h.status in (0,1) and i.flags<>2]
          1313:20160921:111646.449 query [txnlev:0] [select distinct t.triggerid,t.description,t.expression,t.error,t.priority,t.type,t.value,t.state,t.lastchange,t.status from hosts h,items i,functions f,triggers t
         where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and h.status in (0,1) and t.flags<>2]
          1313:20160921:111646.451 query [txnlev:0] [select d.triggerid_down,d.triggerid_up from trigger_depends d order by d.triggerid_down]
          1313:20160921:111646.451 query [txnlev:0] [select i.itemid,f.functionid,f.function,f.parameter,t.triggerid from hosts h,items i,functions f,triggers t where h.hostid=i.hostid and i.itemid=f.itemid and f.tr
        iggerid=t.triggerid and h.status in (0,1) and t.flags<>2]
          1313:20160921:111646.452 query [txnlev:0] [select r.name,e.expressionid,e.expression,e.expression_type,e.exp_delimiter,e.case_sensitive from regexps r,expressions e where r.regexpid=e.regexpid]
          1313:20160921:111646.453 query [txnlev:0] [select actionid,eventsource,evaltype,formula from actions where status=0]
          1313:20160921:111646.453 query [txnlev:0] [select c.conditionid,c.actionid,c.conditiontype,c.operator,c.value from conditions c,actions a where c.actionid=a.actionid and a.status=0]
          1313:20160921:111646.453 In DCsync_config()
          1313:20160921:111646.453 End of DCsync_config()
          1313:20160921:111646.453 In DCsync_hosts()
          1313:20160921:111646.453 End of DCsync_hosts()
          1313:20160921:111646.453 In DCsync_host_inventory()
          1313:20160921:111646.453 End of DCsync_host_inventory()
          1313:20160921:111646.454 In DCsync_htmpls()
          1313:20160921:111646.454 End of DCsync_htmpls()
          1313:20160921:111646.454 In DCsync_gmacros()
          1313:20160921:111646.454 End of DCsync_gmacros()
          1313:20160921:111646.454 In DCsync_hmacros()
          1313:20160921:111646.454 End of DCsync_hmacros()
          1313:20160921:111646.454 In DCsync_interfaces()
          1313:20160921:111646.454 End of DCsync_interfaces()
          1313:20160921:111646.454 In DCsync_items()
          1313:20160921:111646.454 End of DCsync_items()
          1313:20160921:111646.454 In DCsync_triggers()
          1313:20160921:111646.454 End of DCsync_triggers()
          1313:20160921:111646.454 In DCsync_trigdeps()
          1313:20160921:111646.454 End of DCsync_trigdeps()
          1313:20160921:111646.454 In DCsync_functions()
          1313:20160921:111646.454 End of DCsync_functions()
          1313:20160921:111646.454 In DCsync_expressions()
          1313:20160921:111646.455 End of DCsync_expressions()
          1313:20160921:111646.455 In DCsync_actions()
          1313:20160921:111646.455 End of DCsync_actions()
          1313:20160921:111646.455 In DCsync_action_conditions()
          1313:20160921:111646.455 End of DCsync_action_conditions()
          1313:20160921:111646.455 DCsync_configuration() config     : sql:0.000311 sync:0.000088 sec.
          1313:20160921:111646.455 DCsync_configuration() hosts      : sql:0.000644 sync:0.000073 sec.
          1313:20160921:111646.455 DCsync_configuration() host_invent: sql:0.000259 sync:0.000050 sec.
          1313:20160921:111646.455 DCsync_configuration() templates  : sql:0.000293 sync:0.000067 sec.
          1313:20160921:111646.455 DCsync_configuration() globmacros : sql:0.000249 sync:0.000055 sec.
          1313:20160921:111646.455 DCsync_configuration() hostmacros : sql:0.000244 sync:0.000049 sec.
          1313:20160921:111646.455 DCsync_configuration() interfaces : sql:0.000269 sync:0.000052 sec.
          1313:20160921:111646.455 DCsync_configuration() items      : sql:0.001598 sync:0.000316 sec.
          1313:20160921:111646.455 DCsync_configuration() triggers   : sql:0.002221 sync:0.000154 sec.
          1313:20160921:111646.455 DCsync_configuration() trigdeps   : sql:0.000322 sync:0.000105 sec.
          1313:20160921:111646.455 DCsync_configuration() functions  : sql:0.000980 sync:0.000142 sec.
          1313:20160921:111646.455 DCsync_configuration() expressions: sql:0.000397 sync:0.000069 sec.
          1313:20160921:111646.455 DCsync_configuration() actions    : sql:0.000286 sync:0.000049 sec.
          1313:20160921:111646.455 DCsync_configuration() conditions : sql:0.000313 sync:0.000048 sec.
          1313:20160921:111646.455 DCsync_configuration() total sql  : 0.008388 sec.
          1313:20160921:111646.455 DCsync_configuration() total sync : 0.001318 sec.
          1313:20160921:111646.455 DCsync_configuration() proxies    : 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() hosts      : 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() hosts_h    : 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() hosts_p    : 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() psks       : 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() ipmihosts  : 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() host_invent: 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() htmpls     : 14 (29 slots)
          1313:20160921:111646.455 DCsync_configuration() gmacros    : 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() gmacros_m  : 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() hmacros    : 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() hmacros_hm : 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() interfaces : 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() interfac_ht: 1 (11 slots)
          1313:20160921:111646.455 DCsync_configuration() if_snmpitms: 0 (0 slots)
          1313:20160921:111646.455 DCsync_configuration() if_snmpaddr: 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() items      : 65 (101 slots)
          1313:20160921:111646.456 DCsync_configuration() items_hk   : 65 (101 slots)
          1313:20160921:111646.456 DCsync_configuration() numitems   : 59 (101 slots)
          1313:20160921:111646.456 DCsync_configuration() snmpitems  : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() ipmiitems  : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() flexitems  : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() trapitems  : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() logitems   : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() dbitems    : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() sshitems   : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() telnetitems: 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() simpleitems: 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() jmxitems   : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() calcitems  : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() deltaitems : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() functions  : 42 (101 slots)
          1313:20160921:111646.456 DCsync_configuration() triggers   : 42 (101 slots)
          1313:20160921:111646.456 DCsync_configuration() trigdeps   : 35 (67 slots)
          1313:20160921:111646.456 DCsync_configuration() t_trigs[0] : 1 (32 allocated)
          1313:20160921:111646.456 DCsync_configuration() expressions: 4 (11 slots)
          1313:20160921:111646.456 DCsync_configuration() actions    : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() conditions : 0 (0 slots)
          1313:20160921:111646.456 DCsync_configuration() queue[0]   : 0 (0 allocated)
          1313:20160921:111646.456 DCsync_configuration() queue[1]   : 0 (0 allocated)
          1313:20160921:111646.456 DCsync_configuration() queue[2]   : 0 (0 allocated)
          1313:20160921:111646.456 DCsync_configuration() queue[3]   : 0 (0 allocated)
          1313:20160921:111646.456 DCsync_configuration() queue[4]   : 0 (0 allocated)
          1313:20160921:111646.456 DCsync_configuration() pqueue     : 0 (0 allocated)
          1313:20160921:111646.457 DCsync_configuration() configfree : 99.032904%
          1313:20160921:111646.457 DCsync_configuration() strings    : 186 (347 slots)
          1313:20160921:111646.457 DCsync_configuration() strpoolfree: 98.934189%
          1313:20160921:111646.457 === memory statistics for configuration cache ===
         1313:20160921:111646.457 === memory statistics for configuration cache ===
          1313:20160921:111646.457 free chunks of size >= 256 bytes:        1
          1313:20160921:111646.457 min chunk size:    7061360 bytes
          1313:20160921:111646.457 max chunk size:    7061360 bytes
          1313:20160921:111646.457 memory of total size 7130080 bytes fragmented into 0 chunks
          1313:20160921:111646.457 of those,    7061360 bytes are in        0 free chunks
          1313:20160921:111646.457 of those,      61424 bytes are in        0 used chunks
          1313:20160921:111646.457 ================================
          1313:20160921:111646.457 === memory statistics for string pool ===
          1313:20160921:111646.457 free chunks of size >= 256 bytes:        2
          1313:20160921:111646.457 min chunk size:        456 bytes
          1313:20160921:111646.457 max chunk size:    1244424 bytes
          1313:20160921:111646.457 memory of total size 1258064 bytes fragmented into 0 chunks
          1313:20160921:111646.457 of those,    1244880 bytes are in        0 free chunks
          1313:20160921:111646.457 of those,      10160 bytes are in        0 used chunks
          1313:20160921:111646.457 ================================
          1313:20160921:111646.457 End of DCsync_configuration()
          1313:20160921:111646.457 server #0 started [main process]
          1314:20160921:111646.458 server #1 started [configuration syncer #1]
          1314:20160921:111646.458 __zbx_zbx_setproctitle() title:'configuration syncer [waiting 60 sec for processes]'
          1315:20160921:111646.459 server #2 started [db watchdog #1]
          1315:20160921:111646.459 __zbx_zbx_setproctitle() title:'db watchdog [pinging database]'
          1315:20160921:111646.459 In DBconnect() flag:2
          1313:20160921:111646.460 One child process died (PID:1316,exitcode/signal:4). Exiting ...
          1313:20160921:111646.460 zbx_on_exit() called
          1314:20160921:111646.460 Got signal [signal:15(SIGTERM),sender_pid:1313,sender_uid:1001,reason:65537]. Exiting ...
          1315:20160921:111646.460 Got signal [signal:15(SIGTERM),sender_pid:1313,sender_uid:1001,reason:65537]. Exiting ...
          1313:20160921:111648.590 In DBconnect() flag:1
          1313:20160921:111648.591 End of DBconnect():0
          1313:20160921:111648.591 In free_database_cache()
          1313:20160921:111648.591 In DCsync_all()
          1313:20160921:111648.591 In DCsync_history() history_num:0
          1313:20160921:111648.592 syncing history data...
          1313:20160921:111648.592 syncing history data done
          1313:20160921:111648.592 In DCsync_trends() trends_num:0
          1313:20160921:111648.592 syncing trends data...
          1313:20160921:111648.592 query [txnlev:1] [begin;]
          1313:20160921:111648.592 query [txnlev:1] [commit;]
          1313:20160921:111648.592 syncing trends data done
          1313:20160921:111648.592 End of DCsync_trends()
          1313:20160921:111648.592 End of DCsync_all()
          1313:20160921:111648.592 In zbx_mem_destroy() descr:'history cache'
          1313:20160921:111648.592 End of zbx_mem_destroy()
          1313:20160921:111648.592 In zbx_mem_destroy() descr:'history index cache'
          1313:20160921:111648.592 End of zbx_mem_destroy()
          1313:20160921:111648.592 In zbx_mem_destroy() descr:'trend cache'
          1313:20160921:111648.592 End of zbx_mem_destroy()
          1313:20160921:111648.592 End of free_database_cache()
          1313:20160921:111648.593 In free_configuration_cache()
          1313:20160921:111648.593 In zbx_mem_destroy() descr:'configuration cache'
          1313:20160921:111648.593 End of zbx_mem_destroy()
          1313:20160921:111648.593 In zbx_strpool_destroy()
          1313:20160921:111648.593 In zbx_mem_destroy() descr:'string pool'
          1313:20160921:111648.593 End of zbx_mem_destroy()
          1313:20160921:111648.593 End of zbx_strpool_destroy()
          1313:20160921:111648.593 End of free_configuration_cache()
          1313:20160921:111648.593 In zbx_vc_destroy()
          1313:20160921:111648.593 In zbx_mem_destroy() descr:'value cache size'
          1313:20160921:111648.593 End of zbx_mem_destroy()
          1313:20160921:111648.593 End of zbx_vc_destroy()
          1313:20160921:111648.593 In free_selfmon_collector() collector:0x288d9000
          1313:20160921:111648.593 End of free_selfmon_collector()
          1313:20160921:111648.593 In unload_modules()
          1313:20160921:111648.593 End of unload_modules()
          1313:20160921:111648.593 Zabbix Server stopped. Zabbix 3.0.4 (revision 61185).

        Comment

        • BEEn
          Junior Member
          • Sep 2016
          • 5

          #5
          sudo service zabbix-server start
          не?

          Comment

          • Avk-1984
            Junior Member
            • Sep 2016
            • 7

            #6
            Originally posted by BEEn
            sudo service zabbix-server start
            не?
            xxxx@zabbix:~ % sudo service zabbix_server start
            Starting zabbix_server.
            xxxx@zabbix:~ % sudo service zabbix_server status
            zabbix_server is not running.

            Comment

            • sadman
              Senior Member
              • Dec 2010
              • 1611

              #7
              Черт его знает, вроде как всё вываливается после этой строчки
              __zbx_zbx_setproctitle() title:'db watchdog [pinging database]'
              БД не испытывает проблем по ее логам?

              Comment

              • Avk-1984
                Junior Member
                • Sep 2016
                • 7

                #8
                Originally posted by sadman
                Черт его знает, вроде как всё вываливается после этой строчки

                БД не испытывает проблем по ее логам?
                Где этот лог лежит? БД устанавливал MySQL. Первичная настройка проблем не выявила с БД, я же попадаю на Dashboard, в противном случае веб морда писала бы, что проблемы с БД.

                Comment

                • Avk-1984
                  Junior Member
                  • Sep 2016
                  • 7

                  #9
                  Друзья!!! Коллеги!!! У кого нибудь ещё есть идеи, как победить эту проблему?

                  Comment

                  • Aksel
                    Senior Member
                    • Aug 2014
                    • 101

                    #10
                    Добрый день.
                    Ну пока никакой конкретики нет.

                    Сервер до этого работал? Какие манипуляции проводились, что все сломалось?
                    Логи mysql?
                    Есть ли дамп базы?

                    Comment

                    • Avk-1984
                      Junior Member
                      • Sep 2016
                      • 7

                      #11
                      Переустановил zabbix-server из портов уже, может ест&#1100

                      Code:
                       1005:20160928:161826.958 Starting Zabbix Server. Zabbix 3.0.4 (revision 61185).
                        1005:20160928:161826.958 ****** Enabled features ******
                        1005:20160928:161826.958 SNMP monitoring:           YES
                        1005:20160928:161826.958 IPMI monitoring:            NO
                        1005:20160928:161826.958 Web monitoring:            YES
                        1005:20160928:161826.958 VMware monitoring:          NO
                        1005:20160928:161826.958 SMTP authentication:       YES
                        1005:20160928:161826.958 Jabber notifications:       NO
                        1005:20160928:161826.958 Ez Texting notifications:  YES
                        1005:20160928:161826.958 ODBC:                      YES
                        1005:20160928:161826.958 SSH2 support:               NO
                        1005:20160928:161826.958 IPv6 support:              YES
                        1005:20160928:161826.958 TLS support:               YES
                        1005:20160928:161826.958 ******************************
                        1005:20160928:161826.958 using configuration file: /usr/local/etc/zabbix3/zabbix_server.conf
                        1005:20160928:161826.958 In load_modules()
                        1005:20160928:161826.958 End of load_modules():SUCCEED
                        1005:20160928:161826.966 In init_database_cache()
                        1005:20160928:161826.972 In zbx_mem_create() descr:'history cache' param:'HistoryCacheSize' size:16777216
                        1005:20160928:161826.972 valid user addresses: [0x298000e0, 0x2a7ffff0] total size: 16776976
                        1005:20160928:161826.972 End of zbx_mem_create()
                        1005:20160928:161826.972 In zbx_mem_create() descr:'history index cache' param:'HistoryIndexCacheSize' size:4194304
                        1005:20160928:161826.972 valid user addresses: [0x2a8000f0, 0x2abffff0] total size: 4194048
                        1005:20160928:161826.972 End of zbx_mem_create()
                        1005:20160928:161826.972 In init_trend_cache()
                        1005:20160928:161826.973 In zbx_mem_required_size() size:0 chunks_num:1 descr:'trend cache' param:'TrendCacheSize'
                        1005:20160928:161826.973 End of zbx_mem_required_size() size:274
                        1005:20160928:161826.973 In zbx_mem_create() descr:'trend cache' param:'TrendCacheSize' size:4194304
                        1005:20160928:161826.973 valid user addresses: [0x2ac000e0, 0x2afffff0] total size: 4194064
                        1005:20160928:161826.973 End of zbx_mem_create()
                        1005:20160928:161826.973 End of init_trend_cache()
                        1005:20160928:161826.973 End of init_database_cache()
                        1005:20160928:161826.974 In init_configuration_cache() size:8388608
                        1005:20160928:161826.974 In zbx_mem_create() descr:'configuration cache' param:'CacheSize' size:7130317
                        1005:20160928:161826.974 valid user addresses: [0x2b0000e0, 0x2b6cccc0] total size: 7130080
                        1005:20160928:161826.974 End of zbx_mem_create()
                        1005:20160928:161826.974 In zbx_strpool_create()
                        1005:20160928:161826.974 In zbx_mem_create() descr:'string pool' param:'CacheSize' size:1258291
                        1005:20160928:161826.974 valid user addresses: [0x28d3d0d8, 0x28e70328] total size: 1258064
                        1005:20160928:161826.974 End of zbx_mem_create()
                        1005:20160928:161826.974 End of zbx_strpool_create()
                        1005:20160928:161826.974 End of init_configuration_cache()
                        1005:20160928:161826.975 In init_selfmon_collector()
                        1005:20160928:161826.975 init_selfmon_collector() size:6660
                        1005:20160928:161826.975 End of init_selfmon_collector() collector:0x288d5000
                        1005:20160928:161826.975 In zbx_vc_init()
                        1005:20160928:161826.975 In zbx_mem_required_size() size:0 chunks_num:1 descr:'value cache size' param:'ValueCacheSize'
                        1005:20160928:161826.975 End of zbx_mem_required_size() size:279
                        1005:20160928:161826.975 In zbx_mem_create() descr:'value cache size' param:'ValueCacheSize' size:8388608
                        1005:20160928:161826.975 valid user addresses: [0x2b6cd0e0, 0x2beccff0] total size: 8388368
                        1005:20160928:161826.975 End of zbx_mem_create()
                        1005:20160928:161826.975 End of zbx_vc_init()
                        1005:20160928:161826.976 In zbx_db_get_database_type()
                        1005:20160928:161826.977 In DBconnect() flag:0
                        1005:20160928:161827.030 End of DBconnect():0
                        1005:20160928:161827.030 query [txnlev:0] [select userid from users limit 1]
                        1005:20160928:161827.030 there is at least 1 record in "users" table
                        1005:20160928:161827.030 End of zbx_db_get_database_type():ZBX_DB_SERVER
                        1005:20160928:161827.030 In DBcheck_version()
                        1005:20160928:161827.030 In DBconnect() flag:0
                        1005:20160928:161827.031 End of DBconnect():0
                        1005:20160928:161827.031 query [txnlev:0] [show tables like 'dbversion']
                        1005:20160928:161827.031 query [txnlev:0] [select mandatory,optional from dbversion]
                        1005:20160928:161827.032 current database version (mandatory/optional): 03000000/03000000
                        1005:20160928:161827.032 required mandatory version: 03000000
                        1005:20160928:161827.032 End of DBcheck_version():SUCCEED
                        1005:20160928:161827.032 In DBconnect() flag:0
                        1005:20160928:161827.032 End of DBconnect():0
                        1005:20160928:161827.032 In DCload_config()
                        1005:20160928:161827.032 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2,severity_name_3,severity_name_4,severity_name_5,hk_events_mode,hk_events_trigger,hk_events_internal,hk_events_discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions,hk_history_mode,hk_history_global,hk_history,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]
                        1005:20160928:161827.033 In DCsync_config()
                        1005:20160928:161827.033 End of DCsync_config()
                        1005:20160928:161827.033 End of DCload_config()
                        1005:20160928:161827.033 In DCsync_configuration()
                        1005:20160928:161827.033 query [txnlev:0] [select refresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2,severity_name_3,severity_name_4,severity_name_5,hk_events_mode,hk_events_trigger,hk_events_internal,hk_events_discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions,hk_history_mode,hk_history_global,hk_history,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]
                        1005:20160928:161827.033 query [txnlev:0] [select hostid,proxy_hostid,host,ipmi_authtype,ipmi_privilege,ipmi_username,ipmi_password,maintenance_status,maintenance_type,maintenance_from,errors_from,available,disable_until,snmp_errors_from,snmp_available,snmp_disable_until,ipmi_errors_from,ipmi_available,ipmi_disable_until,jmx_errors_from,jmx_available,jmx_disable_until,status,name,lastaccess,error,snmp_error,ipmi_error,jmx_error,tls_connect,tls_accept,tls_issuer,tls_subject,tls_psk_identity,tls_psk from hosts where status in (0,1,5,6) and flags<>2]
                        1005:20160928:161827.034 query [txnlev:0] [select hostid,inventory_mode from host_inventory]
                        1005:20160928:161827.047 query [txnlev:0] [select hostid,templateid from hosts_templates order by hostid,templateid]
                        1005:20160928:161827.053 query [txnlev:0] [select globalmacroid,macro,value from globalmacro]
                        1005:20160928:161827.073 query [txnlev:0] [select hostmacroid,hostid,macro,value from hostmacro]
                        1005:20160928:161827.074 query [txnlev:0] [select interfaceid,hostid,type,main,useip,ip,dns,port,bulk from interface]
                        1005:20160928:161827.079 query [txnlev:0] [select i.itemid,i.hostid,i.status,i.type,i.data_type,i.value_type,i.key_,i.snmp_community,i.snmp_oid,i.port,i.snmpv3_securityname,i.snmpv3_securitylevel,i.snmpv3_authpassphrase,i.snmpv3_privpassphrase,i.ipmi_sensor,i.delay,i.delay_flex,i.trapper_hosts,i.logtimefmt,i.params,i.state,i.authtype,i.username,i.password,i.publickey,i.privatekey,i.flags,i.interfaceid,i.snmpv3_authprotocol,i.snmpv3_privprotocol,i.snmpv3_contextname,i.lastlogsize,i.mtime,i.delta,i.multiplier,i.formula,i.history,i.trends,i.inventory_link,i.valuemapid,i.units,i.error from items i,hosts h where i.hostid=h.hostid and h.status in (0,1) and i.flags<>2]
                        1005:20160928:161827.081 query [txnlev:0] [select distinct t.triggerid,t.description,t.expression,t.error,t.priority,t.type,t.value,t.state,t.lastchange,t.status from hosts h,items i,functions f,triggers t where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and h.status in (0,1) and t.flags<>2]
                        1005:20160928:161827.083 query [txnlev:0] [select d.triggerid_down,d.triggerid_up from trigger_depends d order by d.triggerid_down]
                        1005:20160928:161827.084 query [txnlev:0] [select i.itemid,f.functionid,f.function,f.parameter,t.triggerid from hosts h,items i,functions f,triggers t where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and h.status in (0,1) and t.flags<>2]
                        1005:20160928:161827.085 query [txnlev:0] [select r.name,e.expressionid,e.expression,e.expression_type,e.exp_delimiter,e.case_sensitive from regexps r,expressions e where r.regexpid=e.regexpid]
                        1005:20160928:161827.097 query [txnlev:0] [select actionid,eventsource,evaltype,formula from actions where status=0]
                        1005:20160928:161827.102 query [txnlev:0] [select c.conditionid,c.actionid,c.conditiontype,c.operator,c.value from conditions c,actions a where c.actionid=a.actionid and a.status=0]
                        1005:20160928:161827.105 In DCsync_config()
                        1005:20160928:161827.105 End of DCsync_config()
                        1005:20160928:161827.105 In DCsync_hosts()
                        1005:20160928:161827.105 End of DCsync_hosts()
                        1005:20160928:161827.105 In DCsync_host_inventory()
                        1005:20160928:161827.105 End of DCsync_host_inventory()
                        1005:20160928:161827.105 In DCsync_htmpls()
                        1005:20160928:161827.105 End of DCsync_htmpls()
                        1005:20160928:161827.105 In DCsync_gmacros()
                        1005:20160928:161827.105 End of DCsync_gmacros()
                        1005:20160928:161827.105 In DCsync_hmacros()
                        1005:20160928:161827.105 End of DCsync_hmacros()
                        1005:20160928:161827.105 In DCsync_interfaces()
                        1005:20160928:161827.105 End of DCsync_interfaces()
                        1005:20160928:161827.105 In DCsync_items()
                        1005:20160928:161827.106 End of DCsync_items()
                        1005:20160928:161827.106 In DCsync_triggers()
                        1005:20160928:161827.106 End of DCsync_triggers()
                        1005:20160928:161827.106 In DCsync_trigdeps()
                        1005:20160928:161827.107 End of DCsync_trigdeps()
                        1005:20160928:161827.107 In DCsync_functions()
                        1005:20160928:161827.107 End of DCsync_functions()
                        1005:20160928:161827.107 In DCsync_expressions()
                        1005:20160928:161827.107 End of DCsync_expressions()
                        1005:20160928:161827.107 In DCsync_actions()
                        1005:20160928:161827.107 End of DCsync_actions()
                        1005:20160928:161827.107 In DCsync_action_conditions()
                        1005:20160928:161827.107 End of DCsync_action_conditions()
                        1005:20160928:161827.107 DCsync_configuration() config     : sql:0.000270 sync:0.000080 sec.
                        1005:20160928:161827.107 DCsync_configuration() hosts      : sql:0.000627 sync:0.000080 sec.
                        1005:20160928:161827.107 DCsync_configuration() host_invent: sql:0.013492 sync:0.000057 sec.
                        1005:20160928:161827.107 DCsync_configuration() templates  : sql:0.005437 sync:0.000074 sec.
                        1005:20160928:161827.107 DCsync_configuration() globmacros : sql:0.020008 sync:0.000054 sec.
                        1005:20160928:161827.107 DCsync_configuration() hostmacros : sql:0.001684 sync:0.000056 sec.
                        1005:20160928:161827.107 DCsync_configuration() interfaces : sql:0.004365 sync:0.000053 sec.
                        1005:20160928:161827.107 DCsync_configuration() items      : sql:0.001986 sync:0.000848 sec.
                        1005:20160928:161827.107 DCsync_configuration() triggers   : sql:0.002087 sync:0.000172 sec.
                        1005:20160928:161827.107 DCsync_configuration() trigdeps   : sql:0.001210 sync:0.000123 sec.
                        1005:20160928:161827.107 DCsync_configuration() functions  : sql:0.000943 sync:0.000167 sec.
                        1005:20160928:161827.107 DCsync_configuration() expressions: sql:0.012597 sync:0.000069 sec.
                        1005:20160928:161827.107 DCsync_configuration() actions    : sql:0.004827 sync:0.000051 sec.
                        1005:20160928:161827.107 DCsync_configuration() conditions : sql:0.002696 sync:0.000052 sec.
                        1005:20160928:161827.107 DCsync_configuration() total sql  : 0.072227 sec.
                        1005:20160928:161827.107 DCsync_configuration() total sync : 0.001937 sec.
                        1005:20160928:161827.107 DCsync_configuration() proxies    : 0 (0 slots)
                        1005:20160928:161827.107 DCsync_configuration() hosts      : 1 (11 slots)
                        1005:20160928:161827.107 DCsync_configuration() hosts_h    : 1 (11 slots)
                        1005:20160928:161827.107 DCsync_configuration() hosts_p    : 0 (0 slots)
                        1005:20160928:161827.107 DCsync_configuration() psks       : 0 (0 slots)
                        1005:20160928:161827.107 DCsync_configuration() ipmihosts  : 1 (11 slots)
                        1005:20160928:161827.107 DCsync_configuration() host_invent: 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() htmpls     : 14 (29 slots)
                        1005:20160928:161827.108 DCsync_configuration() gmacros    : 1 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() gmacros_m  : 1 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() hmacros    : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() hmacros_hm : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() interfaces : 1 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() interfac_ht: 1 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() if_snmpitms: 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() if_snmpaddr: 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() items      : 65 (101 slots)
                        1005:20160928:161827.108 DCsync_configuration() items_hk   : 65 (101 slots)
                        1005:20160928:161827.108 DCsync_configuration() numitems   : 59 (101 slots)
                        1005:20160928:161827.108 DCsync_configuration() snmpitems  : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() ipmiitems  : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() flexitems  : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() trapitems  : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() logitems   : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() dbitems    : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() sshitems   : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() telnetitems: 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() simpleitems: 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() jmxitems   : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() calcitems  : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() deltaitems : 0 (0 slots)
                        1005:20160928:161827.108 DCsync_configuration() functions  : 42 (101 slots)
                        1005:20160928:161827.108 DCsync_configuration() triggers   : 42 (101 slots)
                        1005:20160928:161827.108 DCsync_configuration() trigdeps   : 35 (67 slots)
                        1005:20160928:161827.108 DCsync_configuration() t_trigs[0] : 1 (32 allocated)
                        1005:20160928:161827.108 DCsync_configuration() expressions: 4 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() actions    : 1 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() conditions : 2 (11 slots)
                        1005:20160928:161827.108 DCsync_configuration() queue[0]   : 65 (72 allocated)
                        1005:20160928:161827.108 DCsync_configuration() queue[1]   : 0 (0 allocated)
                        1005:20160928:161827.108 DCsync_configuration() queue[2]   : 0 (0 allocated)
                        1005:20160928:161827.108 DCsync_configuration() queue[3]   : 0 (0 allocated)
                        1005:20160928:161827.108 DCsync_configuration() queue[4]   : 0 (0 allocated)
                        1005:20160928:161827.108 DCsync_configuration() pqueue     : 0 (0 allocated)
                        1005:20160928:161827.108 DCsync_configuration() configfree : 98.940903%
                        1005:20160928:161827.108 DCsync_configuration() strings    : 186 (347 slots)
                        1005:20160928:161827.108 DCsync_configuration() strpoolfree: 98.934189%
                        1005:20160928:161827.108 === memory statistics for configuration cache ===
                        1005:20160928:161827.108 free chunks of size >= 256 bytes:        1
                        1005:20160928:161827.108 min chunk size:    7054800 bytes
                        1005:20160928:161827.109 max chunk size:    7054800 bytes
                        1005:20160928:161827.109 memory of total size 7130080 bytes fragmented into 0 chunks
                        1005:20160928:161827.109 of those,    7054800 bytes are in        0 free chunks
                        1005:20160928:161827.109 of those,      66896 bytes are in        0 used chunks
                        1005:20160928:161827.109 ================================
                        1005:20160928:161827.109 === memory statistics for string pool ===
                        1005:20160928:161827.109 free chunks of size >= 256 bytes:        2
                        1005:20160928:161827.109 min chunk size:        456 bytes
                        1005:20160928:161827.109 max chunk size:    1244424 bytes
                        1005:20160928:161827.109 memory of total size 1258064 bytes fragmented into 0 chunks
                        1005:20160928:161827.109 of those,    1244880 bytes are in        0 free chunks
                        1005:20160928:161827.109 of those,      10160 bytes are in        0 used chunks
                        1005:20160928:161827.109 ================================
                        1005:20160928:161827.109 End of DCsync_configuration()
                        1005:20160928:161827.109 server #0 started [main process]
                        1006:20160928:161827.110 server #1 started [configuration syncer #1]
                        1006:20160928:161827.110 __zbx_zbx_setproctitle() title:'configuration syncer [waiting 60 sec for processes]'
                        1007:20160928:161827.110 server #2 started [db watchdog #1]
                        1007:20160928:161827.110 __zbx_zbx_setproctitle() title:'db watchdog [pinging database]'
                        1007:20160928:161827.110 In DBconnect() flag:2
                        1007:20160928:161827.111 End of DBconnect():0
                        1007:20160928:161827.111 __zbx_zbx_setproctitle() title:'db watchdog [syncing configuration]'
                        1007:20160928:161827.111 In sync_config()
                        1007:20160928:161827.111 query [txnlev:0] [select mt.mediatypeid,mt.type,mt.description,mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_path,mt.gsm_modem,mt.username,mt.passwd,mt.smtp_port,mt.smtp_security,mt.smtp_verify_peer,mt.smtp_verify_host,mt.smtp_authentication,mt.exec_params,m.sendto from media m,users_groups u,config c,media_type mt where m.userid=u.userid and u.usrgrpid=c.alert_usrgrpid and m.mediatypeid=mt.mediatypeid and m.active=0 and mt.status=0]
                        1020:20160928:161827.114 server #15 started [alerter #1]
                        1020:20160928:161827.114 __zbx_zbx_setproctitle() title:'alerter [connecting to the database]'
                        1020:20160928:161827.114 In DBconnect() flag:0
                        1020:20160928:161827.115 End of DBconnect():0
                        1020:20160928:161827.115 __zbx_zbx_setproctitle() title:'alerter [sending alerts]'
                        1020:20160928:161827.115 query [txnlev:0] [select a.alertid,a.mediatypeid,a.sendto,a.subject,a.message,a.status,mt.mediatypeid,mt.type,mt.description,mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_path,mt.gsm_modem,mt.username,mt.passwd,mt.smtp_port,mt.smtp_security,mt.smtp_verify_peer,mt.smtp_verify_host,mt.smtp_authentication,mt.exec_params,a.retries from alerts a,media_type mt where a.mediatypeid=mt.mediatypeid and a.status=0 and a.alerttype=0 order by a.alertid]
                        1025:20160928:161827.116 server #20 started [history syncer #1]
                        1025:20160928:161827.116 __zbx_zbx_setproctitle() title:'history syncer #1 [connecting to the database]'
                        1026:20160928:161827.117 server #21 started [history syncer #2]
                        1026:20160928:161827.117 __zbx_zbx_setproctitle() title:'history syncer #2 [connecting to the database]'
                        1025:20160928:161827.117 In DBconnect() flag:0
                        1027:20160928:161827.117 server #22 started [history syncer #3]
                        1027:20160928:161827.117 __zbx_zbx_setproctitle() title:'history syncer #3 [connecting to the database]'
                        1026:20160928:161827.117 In DBconnect() flag:0
                        1028:20160928:161827.117 server #23 started [history syncer #4]
                        1028:20160928:161827.117 __zbx_zbx_setproctitle() title:'history syncer #4 [connecting to the database]'
                        1027:20160928:161827.117 In DBconnect() flag:0
                        1025:20160928:161827.118 End of DBconnect():0
                        1029:20160928:161827.118 server #24 started [escalator #1]
                        1029:20160928:161827.118 In zbx_tls_init_child()
                        1028:20160928:161827.118 In DBconnect() flag:0
                        1030:20160928:161827.118 server #25 started [proxy poller #1]
                        1026:20160928:161827.119 End of DBconnect():0
                        1025:20160928:161827.119 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000000 sec, syncing history]'
                        1025:20160928:161827.119 In DCsync_history() history_num:0
                        1026:20160928:161827.119 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000000 sec, syncing history]'
                        1025:20160928:161827.119 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000098 sec, idle 1 sec]'
                        1027:20160928:161827.119 End of DBconnect():0
                        1031:20160928:161827.119 server #26 started [self-monitoring #1]
                        1026:20160928:161827.119 In DCsync_history() history_num:0
                        1030:20160928:161827.119 In zbx_tls_init_child()
                        1005:20160928:161827.120 One child process died (PID:1008,exitcode/signal:4). Exiting ...
                        1031:20160928:161827.120 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
                        1028:20160928:161827.120 End of DBconnect():0
                        1026:20160928:161827.120 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000347 sec, idle 1 sec]'
                        1031:20160928:161827.120 In collect_selfmon_stats()
                        1031:20160928:161827.120 End of collect_selfmon_stats()
                        1005:20160928:161827.120 zbx_on_exit() called
                        1027:20160928:161827.120 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000000 sec, syncing history]'
                        1028:20160928:161827.120 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000000 sec, syncing history]'
                        1025:20160928:161827.120 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1006:20160928:161827.120 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1020:20160928:161827.120 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1007:20160928:161827.120 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1031:20160928:161827.120 __zbx_zbx_setproctitle() title:'self-monitoring [processed data in 0.000134 sec, idle 1 sec]'
                        1027:20160928:161827.120 In DCsync_history() history_num:0
                        1028:20160928:161827.121 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1027:20160928:161827.121 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1026:20160928:161827.121 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1029:20160928:161827.121 OpenSSL library (version OpenSSL 1.0.1e-freebsd 11 Feb 2013) initialized
                        1015:20160928:161827.122 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1018:20160928:161827.122 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1030:20160928:161827.123 OpenSSL library (version OpenSSL 1.0.1e-freebsd 11 Feb 2013) initialized
                        1021:20160928:161827.123 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1022:20160928:161827.123 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1017:20160928:161827.123 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1014:20160928:161827.123 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1023:20160928:161827.124 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1030:20160928:161827.124 zbx_tls_init_child() PSK ciphersuites: PSK-AES128-CBC-SHA
                        1016:20160928:161827.124 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1030:20160928:161827.124 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1029:20160928:161827.124 zbx_tls_init_child() PSK ciphersuites: PSK-AES128-CBC-SHA
                        1029:20160928:161827.124 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1024:20160928:161827.126 Got signal [signal:15(SIGTERM),sender_pid:1005,sender_uid:122,reason:65537]. Exiting ...
                        1031:20160928:161828.140 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
                        1031:20160928:161828.140 In collect_selfmon_stats()
                        1031:20160928:161828.140 End of collect_selfmon_stats()
                        1031:20160928:161828.140 __zbx_zbx_setproctitle() title:'self-monitoring [processed data in 0.000061 sec, idle 1 sec]'
                        1005:20160928:161829.129 In DBconnect() flag:1
                        1005:20160928:161829.130 End of DBconnect():0
                        1005:20160928:161829.130 In free_database_cache()
                        1005:20160928:161829.130 In DCsync_all()
                        1005:20160928:161829.130 In DCsync_history() history_num:0
                        1005:20160928:161829.130 syncing history data...
                        1005:20160928:161829.131 syncing history data done
                        1005:20160928:161829.131 In DCsync_trends() trends_num:0
                        1005:20160928:161829.131 syncing trends data...
                        1005:20160928:161829.131 query [txnlev:1] [begin;]
                        1005:20160928:161829.131 query [txnlev:1] [commit;]
                        1005:20160928:161829.131 syncing trends data done
                        1005:20160928:161829.131 End of DCsync_trends()
                        1005:20160928:161829.131 End of DCsync_all()
                        1005:20160928:161829.131 In zbx_mem_destroy() descr:'history cache'
                        1005:20160928:161829.131 End of zbx_mem_destroy()
                        1005:20160928:161829.131 In zbx_mem_destroy() descr:'history index cache'
                        1005:20160928:161829.131 End of zbx_mem_destroy()
                        1005:20160928:161829.131 In zbx_mem_destroy() descr:'trend cache'
                        1005:20160928:161829.131 End of zbx_mem_destroy()
                        1005:20160928:161829.131 End of free_database_cache()
                        1005:20160928:161829.131 In free_configuration_cache()
                        1005:20160928:161829.131 In zbx_mem_destroy() descr:'configuration cache'
                        1005:20160928:161829.131 End of zbx_mem_destroy()
                        1005:20160928:161829.131 In zbx_strpool_destroy()
                        1005:20160928:161829.131 In zbx_mem_destroy() descr:'string pool'
                        1005:20160928:161829.131 End of zbx_mem_destroy()
                        1005:20160928:161829.131 End of zbx_strpool_destroy()
                        1005:20160928:161829.132 End of free_configuration_cache()
                        1005:20160928:161829.132 In zbx_vc_destroy()
                        1005:20160928:161829.132 In zbx_mem_destroy() descr:'value cache size'
                        1005:20160928:161829.132 End of zbx_mem_destroy()
                        1005:20160928:161829.132 End of zbx_vc_destroy()
                        1005:20160928:161829.132 In free_selfmon_collector() collector:0x288d5000
                        1005:20160928:161829.132 End of free_selfmon_collector()
                        1005:20160928:161829.132 In unload_modules()
                        1005:20160928:161829.132 End of unload_modules()
                        1005:20160928:161829.132 Zabbix Server stopped. Zabbix 3.0.4 (revision 61185).
                      zabbix_server [1031]: [file:'selfmon.c',line:375] lock failed: [22] Invalid argument

                      Comment

                      • Kos
                        Senior Member
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • Aug 2015
                        • 3404

                        #12
                        Ситуация, действительно, загадочная. С другой стороны, и информации маловало. Что это за платформа? Откуда брались бинарники сервера Zabbix? Какие параметры менялись в конфиге по умолчанию? В конце концов, работало ли это добро на данной машине раньше, и если да - то после каких изменений перестало работать?

                        Из логов я вижу только одну подозрительную строчку (которая повторяется во всех процитированных логах), но она, к сожалению, малоинформативна:
                        1005:20160928:161827.120 One child process died (PID:1008,exitcode/signal:4). Exiting ...
                        1005 в данном случае - это PID "родительского" процесса сервера Zabbix, который начинает инициализацию и порождает остальные процессы (например, далее в логе видны сообщения от процессов с PID-ами 1007, 1020, 1026 и т.д.). И он жалуется на то, что один из дочерних процессов неожиданно помер, получив сигнал 4, после чего завершает и все остальные порождённые им процессы. Что за процесс с PID-ом 1008 - загадка, от него в логе нет ни одного сообщения (аналогично и во всех предыдущих логах). Сигнал с номером 4 - это:
                        SIGILL 4 Core Illegal Instruction
                        , т.е. это сигнал, который получается процессом при выполнении некорректной инструкции и по умолчанию приводит к генерированию core-файла.

                        Это пока всё, что я вижу.

                        Может, у вас, например, какой-то "левый" модуль (через "LoadModule=" в конфиге) подгружается? Образуется ли на самом деле какой-либо core-файл (я, правда, не силён в их анализе)?

                        Comment

                        Working...