Ad Widget

Collapse

Zabbix Windows Agent 6.4.5 crashing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobinH
    Member
    • Jul 2023
    • 55

    #1

    Zabbix Windows Agent 6.4.5 crashing

    Hello!

    I have several servers with Zabbix agents that crash randomly, sometimes after an hour, sometimes a day.
    Restarting the service is no problem, but it feels very insecure when the service keeps crashing.
    I have been trying to understand what I can do to solve the problem, but need all the help I can get…

    Is there anyone with the same problem or has a solution?

    Code:
      9472:20230822:084539.180 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
      9472:20230822:084539.562 agent #0 started [main process]
      6096:20230822:084539.563 agent #1 started [collector]
      3004:20230822:084539.564 agent #2 started[listener #1]
      7092:20230822:084539.565 agent #3 started[listener #2]
      8784:20230822:084539.565 agent #4 started[listener #3]
      7092:20230823:231914.981 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      8784:20230823:232015.989 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      7092:20230823:232015.991 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      8784:20230823:232117.006 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      8784:20230823:232218.015 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      7092:20230823:232218.016 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      8784:20230823:232319.024 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      7092:20230823:232420.023 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      8784:20230823:232420.025 get_perf_counter_value_by_path(): call to PdhOpenQuery() failed: [0x00000102] unable to find message text: [0x0000013D] The system cannot find message text for message number 0x%1 in the message file for %2.
      6096:20230823:232514.279 Unhandled exception c0000005 detected at 0x00007FFA0D947F35. Crashing ...
      6096:20230823:232514.280 ====== Fatal information: ======
      6096:20230823:232514.280 Program counter: 0x0d947f35
      6096:20230823:232514.281 === Registers: ===
      6096:20230823:232514.281 r8      =          110b2f0 =             17871600 =             17871600
      6096:20230823:232514.282 r9      =          110b330 =             17871664 =             17871664
      6096:20230823:232514.283 r10     =          112bad2 =             18004690 =             18004690
      6096:20230823:232514.283 r11     =     7ff5fffd0222 =      140694538486306 =      140694538486306
      6096:20230823:232514.284 r12     =          112bab8 =             18004664 =             18004664
      6096:20230823:232514.285 r13     =              430 =                 1072 =                 1072
      6096:20230823:232514.286 r14     =                0 =                    0 =                    0
      6096:20230823:232514.286 r15     =          110b2f0 =             17871600 =             17871600
      6096:20230823:232514.287 rdi     =          110b2e0 =             17871584 =             17871584
      6096:20230823:232514.288 rsi     =               c0 =                  192 =                  192
      6096:20230823:232514.289 rbp     =           400000 =              4194304 =              4194304
      6096:20230823:232514.289 rbx     =          110b2f0 =             17871600 =             17871600
      6096:20230823:232514.290 rdx     =         fe8cea1a =           4270647834 =           4270647834
      6096:20230823:232514.290 rax     =          110a350 =             17867600 =             17867600
      6096:20230823:232514.293 rcx     =              f90 =                 3984 =                 3984
      6096:20230823:232514.294 rsp     =          267e730 =             40363824 =             40363824
      6096:20230823:232514.294 efl     =            10206 =                66054 =                66054
      6096:20230823:232514.295 csgsfs  =         332b5300 =            858477312 =            858477312
      6096:20230823:232514.295 === Backtrace: ===
      6096:20230823:232514.412 19: C:\Windows\SYSTEM32\ntdll.dll(RtlFreeHeap+0xf5) [0xd947f35]
      6096:20230823:232514.412 18: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x15af) [0xd19d47f]
      6096:20230823:232514.413 17: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x1078) [0xd19cf48]
      6096:20230823:232514.413 16: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x403d) [0xd19ff0d]
      6096:20230823:232514.414 15: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x380e) [0xd19f6de]
      6096:20230823:232514.415 14: C:\Windows\System32\ADVAPI32.dll(PerfRegQueryValue+0x31) [0xd1a02a1]
      6096:20230823:232514.415 13: C:\Windows\System32\KERNELBASE.dll(UnsubscribeFeatureUsageFlush+0xdb2) [0x9d711c2]
      6096:20230823:232514.416 12: C:\Windows\System32\KERNELBASE.dll(RegQueryValueExW+0x108) [0x9cf7df8]
      6096:20230823:232514.416 11: C:\Windows\SYSTEM32\pdh.dll(PdhCloseQuery+0x628) [0x5cc8ae8]
      6096:20230823:232514.417 10: C:\Windows\SYSTEM32\pdh.dll(PdhGetCounterTimeBase+0x63d) [0x5cca37d]
      6096:20230823:232514.417 9: C:\Windows\SYSTEM32\pdh.dll(PdhCollectQueryData+0x31a0) [0x5cc8450]
      6096:20230823:232514.418 8: C:\Windows\SYSTEM32\pdh.dll(PdhGetCounterTimeBase+0x3a75) [0x5ccd7b5]
      6096:20230823:232514.419 7: C:\Windows\SYSTEM32\pdh.dll(PdhCollectQueryData+0xbf) [0x5cc536f]
      6096:20230823:232514.419 6: C:\Windows\SYSTEM32\pdh.dll(PdhCollectQueryData+0x4b) [0x5cc52fb]
      6096:20230823:232514.420 5: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400abdd9]
      6096:20230823:232514.420 4: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ad317]
      6096:20230823:232514.421 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x40086597]
      6096:20230823:232514.421 2: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x40221d30]
      6096:20230823:232514.422 1: C:\Windows\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0xcb07ad4]
      6096:20230823:232514.422 0: C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0xd98a371]
      6096:20230823:232514.428 ================================
      6096:20230823:232515.904 Unhandled exception c0000005 detected at 0x00007FFA0D947F35. Crashing ...
      6096:20230823:232515.905 ====== Fatal information: ======
      6096:20230823:232515.905 Program counter: 0x0d947f35
      6096:20230823:232515.906 === Registers: ===
      6096:20230823:232515.906 r8      =          110a3a0 =             17867680 =             17867680
      6096:20230823:232515.907 r9      =          267f010 =             40366096 =             40366096
      6096:20230823:232515.908 r10     =                0 =                    0 =                    0
      6096:20230823:232515.908 r11     =              246 =                  582 =                  582
      6096:20230823:232515.909 r12     =     7ffa0d190000 =      140711938293760 =      140711938293760
      6096:20230823:232515.909 r13     =          267f010 =             40366096 =             40366096
      6096:20230823:232515.910 r14     =                0 =                    0 =                    0
      6096:20230823:232515.910 r15     =          110a3a0 =             17867680 =             17867680
      6096:20230823:232515.911 rdi     =          110a390 =             17867664 =             17867664
      6096:20230823:232515.911 rsi     =               c0 =                  192 =                  192
      6096:20230823:232515.912 rbp     =           400000 =              4194304 =              4194304
      6096:20230823:232515.912 rbx     =          110a3a0 =             17867680 =             17867680
      6096:20230823:232515.913 rdx     =         fe8cea1a =           4270647834 =           4270647834
      6096:20230823:232515.913 rax     =          110a350 =             17867600 =             17867600
      6096:20230823:232515.914 rcx     =               40 =                   64 =                   64
      6096:20230823:232515.915 rsp     =          267cf60 =             40357728 =             40357728
      6096:20230823:232515.915 efl     =            10206 =                66054 =                66054
      6096:20230823:232515.916 csgsfs  =         332b5300 =            858477312 =            858477312
      6096:20230823:232515.916 === Backtrace: ===
      6096:20230823:232515.984 29: C:\Windows\SYSTEM32\ntdll.dll(RtlFreeHeap+0xf5) [0xd947f35]
      6096:20230823:232515.985 28: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x359b) [0xd19f46b]
      6096:20230823:232515.986 27: C:\Windows\System32\ADVAPI32.dll(LsaSetForestTrustInformation2+0x167a) [0xd1aef0a]
      6096:20230823:232515.986 26: C:\Windows\System32\msvcrt.dll(_C_specific_handler+0x1a5) [0xcc78175]
      6096:20230823:232515.986 25: C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x19f) [0xd9d58af]
      6096:20230823:232515.987 24: C:\Windows\SYSTEM32\ntdll.dll(RtlUnwindEx+0x51c) [0xd93610c]
      6096:20230823:232515.988 23: C:\Windows\SYSTEM32\ntdll.dll(_C_specific_handler+0xd9) [0xd9bfe99]
      6096:20230823:232515.988 22: C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x11f) [0xd9d582f]
      6096:20230823:232515.989 21: C:\Windows\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x14bf) [0xd934cef]
      6096:20230823:232515.989 20: C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0xd9d459e]
      6096:20230823:232515.989 19: C:\Windows\SYSTEM32\ntdll.dll(RtlFreeHeap+0xf5) [0xd947f35]
      6096:20230823:232515.990 18: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x15af) [0xd19d47f]
      6096:20230823:232515.990 17: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x1078) [0xd19cf48]
      6096:20230823:232515.991 16: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x403d) [0xd19ff0d]
      6096:20230823:232515.992 15: C:\Windows\System32\ADVAPI32.dll(SaferIdentifyLevel+0x380e) [0xd19f6de]
      6096:20230823:232515.992 14: C:\Windows\System32\ADVAPI32.dll(PerfRegQueryValue+0x31) [0xd1a02a1]
      6096:20230823:232515.993 13: C:\Windows\System32\KERNELBASE.dll(UnsubscribeFeatureUsageFlush+0xdb2) [0x9d711c2]
      6096:20230823:232515.994 12: C:\Windows\System32\KERNELBASE.dll(RegQueryValueExW+0x108) [0x9cf7df8]
      6096:20230823:232515.994 11: C:\Windows\SYSTEM32\pdh.dll(PdhCloseQuery+0x628) [0x5cc8ae8]
      6096:20230823:232515.995 10: C:\Windows\SYSTEM32\pdh.dll(PdhGetCounterTimeBase+0x63d) [0x5cca37d]
      6096:20230823:232515.996 9: C:\Windows\SYSTEM32\pdh.dll(PdhCollectQueryData+0x31a0) [0x5cc8450]
      6096:20230823:232515.996 8: C:\Windows\SYSTEM32\pdh.dll(PdhGetCounterTimeBase+0x3a75) [0x5ccd7b5]
      6096:20230823:232515.997 7: C:\Windows\SYSTEM32\pdh.dll(PdhCollectQueryData+0xbf) [0x5cc536f]
      6096:20230823:232515.997 6: C:\Windows\SYSTEM32\pdh.dll(PdhCollectQueryData+0x4b) [0x5cc52fb]
      6096:20230823:232515.998 5: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400abdd9]
      6096:20230823:232515.999 4: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ad317]
      6096:20230823:232515.999 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x40086597]
      6096:20230823:232516.000 2: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x40221d30]
      6096:20230823:232516.000 1: C:\Windows\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0xcb07ad4]
      6096:20230823:232516.001 0: C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0xd98a371]
      6096:20230823:232516.004 ================================​
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    My site isn't on 6.4.x, but I've seen other people post in the forums about new crashes with the Windows agent, so you're not the only site experiencing the issue.

    6.4.6 has been released, you could try that agent version. None of the fixes mentioned in the 6.4.6 release notes seem to match your issue, but it's probably still worth trying the upgrade.​

    Your best bet is probably to search the bug tracker at support.zabbix.com and report the problem if it hasn't already been reported.

    Comment

    • RobinH
      Member
      • Jul 2023
      • 55

      #3
      I installed the Zabbix Agent 2 version 6.4.6 and it has been stable for 5 days now.
      So I dont know what did it work, but if it fixed the problem, then I'm happy.

      Comment

      Working...