Ad Widget

Collapse

Zabbix Server service does not start: zabbix-server.service failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • onny92
    Junior Member
    • Jul 2023
    • 2

    #1

    Zabbix Server service does not start: zabbix-server.service failed

    Hello everyone,
    I have this problem with a Zabbix Server.
    Unfortunately the Zabbix Server service does not start.
    I kindly ask for help.​


    [root@localhost ~]# systemctl status zabbix-server
    ● zabbix-server.service - Zabbix Server
    Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendo r preset: disabled)
    Active: activating (auto-restart) (Result: exit-code) since Thu 2023-07-13 14 :30:14 CEST; 3s ago
    Process: 2377 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=1/FAIL URE)
    Process: 2364 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, sta tus=0/SUCCESS)
    Main PID: 2366 (code=exited, status=0/SUCCESS)

    From the logs I get the following:

    3648:20230713:144416.509 Starting Zabbix Server. Zabbix 5.0.2 (revision 352ca05870).
    3648:20230713:144416.509 ****** Enabled features ******
    3648:20230713:144416.509 SNMP monitoring: YES
    3648:20230713:144416.509 IPMI monitoring: YES
    3648:20230713:144416.509 Web monitoring: YES
    3648:20230713:144416.509 VMware monitoring: YES
    3648:20230713:144416.509 SMTP authentication: YES
    3648:20230713:144416.509 ODBC: YES
    3648:20230713:144416.509 SSH support: YES
    3648:20230713:144416.509 IPv6 support: YES
    3648:20230713:144416.509 TLS support: YES
    3648:20230713:144416.509 ******************************
    3648:20230713:144416.509 using configuration file: /etc/zabbix/zabbix_server.conf
    3648:20230713:144416.514 current database version (mandatory/optional): 05000000/05000001
    3648:20230713:144416.514 required mandatory version: 05000000
    3648:20230713:144416.523 server #0 started [main process]
    3655:20230713:144416.524 server Home started [configuration syncer #1]
    3655:20230713:144416.941 __mem_malloc: skipped 0 asked 24 skip_min 18446744073709551615 skip_max 0
    3655:20230713:144416.942 [file:dbconfig.c,line:96] __zbx_mem_realloc(): out of memory (requested 24 bytes)
    3655:20230713:144416.942 [file:dbconfig.c,line:96] __zbx_mem_realloc(): please increase CacheSize configuration parameter
    3655:20230713:144416.942 === memory statistics for configuration cache ===
    3655:20230713:144416.942 min chunk size: 18446744073709551615 bytes
    3655:20230713:144416.942 max chunk size: 0 bytes
    3655:20230713:144416.942 memory of total size 8388232 bytes fragmented into 73295 chunks
    3655:20230713:144416.942 of those, 0 bytes are in 0 free chunks
    3655:20230713:144416.942 of those, 7215528 bytes are in 73295 used chunks
    3655:20230713:144416.942 ================================
    3655:20230713:144416.942 === Backtrace: ===
    3655:20230713:144416.942 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x42) [0x55efbe69deba]
    3655:20230713:144416.942 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_realloc+0x169) [0x55efbe69910a]
    3655:20230713:144416.942 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x18198d) [0x55efbe66098d]
    3655:20230713:144416.942 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x18d1e7) [0x55efbe66c1e7]
    3655:20230713:144416.942 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x1367) [0x55efbe66d751]
    3655:20230713:144416.942 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x135) [0x55efbe53374e]
    3655:20230713:144416.942 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x55efbe6ac9c9]
    3655:20230713:144416.942 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xa02) [0x55efbe525d8c]
    3655:20230713:144416.942 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x305) [0x55efbe69db06]
    3655:20230713:144416.942 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x312) [0x55efbe525388]
    3655:20230713:144416.942 1: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f0d7abeb555]
    3655:20230713:144416.943 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x45409) [0x55efbe524409]
    3648:20230713:144416.945 One child process died (PID:3655,exitcode/signal:1). Exiting ...
    3648:20230713:144416.946 syncing trend data...
    3648:20230713:144416.946 syncing trend data done
    3648:20230713:144416.946 Zabbix Server stopped. Zabbix 5.0.2 (revision 352ca05870).

    Thanks to whoever replies for the help!
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    See: please increase CacheSize configuration parameter

    your configuration is larger than the config cachesize value.

    Comment

    • onny92
      Junior Member
      • Jul 2023
      • 2

      #3
      Thank you!
      the solution worked.

      have a good day!

      Comment

      Working...