Ad Widget

Collapse

zabbix server service is not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pang2020
    Junior Member
    • Apr 2020
    • 2

    #1

    zabbix server service is not running

    ● zabbix-server.service - Zabbix Server
    Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
    Active: activating (auto-restart) (Result: exit-code) since Thu 2020-11-12 12:43:45 +08; 250ms ago
    Process: 76576 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=1/FAILURE)
    Process: 76572 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
    Main PID: 76574 (code=exited, status=0/SUCCESS)

    Nov 12 12:43:45 tc-mgmnt-nm01 systemd[1]: zabbix-server.service: Control process exited, code=exited status=1
    Nov 12 12:43:45 tc-mgmnt-nm01 systemd[1]: zabbix-server.service: Failed with result 'exit-code'.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Look in /var/log/zabbix/zabbix_server.log to see if there are messages that explain why the server stopped or could not be started.

    Comment

    • pang2020
      Junior Member
      • Apr 2020
      • 2

      #3
      1637:20201116:191653.108 One child process died (PID:1638,exitcode/signal:1). Exiting ...
      1637:20201116:191653.109 syncing trend data...
      1637:20201116:191653.109 syncing trend data done
      1637:20201116:191653.109 Zabbix Server stopped. Zabbix 5.2.1 (revision 4d0d532fb0).
      1644:20201116:191703.373 Starting Zabbix Server. Zabbix 5.2.1 (revision 4d0d532fb0).
      1644:20201116:191703.373 ****** Enabled features ******
      1644:20201116:191703.373 SNMP monitoring: YES
      1644:20201116:191703.373 IPMI monitoring: YES
      1644:20201116:191703.373 Web monitoring: YES
      1644:20201116:191703.373 VMware monitoring: YES
      1644:20201116:191703.373 SMTP authentication: YES
      1644:20201116:191703.373 ODBC: YES
      1644:20201116:191703.373 SSH support: YES
      1644:20201116:191703.373 IPv6 support: YES
      1644:20201116:191703.373 TLS support: YES
      1644:20201116:191703.373 ******************************
      1644:20201116:191703.373 using configuration file: /etc/zabbix/zabbix_server.conf
      1644:20201116:191703.377 current database version (mandatory/optional): 05020000/05020000
      1644:20201116:191703.377 required mandatory version: 05020000
      1644:20201116:191703.385 server #0 started [main process]
      1645:20201116:191703.385 server #1 started [configuration syncer #1]
      1645:20201116:191703.603 __mem_malloc: skipped 9 asked 108424 skip_min 264 skip_max 83160
      1645:20201116:191703.603 [file:dbconfig.c,line:98] __zbx_mem_realloc(): out of memory (requested 108424 bytes)
      1645:20201116:191703.603 [file:dbconfig.c,line:98] __zbx_mem_realloc(): please increase CacheSize configuration parameter
      1645:20201116:191703.603 === memory statistics for configuration cache ===
      1645:20201116:191703.603 free chunks of size 24 bytes: 102
      1645:20201116:191703.603 free chunks of size 32 bytes: 2
      1645:20201116:191703.603 free chunks of size 40 bytes: 2
      1645:20201116:191703.603 free chunks of size 48 bytes: 2
      1645:20201116:191703.603 free chunks of size >= 256 bytes: 9
      1645:20201116:191703.603 min chunk size: 24 bytes
      1645:20201116:191703.603 max chunk size: 83160 bytes
      1645:20201116:191703.603 memory of total size 7262248 bytes fragmented into 70375 chunks
      1645:20201116:191703.604 of those, 141008 bytes are in 117 free chunks
      1645:20201116:191703.604 of those, 7121240 bytes are in 70258 used chunks
      1645:20201116:191703.604 of those, 1125984 bytes are used by allocation overhead
      1645:20201116:191703.604 ================================
      1645:20201116:191703.604 === Backtrace: ===
      1645:20201116:191703.604 15: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x563e9678a7fc]
      1645:20201116:191703.604 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_realloc+0x160) [0x563e9678562d]
      1645:20201116:191703.605 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x198b0f) [0x563e96749b0f]
      1645:20201116:191703.605 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_reserve+0xc1) [0x563e967903da]
      1645:20201116:191703.605 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0xef) [0x563e96790652]
      1645:20201116:191703.605 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x563e96790561]
      1645:20201116:191703.605 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x563e9674a3fa]
      1645:20201116:191703.605 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1a50dc) [0x563e967560dc]
      1645:20201116:191703.605 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0xc22) [0x563e96757b9f]
      1645:20201116:191703.605 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x122) [0x563e9660a6f4]
      1645:20201116:191703.605 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x563e96799545]
      1645:20201116:191703.605 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xaa5) [0x563e965fc1a0]
      1645:20201116:191703.605 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x2ff) [0x563e9678a408]
      1645:20201116:191703.605 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x2f5) [0x563e965fb6b0]
      1645:20201116:191703.605 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f7b82a266a3]
      1645:20201116:191703.605 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x563e965fa72e]
      1644:20201116:191703.606 One child process died (PID:1645,exitcode/signal:1). Exiting ...
      1644:20201116:191703.607 syncing trend data...
      1644:20201116:191703.607 syncing trend data done
      1644:20201116:191703.607 Zabbix Server stopped. Zabbix 5.2.1 (revision 4d0d532fb0).

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        Carefully read what is written in the logs!
        «please increase CacheSize configuration parameter»

        Comment

        Working...