Ad Widget

Collapse

Zabbix not starting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ohanzee
    Junior Member
    • Sep 2019
    • 2

    #1

    Zabbix not starting

    I have problam with starting up zabbix. After execute systemctl status zabbix-server im watching samthig like that:

    ● zabbix-server.service - Zabbix Server
    Loaded: loaded (/lib/systemd/system/zabbix-server.service; disabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Wed 2019-09-04 11:36:54 UTC; 263ms ago
    Process: 6900 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
    Main PID: 6913 (code=exited, status=1/FAILURE)

    wrz 04 11:36:54 monitorowanie systemd[1]: zabbix-server.service: Main process exited, code=exited, status=1/FAILURE
    wrz 04 11:36:54 monitorowanie systemd[1]: zabbix-server.service: Failed with result 'exit-code'.


    in var/log/zabbix/zabbix-server.log i finded something like that:

    7196:20190904:113849.975 Starting Zabbix Server. Zabbix 4.2.6 (revision d3bb18bbc4).
    7196:20190904:113849.975 ****** Enabled features ******
    7196:20190904:113849.975 SNMP monitoring: YES
    7196:20190904:113849.975 IPMI monitoring: YES
    7196:20190904:113849.975 Web monitoring: YES
    7196:20190904:113849.975 VMware monitoring: YES
    7196:20190904:113849.975 SMTP authentication: YES
    7196:20190904:113849.975 Jabber notifications: NO
    7196:20190904:113849.975 Ez Texting notifications: YES
    7196:20190904:113849.975 ODBC: YES
    7196:20190904:113849.975 SSH2 support: YES
    7196:20190904:113849.975 IPv6 support: YES
    7196:20190904:113849.975 TLS support: YES
    7196:20190904:113849.975 ******************************
    7196:20190904:113849.976 using configuration file: /etc/zabbix/zabbix_server.conf
    7196:20190904:113849.989 current database version (mandatory/optional): 04020000/04020001
    7196:20190904:113849.989 required mandatory version: 04020000
    7196:20190904:113850.381 __mem_malloc: skipped 10 asked 108424 skip_min 368 skip_max 32640
    7196:20190904:113850.382 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 108424 bytes)
    7196:20190904:113850.382 [file:dbconfig.c,line:94] __zbx_mem_realloc(): please increase CacheSize configuration parameter
    7196:20190904:113850.382 === memory statistics for configuration cache ===
    7196:20190904:113850.382 free chunks of size 24 bytes: 89
    7196:20190904:113850.382 free chunks of size 32 bytes: 78
    7196:20190904:113850.382 free chunks of size 40 bytes: 3
    7196:20190904:113850.382 free chunks of size 48 bytes: 3
    7196:20190904:113850.382 free chunks of size 56 bytes: 4
    7196:20190904:113850.382 free chunks of size >= 256 bytes: 10
    7196:20190904:113850.382 min chunk size: 24 bytes
    7196:20190904:113850.382 max chunk size: 32640 bytes
    7196:20190904:113850.382 memory of total size 8388232 bytes fragmented into 69596 chunks
    7196:20190904:113850.382 of those, 103048 bytes are in 187 free chunks
    7196:20190904:113850.382 of those, 7171664 bytes are in 69409 used chunks
    7196:20190904:113850.382 ================================
    7196:20190904:113850.382 === Backtrace: ===
    7196:20190904:113850.383 13: /usr/sbin/zabbix_server(zbx_backtrace+0x4e) [0x55c6691fc12b]
    7196:20190904:113850.383 12: /usr/sbin/zabbix_server(__zbx_mem_realloc+0x160) [0x55c6691f7506]
    7196:20190904:113850.383 11: /usr/sbin/zabbix_server(+0x17f671) [0x55c6691be671]
    7196:20190904:113850.383 10: /usr/sbin/zabbix_server(zbx_hashset_reserve+0xc1) [0x55c669201504]
    7196:20190904:113850.383 9: /usr/sbin/zabbix_server(zbx_hashset_insert_ext+0xef) [0x55c66920177c]
    7196:20190904:113850.383 8: /usr/sbin/zabbix_server(zbx_hashset_insert+0x2d) [0x55c66920168b]
    7196:20190904:113850.383 7: /usr/sbin/zabbix_server(DCfind_id+0x9b) [0x55c6691bf034]
    7196:20190904:113850.383 6: /usr/sbin/zabbix_server(+0x18ae76) [0x55c6691c9e76]
    7196:20190904:113850.383 5: /usr/sbin/zabbix_server(DCsync_configuration+0xb6d) [0x55c6691cb64b]
    7196:20190904:113850.383 4: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0x72e) [0x55c66907ec23]
    7196:20190904:113850.383 3: /usr/sbin/zabbix_server(daemon_start+0x2f0) [0x55c6691fb854]
    7196:20190904:113850.384 2: /usr/sbin/zabbix_server(main+0x305) [0x55c66907e4df]
    7196:20190904:113850.384 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7ff151a00b97]
    7196:20190904:113850.384 0: /usr/sbin/zabbix_server(_start+0x2a) [0x55c66907d58a]
    7242:20190904:113900.483 Starting Zabbix Server. Zabbix 4.2.6 (revision d3bb18bbc4).
    7242:20190904:113900.484 ****** Enabled features ******
    7242:20190904:113900.484 SNMP monitoring: YES
    7242:20190904:113900.484 IPMI monitoring: YES
    7242:20190904:113900.484 Web monitoring: YES
    7242:20190904:113900.484 VMware monitoring: YES
    7242:20190904:113900.484 SMTP authentication: YES
    7242:20190904:113900.484 Jabber notifications: NO
    7242:20190904:113900.484 Ez Texting notifications: YES
    7242:20190904:113900.485 ODBC: YES
    7242:20190904:113900.485 SSH2 support: YES
    7242:20190904:113900.485 IPv6 support: YES
    7242:20190904:113900.485 TLS support: YES
    7242:20190904:113900.485 ******************************
    7242:20190904:113900.486 using configuration file: /etc/zabbix/zabbix_server.conf
    7242:20190904:113900.497 current database version (mandatory/optional): 04020000/04020001
    7242:20190904:113900.498 required mandatory version: 04020000
    7242:20190904:113900.883 __mem_malloc: skipped 10 asked 108424 skip_min 368 skip_max 32640
    7242:20190904:113900.883 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 108424 bytes)
    7242:20190904:113900.883 [file:dbconfig.c,line:94] __zbx_mem_realloc(): please increase CacheSize configuration parameter
    7242:20190904:113900.883 === memory statistics for configuration cache ===
    7242:20190904:113900.883 free chunks of size 24 bytes: 89
    7242:20190904:113900.883 free chunks of size 32 bytes: 78
    7242:20190904:113900.884 free chunks of size 40 bytes: 3
    7242:20190904:113900.884 free chunks of size 48 bytes: 3
    7242:20190904:113900.884 free chunks of size 56 bytes: 4
    7242:20190904:113900.884 free chunks of size >= 256 bytes: 10
    7242:20190904:113900.884 min chunk size: 24 bytes
    7242:20190904:113900.884 max chunk size: 32640 bytes
    7242:20190904:113900.884 memory of total size 8388232 bytes fragmented into 69596 chunks
    7242:20190904:113900.884 of those, 103048 bytes are in 187 free chunks
    7242:20190904:113900.884 of those, 7171664 bytes are in 69409 used chunks
    7242:20190904:113900.884 ================================
    7242:20190904:113900.884 === Backtrace: ===
    7242:20190904:113900.885 13: /usr/sbin/zabbix_server(zbx_backtrace+0x4e) [0x5599ae2f412b]
    7242:20190904:113900.885 12: /usr/sbin/zabbix_server(__zbx_mem_realloc+0x160) [0x5599ae2ef506]
    7242:20190904:113900.885 11: /usr/sbin/zabbix_server(+0x17f671) [0x5599ae2b6671]
    7242:20190904:113900.885 10: /usr/sbin/zabbix_server(zbx_hashset_reserve+0xc1) [0x5599ae2f9504]
    7242:20190904:113900.885 9: /usr/sbin/zabbix_server(zbx_hashset_insert_ext+0xef) [0x5599ae2f977c]
    7242:20190904:113900.885 8: /usr/sbin/zabbix_server(zbx_hashset_insert+0x2d) [0x5599ae2f968b]
    7242:20190904:113900.885 7: /usr/sbin/zabbix_server(DCfind_id+0x9b) [0x5599ae2b7034]
    7242:20190904:113900.885 6: /usr/sbin/zabbix_server(+0x18ae76) [0x5599ae2c1e76]
    7242:20190904:113900.885 5: /usr/sbin/zabbix_server(DCsync_configuration+0xb6d) [0x5599ae2c364b]
    7242:20190904:113900.885 4: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0x72e) [0x5599ae176c23]
    7242:20190904:113900.885 3: /usr/sbin/zabbix_server(daemon_start+0x2f0) [0x5599ae2f3854]
    7242:20190904:113900.885 2: /usr/sbin/zabbix_server(main+0x305) [0x5599ae1764df]
    7242:20190904:113900.885 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f5dc9e27b97]
    7242:20190904:113900.885 0: /usr/sbin/zabbix_server(_start+0x2a) [0x5599ae17558a]


    why zabbix not starting ?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    There is "please increase CacheSize configuration parameter" in the log. Did you adjust the CacheSize?

    Comment

    • ohanzee
      Junior Member
      • Sep 2019
      • 2

      #3
      I'm sorry, I didn't notice it in the log. After increasing the CacheSize parameter Zabbix started. Thank you very much for help.

      Comment

      Working...