Ad Widget

Collapse

zabbix-server crashing every 10-15 seconds (Zabbix 7.2 mariadb 11.5) fresh install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ftb3
    Junior Member
    • Sep 2024
    • 8

    #1

    zabbix-server crashing every 10-15 seconds (Zabbix 7.2 mariadb 11.5) fresh install

    I have 9 hosts back in my fresh install the following block happens at the crash, the kicker is, i'm not running any trappers of any kind in the zabbix_server.conf. I'm not sure what to do, i' have been trying to get this to work for a week now, splitting db to it's own server doesn't fix it, running all three 'appliances' on one server doesn't fix it.
    mariadb 11.5 clean install status (with the only edit to my.cnf to be bind-address=0.0.0.0" just says "updating tables if needed" but the error log is full of (Got an error reading communication packets) again this happens even if i do it in an 'all in one' configuration, 2 servers (app/web + dp) or three servers (app + web + db).

    It all ends the same, trappers I"m not running keeps zabbix from working, and crashes the zabbix-server service, meanwhile, apache, and zabbix-server and mariadb no longer get alone after 7.0.2 (The last time i had anything working) lol

    I admit I am new to zabbix, *nix and databases (since august this year). So I'm just confused and want to learn, so I do I don't know an answer, be gentle lol



    29893:20250101:085331.512 === Backtrace: ===
    29893:20250101:085331.514 18: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_backtrace+0x52) [0x5a3f472a02d2]
    29893:20250101:085331.514 17: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_log_fatal_info+0x13d) [0x5a3f472a050d]
    29893:20250101:085331.514 16: /usr/sbin/zabbix_server: trapper #4 [processing data](+0x3f7c9a) [0x5a3f472a0c9a]
    29893:20250101:085331.514 15: /lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x71c13c845320]
    29893:20250101:085331.514 14: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_is_uint_n_range+0x12) [0x5a3f472bfe52]
    29893:20250101:085331.514 13: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_autoreg_flush_hosts_server+0x1d2) [0x5a3f46ff5062]
    29893:20250101:085331.514 12: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_autoreg_update_host_server+0xa9) [0x5a3f46ff5919]
    29893:20250101:085331.514 11: /usr/sbin/zabbix_server: trapper #4 [processing data](+0x1131db) [0x5a3f46fbc1db]
    29893:20250101:085331.514 10: /usr/sbin/zabbix_server: trapper #4 [processing data](+0x1133dc) [0x5a3f46fbc3dc]
    29893:20250101:085331.515 9: /usr/sbin/zabbix_server: trapper #4 [processing data](send_list_of_active_checks_json+0x2b8) [0x5a3f46fbce18]
    29893:20250101:085331.515 8: /usr/sbin/zabbix_server: trapper #4 [processing data](+0x11189f) [0x5a3f46fba89f]
    29893:20250101:085331.515 7: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_trapper_thread+0x442) [0x5a3f46fbc092]
    29893:20250101:085331.515 6: /usr/sbin/zabbix_server: trapper #4 [processing data](zbx_thread_start+0x24) [0x5a3f471be424]
    29893:20250101:085331.515 5: /usr/sbin/zabbix_server: trapper #4 [processing data](+0xd4b32) [0x5a3f46f7db32]
    29893:20250101:085331.515 4: /usr/sbin/zabbix_server: trapper #4 [processing data](MAIN_ZABBIX_ENTRY+0x102f) [0x5a3f46f7ef8f]
    29893:20250101:085331.515 3: /usr/sbin/zabbix_server: trapper #4 [processing data](main+0x3ab) [0x5a3f46f72e7b]
    29893:20250101:085331.515 2: /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x71c13c82a1ca]
    29893:20250101:085331.515 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x71c13c82a28b]
    29893:20250101:085331.515 0: /usr/sbin/zabbix_server: trapper #4 [processing data](_start+0x25) [0x5a3f46f7a015]

    here's a grep for the word trapper from my conf file:
    sudo grep -i "trapper" /etc/zabbix/zabbix_server.conf
    # Listen port for trapper.
    ### Option: StartTrappers
    # Number of pre-forked instances of trappers.
    # Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
    # At least one trapper process must be running to display server availability and view queue
    # StartTrappers=5
    ### Option: SNMPTrapperFile
    # SNMPTrapperFile=/tmp/zabbix_traps.tmp
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    ### Option: StartSNMPTrapper
    # If 1, SNMP trapper process is started.
    # StartSNMPTrapper=0
    # List of comma delimited IP addresses that the trapper should listen on.
    # Trapper will listen on all network interfaces if this parameter is missing.
    ### Option: TrapperTimeout
    # TrapperTimeout=300




    Last edited by ftb3; 01-01-2025, 17:11.
  • ftb3
    Junior Member
    • Sep 2024
    • 8

    #2
    Originally posted by Donkey
    Please try this command, and let us know the output:

    Code:
    sudo grep -v -E "^(#|$)" /etc/zabbix/zabbix_server.conf
    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    PidFile=/run/zabbix/zabbix_server.pid
    SocketDir=/run/zabbix
    DBHost=<IP>
    DBName=zabbix
    DBSchema=zabbix
    DBUser=zabbix
    DBPassword=<my db password>
    DBPort=5432
    StartPollers=5
    StartAgentPollers=1
    StartSNMPPollers=2
    StartVMwareCollectors=2
    VMwareFrequency=60
    VMwarePerfFrequency=60
    VMwareCacheSize=1G
    VMwareTimeout=120
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    CacheSize=16G
    HistoryCacheSize=1G
    HistoryIndexCacheSize=1G
    TrendCacheSize=1G
    ValueCacheSize=4G
    Timeout=4
    FpingLocation=/usr/bin/fping
    Fping6Location=/usr/bin/fping6
    LogSlowQueries=3000
    Include=/etc/zabbix/zabbix_server.d/*.conf
    StatsAllowedIP=127.0.0.1
    EnableGlobalScripts=0


    That's the output, and yes, for S&G's i built it in postgres to see if it did the same thing, and in fact it does, the second I had autodiscovery of linux server (

    Comment

    Working...