Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22103

zabbix_agentd on PPCE linux RHEL 8.6 Segmentation fault

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Agent (G)
    • None
    • Red Hat Enterprise Linux release 8.6 (Ootpa)
      Linux 4.18.0-372.13.1.el8_6.ppc64le #1 SMP Mon Jun 6 14:47:42 EDT 2022 ppc64le ppc64le ppc64le GNU/Linux

      Hello,

      I would like to install zabbix agent on our newest rhel 8.6 install on powerpc (ppcle)
      but each time I've got the following error on every client version I've tested :

      4.0.34
      4.0.35
      5.0.15
      5.0.17
      5.4.6
      6.0.3

      Here the details of os version, zabbix agent version, zabbix_agentd.conf, zabbix_agentd cmd + -p option output :

      # zabbix_agentd --version
      zabbix_agentd (daemon) (Zabbix) 6.0.3
      Revision 506e2b51e2 4 April 2022, compilation time: Apr  7 2022 03:14:20
      
      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.
      
      # /usr/sbin/zabbix_agentd
      Segmentation fault (core dumped)
      
      # /usr/sbin/zabbix_agentd -p
      agent.hostname                                [s|Zabbix server]
      agent.hostmetadata                            [s|]
      agent.ping                                    [u|1]
      agent.variant                                 [u|1]
      agent.version                                 [s|6.0.3]
      modbus.get[tcp://127.0.0.1]                   [m|ZBX_NOTSUPPORTED]
      system.localtime[utc]                         [u|1671186608]
      ...
      ...
      zabbix_agentd [2029692]: ERROR: Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x1001871ffe0]. Crashing ...
      zabbix_agentd [2029692]: ERROR: ====== Fatal information: ======
      zabbix_agentd [2029692]: ERROR: program counter not available for this architecture
      zabbix_agentd [2029692]: ERROR: === Registers: ===
      zabbix_agentd [2029692]: ERROR: register dump not available for this architecture
      zabbix_agentd [2029692]: ERROR: === Backtrace: ===
      zabbix_agentd [2029692]: ERROR: 19: [0x1003f4cc]
      zabbix_agentd [2029692]: ERROR: 18: [0x1003f834]
      zabbix_agentd [2029692]: ERROR: 17: [0x1004031c]
      zabbix_agentd [2029692]: ERROR: 16: linux-vdso64.so.1(__kernel_sigtramp_rt64+0) [0x7fff8f8d04d8]
      zabbix_agentd [2029692]: ERROR: 15: /lib64/libc.so.6(__libc_malloc+0x174) [0x7fff8f707604]
      zabbix_agentd [2029692]: ERROR: 14: /lib64/libc.so.6(__libc_malloc+0x22c) [0x7fff8f7076bc]
      zabbix_agentd [2029692]: ERROR: 13: /lib64/libc.so.6(__vasprintf_chk+0x50) [0x7fff8f7b1140]
      zabbix_agentd [2029692]: ERROR: 12: /lib64/libc.so.6(__asprintf_chk+0x30) [0x7fff8f7b10d0]
      zabbix_agentd [2029692]: ERROR: 11: /lib64/libnss_sss.so.2(+0x9b58) [0x7fff8f889b58]
      zabbix_agentd [2029692]: ERROR: 10: /lib64/libnss_sss.so.2(+0xa8f8) [0x7fff8f88a8f8]
      zabbix_agentd [2029692]: ERROR: 9: /lib64/libnss_sss.so.2(_nss_sss_getpwuid_r+0x58) [0x7fff8f884f98]
      zabbix_agentd [2029692]: ERROR: 8: [0x100ecc34]
      zabbix_agentd [2029692]: ERROR: 7: [0x100ec69c]
      zabbix_agentd [2029692]: ERROR: 6: [0x1002f62c]
      zabbix_agentd [2029692]: ERROR: 5: [0x1001721c]
      zabbix_agentd [2029692]: ERROR: 4: [0x100176fc]
      zabbix_agentd [2029692]: ERROR: 3: [0x10017a8c]
      zabbix_agentd [2029692]: ERROR: 2: [0x1000109c]
      zabbix_agentd [2029692]: ERROR: 1: [0x1009aa80]
      zabbix_agentd [2029692]: ERROR: 0: [0x1009acb0]
      zabbix_agentd [2029692]: ERROR: === Memory map: ===
      zabbix_agentd [2029692]: ERROR: 10000000-10190000 r-xp 00000000 fd:0d 69391649                           /usr/sbin/zabbix_agentd
      zabbix_agentd [2029692]: ERROR: 10190000-101b0000 rw-p 00180000 fd:0d 69391649                           /usr/sbin/zabbix_agentd
      zabbix_agentd [2029692]: ERROR: 10018720000-10018750000 rw-p 00000000 00:00 0                            [heap]
      zabbix_agentd [2029692]: ERROR: 7fff8f500000-7fff8f600000 rw-p 00000000 00:00 0 
      zabbix_agentd [2029692]: ERROR: 7fff8f600000-7fff8f640000 r-xp 00000000 fd:0d 67164880                   /usr/lib64/ld-2.28.so
      zabbix_agentd [2029692]: ERROR: 7fff8f640000-7fff8f650000 r--p 00030000 fd:0d 67164880                   /usr/lib64/ld-2.28.so
      zabbix_agentd [2029692]: ERROR: 7fff8f650000-7fff8f660000 rw-p 00040000 fd:0d 67164880                   /usr/lib64/ld-2.28.so
      zabbix_agentd [2029692]: ERROR: 7fff8f660000-7fff8f860000 r-xp 00000000 fd:0d 67164887                   /usr/lib64/libc-2.28.so
      zabbix_agentd [2029692]: ERROR: 7fff8f860000-7fff8f870000 r--p 001f0000 fd:0d 67164887                   /usr/lib64/libc-2.28.so
      zabbix_agentd [2029692]: ERROR: 7fff8f870000-7fff8f880000 rw-p 00200000 fd:0d 67164887                   /usr/lib64/libc-2.28.so
      zabbix_agentd [2029692]: ERROR: 7fff8f880000-7fff8f890000 r-xp 00000000 fd:0d 68758731                   /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2029692]: ERROR: 7fff8f890000-7fff8f8a0000 r--p 00000000 fd:0d 68758731                   /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2029692]: ERROR: 7fff8f8a0000-7fff8f8b0000 rw-p 00010000 fd:0d 68758731                   /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2029692]: ERROR: 7fff8f8b0000-7fff8f8d0000 rw-p 00000000 00:00 0 
      zabbix_agentd [2029692]: ERROR: 7fff8f8d0000-7fff8f8f0000 r-xp 00000000 00:00 0                          [vdso]
      zabbix_agentd [2029692]: ERROR: 7ffff31f0000-7ffff3220000 rw-p 00000000 00:00 0                          [stack]
      zabbix_agentd [2029692]: ERROR: ================================
      
      # cat /etc/redhat-release 
      Red Hat Enterprise Linux release 8.6 (Ootpa)
      
      # uname -a
      Linux admin-xn03-lp.msnet.railb.be 4.18.0-372.13.1.el8_6.ppc64le #1 SMP Mon Jun 6 14:47:42 EDT 2022 ppc64le ppc64le ppc64le GNU/Linux
      
      # cat zabbix_agentd.conf
      DebugLevel=4
      LogFile=/var/log/zabbix/zabbix_agentd.log
      LogFileSize=10
      RefreshActiveChecks=120
      StartAgents=0
      Timeout=15
      Hostname=admin-xn03-lp
      HostMetadata=RHEL-ADM-NPRD
      ServerActive=10.248.21.215,10.248.21.209
      PidFile=/var/run/zabbix/zabbix_agentd.pid
      

      The log file is empty :

      # ls -l /var/log/zabbix/zabbix_agentd.log
      -rw-r--r-- 1 zabbix zabbix 0 Dec 16 12:00 /var/log/zabbix/zabbix_agentd.log
      

      Thank you.

            zabbix.dev Zabbix Development Team
            benjamin.lienard Benjamin Lienard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: