Ad Widget

Collapse

Zabbix Server not starting properly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • target
    Junior Member
    • Nov 2022
    • 21

    #1

    Zabbix Server not starting properly

    Hello All,

    I am facing an issue to start properly the zabbix server service. Below are the outputs from the server.

    ================================================== ===========================
    [zabbix@zabbix ~]$ systemctl status zabbix-server
    ● 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 Wed 2022-11-23 09:45:57 UTC; 1s ago
    Process: 2301 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=1/FAILURE)
    Process: 2293 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
    Main PID: 2295 (code=exited, status=0/SUCCESS)





    [zabbix@zabbix ~]$ zabbix_server -V
    zabbix_server (Zabbix) 6.2.3
    Revision 98ee88fc19d 21 September 2022, compilation time: Sep 21 2022 10:26:52

    Copyright (C) 2022 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.

    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit (http://www.openssl.org/).

    Compiled with OpenSSL 1.1.1k FIPS 25 Mar 2021
    Running with OpenSSL 1.1.1k FIPS 25 Mar 2021

    ​​



    2667:20221123:094848.480 Starting Zabbix Server. Zabbix 6.2.3 (revision 98ee88fc19d).
    2667:20221123:094848.481 ****** Enabled features ******
    2667:20221123:094848.481 SNMP monitoring: YES
    2667:20221123:094848.481 IPMI monitoring: YES
    2667:20221123:094848.481 Web monitoring: YES
    2667:20221123:094848.481 VMware monitoring: YES
    2667:20221123:094848.481 SMTP authentication: YES
    2667:20221123:094848.481 ODBC: YES
    2667:20221123:094848.481 SSH support: YES
    2667:20221123:094848.481 IPv6 support: YES
    2667:20221123:094848.481 TLS support: YES
    2667:20221123:094848.481 ******************************
    2667:20221123:094848.481 using configuration file: /etc/zabbix/zabbix_server.conf
    2667:20221123:094848.491 current database version (mandatory/optional): 06020000/06020002
    2667:20221123:094848.491 required mandatory version: 06020000
    2668:20221123:094848.496 starting HA manager
    2668:20221123:094848.511 HA manager started in active mode
    2667:20221123:094848.512 server #0 started [main process]
    2669:20221123:094848.513 server Home started [service manager #1]
    2670:20221123:094848.513 server Forum started [configuration syncer #1]
    2670:20221123:094848.544 conflicting PSK values for PSK identity "ZBX-PSK-01" on hosts "LancomProxy" and "VerdeProxy" (and maybe others)
    2670:20221123:094848.975 __mem_malloc: skipped 0 asked 48 skip_min 18446744073709551615 skip_max 0
    2670:20221123:094848.975 === memory statistics for configuration cache ===
    2670:20221123:094848.975 free chunks of size 24 bytes: 1
    2670:20221123:094848.975 free chunks of size 40 bytes: 3
    2670:20221123:094848.975 min chunk size: 24 bytes
    2670:20221123:094848.975 max chunk size: 40 bytes
    2670:20221123:094848.975 memory of total size 29081808 bytes fragmented into 279516 chunks
    2670:20221123:094848.975 of those, 144 bytes are in 4 free chunks
    2670:20221123:094848.975 of those, 29081664 bytes are in 279512 used chunks
    2670:20221123:094848.975 of those, 4472240 bytes are used by allocation overhead
    2670:20221123:094848.975 ================================
    2670:20221123:094848.975 === Backtrace: ===
    2670:20221123:094848.976 15: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x561e43d0be24]
    2670:20221123:094848.976 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_shmem_malloc+0x108) [0x561e43d06f5d]
    2670:20221123:094848.976 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1f7f0b) [0x561e43c88f0b]
    2670:20221123:094848.976 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0x12c) [0x561e43d0f285]
    2670:20221123:094848.976 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x561e43d0f157]
    2670:20221123:094848.976 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x561e43c8980a]
    2670:20221123:094848.976 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x202c92) [0x561e43c93c92]
    2670:20221123:094848.976 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x12bc) [0x561e43c96a38]
    2670:20221123:094848.976 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x14f) [0x561e43b14872]
    2670:20221123:094848.976 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x561e43d18941]
    2670:20221123:094848.976 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x7197e) [0x561e43b0297e]
    2670:20221123:094848.976 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0x83e) [0x561e43b03b9a]
    2670:20221123:094848.976 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_daemon_start+0x3b1) [0x561e43d0ba3a]
    2670:20221123:094848.976 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x36b) [0x561e43b0221e]
    2670:20221123:094848.976 1: /lib64/libc.so.6(__libc_start_main+0xe5) [0x7f9374fd6d85]
    2670:20221123:094848.976 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x561e43b00d8e]
    2670:20221123:094848.976 [file:dbconfig.c,line:97] __zbx_shmem_malloc(): out of memory (requested 48 bytes)
    2670:20221123:094848.976 [file:dbconfig.c,line:97] __zbx_shmem_malloc(): please increase CacheSize configuration parameter
    2667:20221123:094848.980 One child process died (PID:2670,exitcode/signal:1). Exiting ...
    2668:20221123:094848.982 HA manager has been paused
    2668:20221123:094849.006 HA manager has been stopped
    2667:20221123:094849.007 Zabbix Server stopped. Zabbix 6.2.3 (revision 98ee88fc19d).
    2692:20221123:094859.234 Starting Zabbix Server. Zabbix 6.2.3 (revision 98ee88fc19d).
    2692:20221123:094859.234 ****** Enabled features ******
    2692:20221123:094859.234 SNMP monitoring: YES
    2692:20221123:094859.234 IPMI monitoring: YES
    2692:20221123:094859.234 Web monitoring: YES
    2692:20221123:094859.234 VMware monitoring: YES
    2692:20221123:094859.234 SMTP authentication: YES
    2692:20221123:094859.234 ODBC: YES
    2692:20221123:094859.234 SSH support: YES
    2692:20221123:094859.234 IPv6 support: YES
    2692:20221123:094859.234 TLS support: YES
    2692:20221123:094859.234 ******************************
    2692:20221123:094859.234 using configuration file: /etc/zabbix/zabbix_server.conf
    2692:20221123:094859.245 current database version (mandatory/optional): 06020000/06020002
    2692:20221123:094859.245 required mandatory version: 06020000
    2693:20221123:094859.250 starting HA manager
    2693:20221123:094859.265 HA manager started in active mode
    2692:20221123:094859.266 server #0 started [main process]
    2694:20221123:094859.266 server Home started [service manager #1]
    2695:20221123:094859.267 server Forum started [configuration syncer #1]
    2695:20221123:094859.300 conflicting PSK values for PSK identity "ZBX-PSK-01" on hosts "LancomProxy" and "VerdeProxy" (and maybe others)
    2695:20221123:094859.726 __mem_malloc: skipped 0 asked 48 skip_min 18446744073709551615 skip_max 0
    2695:20221123:094859.727 === memory statistics for configuration cache ===
    2695:20221123:094859.727 free chunks of size 24 bytes: 1
    2695:20221123:094859.727 free chunks of size 40 bytes: 3
    2695:20221123:094859.727 min chunk size: 24 bytes
    2695:20221123:094859.727 max chunk size: 40 bytes
    2695:20221123:094859.727 memory of total size 29081808 bytes fragmented into 279516 chunks
    2695:20221123:094859.727 of those, 144 bytes are in 4 free chunks
    2695:20221123:094859.727 of those, 29081664 bytes are in 279512 used chunks
    2695:20221123:094859.727 of those, 4472240 bytes are used by allocation overhead
    2695:20221123:094859.727 ================================
    2695:20221123:094859.727 === Backtrace: ===
    2695:20221123:094859.728 15: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x55ac72f30e24]
    2695:20221123:094859.728 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_shmem_malloc+0x108) [0x55ac72f2bf5d]
    2695:20221123:094859.728 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1f7f0b) [0x55ac72eadf0b]
    2695:20221123:094859.728 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0x12c) [0x55ac72f34285]
    2695:20221123:094859.728 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x55ac72f34157]
    2695:20221123:094859.728 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x55ac72eae80a]
    2695:20221123:094859.728 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x202c92) [0x55ac72eb8c92]
    2695:20221123:094859.728 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x12bc) [0x55ac72ebba38]
    2695:20221123:094859.728 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x14f) [0x55ac72d39872]
    2695:20221123:094859.728 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x55ac72f3d941]
    2695:20221123:094859.728 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x7197e) [0x55ac72d2797e]
    2695:20221123:094859.728 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0x83e) [0x55ac72d28b9a]
    2695:20221123:094859.728 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_daemon_start+0x3b1) [0x55ac72f30a3a]
    2695:20221123:094859.728 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x36b) [0x55ac72d2721e]
    2695:20221123:094859.728 1: /lib64/libc.so.6(__libc_start_main+0xe5) [0x7f35d70ddd85]
    2695:20221123:094859.728 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x55ac72d25d8e]
    2695:20221123:094859.728 [file:dbconfig.c,line:97] __zbx_shmem_malloc(): out of memory (requested 48 bytes)
    2695:20221123:094859.728 [file:dbconfig.c,line:97] __zbx_shmem_malloc(): please increase CacheSize configuration parameter
    2692:20221123:094859.731 One child process died (PID:2695,exitcode/signal:1). Exiting ...
    2693:20221123:094859.732 HA manager has been paused
    2693:20221123:094859.747 HA manager has been stopped
    2692:20221123:094859.749 Zabbix Server stopped. Zabbix 6.2.3 (revision 98ee88fc19d).
    2705:20221123:094909.984 Starting Zabbix Server. Zabbix 6.2.3 (revision 98ee88fc19d).
    2705:20221123:094909.984 ****** Enabled features ******
    2705:20221123:094909.984 SNMP monitoring: YES
    2705:20221123:094909.984 IPMI monitoring: YES
    2705:20221123:094909.984 Web monitoring: YES
    2705:20221123:094909.984 VMware monitoring: YES
    2705:20221123:094909.984 SMTP authentication: YES
    2705:20221123:094909.984 ODBC: YES
    2705:20221123:094909.984 SSH support: YES
    2705:20221123:094909.984 IPv6 support: YES
    2705:20221123:094909.984 TLS support: YES
    2705:20221123:094909.984 ******************************
    2705:20221123:094909.984 using configuration file: /etc/zabbix/zabbix_server.conf
    2705:20221123:094909.996 current database version (mandatory/optional): 06020000/06020002
    2705:20221123:094909.996 required mandatory version: 06020000
    2706:20221123:094910.002 starting HA manager
    2706:20221123:094910.018 HA manager started in active mode
    2705:20221123:094910.019 server #0 started [main process]
    2707:20221123:094910.020 server Home started [service manager #1]
    2708:20221123:094910.020 server Forum started [configuration syncer #1]
    2708:20221123:094910.051 conflicting PSK values for PSK identity "ZBX-PSK-01" on hosts "LancomProxy" and "VerdeProxy" (and maybe others)
    2708:20221123:094910.493 __mem_malloc: skipped 0 asked 48 skip_min 18446744073709551615 skip_max 0
    2708:20221123:094910.493 === memory statistics for configuration cache ===
    2708:20221123:094910.493 free chunks of size 24 bytes: 1
    2708:20221123:094910.493 free chunks of size 40 bytes: 3
    2708:20221123:094910.493 min chunk size: 24 bytes
    2708:20221123:094910.493 max chunk size: 40 bytes
    2708:20221123:094910.493 memory of total size 29081808 bytes fragmented into 279516 chunks
    2708:20221123:094910.493 of those, 144 bytes are in 4 free chunks
    2708:20221123:094910.493 of those, 29081664 bytes are in 279512 used chunks
    2708:20221123:094910.493 of those, 4472240 bytes are used by allocation overhead
    2708:20221123:094910.493 ================================
    2708:20221123:094910.493 === Backtrace: ===
    2708:20221123:094910.494 15: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x5650bc9fde24]
    2708:20221123:094910.494 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_shmem_malloc+0x108) [0x5650bc9f8f5d]
    2708:20221123:094910.494 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1f7f0b) [0x5650bc97af0b]
    2708:20221123:094910.494 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0x12c) [0x5650bca01285]
    2708:20221123:094910.494 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x5650bca01157]
    2708:20221123:094910.494 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x5650bc97b80a]
    2708:20221123:094910.494 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x202c92) [0x5650bc985c92]
    2708:20221123:094910.494 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x12bc) [0x5650bc988a38]
    2708:20221123:094910.494 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x14f) [0x5650bc806872]
    2708:20221123:094910.494 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x5650bca0a941]
    2708:20221123:094910.494 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x7197e) [0x5650bc7f497e]
    2708:20221123:094910.494 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0x83e) [0x5650bc7f5b9a]
    2708:20221123:094910.494 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_daemon_start+0x3b1) [0x5650bc9fda3a]
    2708:20221123:094910.494 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x36b) [0x5650bc7f421e]
    2708:20221123:094910.494 1: /lib64/libc.so.6(__libc_start_main+0xe5) [0x7fc09faabd85]
    2708:20221123:094910.494 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x5650bc7f2d8e]
    2708:20221123:094910.494 [file:dbconfig.c,line:97] __zbx_shmem_malloc(): out of memory (requested 48 bytes)
    2708:20221123:094910.494 [file:dbconfig.c,line:97] __zbx_shmem_malloc(): please increase CacheSize configuration parameter
    2705:20221123:094910.499 One child process died (PID:2708,exitcode/signal:1). Exiting ...
    2706:20221123:094910.499 HA manager has been paused
    2706:20221123:094910.582 HA manager has been stopped
    2705:20221123:094910.583 Zabbix Server stopped. Zabbix 6.2.3 (revision 98ee88fc19d)

    ================================================== ================================================== =================


    I have tried to increase the cache memory in zabbix server configuration but without any luck.


    Best Regards,
  • target
    Junior Member
    • Nov 2022
    • 21

    #2
    Hello All,

    Finally I increased the Cache to 256GB, reboot the server and now the service is starting without any errors.


    Best Regards,

    Comment


    • Hamardaban
      Hamardaban commented
      Editing a comment
      What about "conflicting PSK values for PSK identity "ZBX-PSK-01" on hosts "LancomProxy" and "VerdeProxy" (and maybe others)" ?
  • target
    Junior Member
    • Nov 2022
    • 21

    #3
    Thanks for noticing! I replaced them.

    Comment

    Working...