[ZBX-22103] zabbix_agentd on PPCE linux RHEL 8.6 Segmentation fault Created: 2022 Dec 16 Updated: 2022 Dec 19 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Major |
Reporter: | Benjamin Lienard | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Red Hat Enterprise Linux release 8.6 (Ootpa) |
Description |
Hello, I would like to install zabbix agent on our newest rhel 8.6 install on powerpc (ppcle) 4.0.34 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. |
Comments |
Comment by Oleksii Zagorskyi [ 2022 Dec 16 ] |
You have provided truncated output of "zabbix_agentd -p" |
Comment by Oleksii Zagorskyi [ 2022 Dec 16 ] |
Also, what exact package did you use to install the agent? |
Comment by Benjamin Lienard [ 2022 Dec 16 ] |
Hello, Here the zabbix_agentd -p for the 6.0.3 : /etc/zabbix# zabbix_agentd -p agent.hostname [s|admin-xn03-lp-test] 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|1671194952] vfs.file.size[/etc/passwd] [u|2355] vfs.file.time[/etc/passwd,modify] [u|1665042503] vfs.file.exists[/etc/passwd] [u|1] vfs.file.contents[/etc/passwd] [t|root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin dbus:x:81:81:System message bus:/:/sbin/nologin systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin polkitd:x:998:996:User for polkitd:/:/sbin/nologin clevis:x:997:992:Clevis Decryption Framework unprivileged user:/var/cache/clevis:/sbin/nologin gluster:x:996:991:GlusterFS daemons:/run/gluster:/sbin/nologin unbound:x:995:990:Unbound DNS resolver:/etc/unbound:/sbin/nologin postfix:x:89:89::/var/spool/postfix:/sbin/nologin rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin saslauth:x:994:76:Saslauthd user:/run/saslauthd:/sbin/nologin libstoragemgmt:x:993:988:daemon account for libstoragemgmt:/var/run/lsm:/sbin/nologin setroubleshoot:x:992:987::/var/lib/setroubleshoot:/sbin/nologin sssd:x:991:986:User for sssd:/:/sbin/nologin cockpit-ws:x:990:985:User for cockpit web service:/nonexisting:/sbin/nologin cockpit-wsinstance:x:989:984:User for cockpit-ws instances:/nonexisting:/sbin/nologin pcp:x:988:983:Performance Co-Pilot:/var/lib/pcp:/sbin/nologin abrt:x:173:173::/etc/abrt:/sbin/nologin grafana:x:987:982:grafana user account:/usr/share/grafana:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin chrony:x:986:981::/var/lib/chrony:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin tcpdump:x:72:72::/:/sbin/nologin adminifm:x:4030:4030:unix competence center user:/home/adminifm:/usr/bin/bash acom:x:307400193:307400193:General application user:/home/acom:/bin/bash redis:x:2178:2178:redis server:/home/redis:/bin/bash a1030:x:300555:300555:a1030 capacity:/home/a1030:/bin/bash zabbix:x:1416:1416:Zabbix unix monitoring utility:/home/zabbix:/usr/bin/ksh a1788:x:301074:301074:Discovery Tools:/home/a1788:/usr/bin/bash] vfs.file.regexp[/etc/passwd,root] [s|root:x:0:0:root:/root:/bin/bash] vfs.file.regmatch[/etc/passwd,root] [u|1] vfs.file.md5sum[/etc/passwd] [s|065b7c6a872f49980d370ddf6b09132e] vfs.file.cksum[/etc/passwd] [u|2692758973] zabbix_agentd [2055903]: ERROR: Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x1000e77ffe0]. Crashing ... zabbix_agentd [2055903]: ERROR: ====== Fatal information: ====== zabbix_agentd [2055903]: ERROR: program counter not available for this architecture zabbix_agentd [2055903]: ERROR: === Registers: === zabbix_agentd [2055903]: ERROR: register dump not available for this architecture zabbix_agentd [2055903]: ERROR: === Backtrace: === zabbix_agentd [2055903]: ERROR: 19: [0x1003f4cc] zabbix_agentd [2055903]: ERROR: 18: [0x1003f834] zabbix_agentd [2055903]: ERROR: 17: [0x1004031c] zabbix_agentd [2055903]: ERROR: 16: linux-vdso64.so.1(__kernel_sigtramp_rt64+0) [0x7fffba6a04d8] zabbix_agentd [2055903]: ERROR: 15: /lib64/libc.so.6(__libc_malloc+0x174) [0x7fffba4d7604] zabbix_agentd [2055903]: ERROR: 14: /lib64/libc.so.6(__libc_malloc+0x22c) [0x7fffba4d76bc] zabbix_agentd [2055903]: ERROR: 13: /lib64/libc.so.6(__vasprintf_chk+0x50) [0x7fffba581140] zabbix_agentd [2055903]: ERROR: 12: /lib64/libc.so.6(__asprintf_chk+0x30) [0x7fffba5810d0] zabbix_agentd [2055903]: ERROR: 11: /lib64/libnss_sss.so.2(+0x9b58) [0x7fffba659b58] zabbix_agentd [2055903]: ERROR: 10: /lib64/libnss_sss.so.2(+0xa8f8) [0x7fffba65a8f8] zabbix_agentd [2055903]: ERROR: 9: /lib64/libnss_sss.so.2(_nss_sss_getpwuid_r+0x58) [0x7fffba654f98] zabbix_agentd [2055903]: ERROR: 8: [0x100ecc34] zabbix_agentd [2055903]: ERROR: 7: [0x100ec69c] zabbix_agentd [2055903]: ERROR: 6: [0x1002f62c] zabbix_agentd [2055903]: ERROR: 5: [0x1001721c] zabbix_agentd [2055903]: ERROR: 4: [0x100176fc] zabbix_agentd [2055903]: ERROR: 3: [0x10017a8c] zabbix_agentd [2055903]: ERROR: 2: [0x1000109c] zabbix_agentd [2055903]: ERROR: 1: [0x1009aa80] zabbix_agentd [2055903]: ERROR: 0: [0x1009acb0] zabbix_agentd [2055903]: ERROR: === Memory map: === zabbix_agentd [2055903]: ERROR: 10000000-10190000 r-xp 00000000 fd:0d 69391649 /usr/sbin/zabbix_agentd zabbix_agentd [2055903]: ERROR: 10190000-101b0000 rw-p 00180000 fd:0d 69391649 /usr/sbin/zabbix_agentd zabbix_agentd [2055903]: ERROR: 1000e780000-1000e7b0000 rw-p 00000000 00:00 0 [heap] zabbix_agentd [2055903]: ERROR: 7fffba2d0000-7fffba3d0000 rw-p 00000000 00:00 0 zabbix_agentd [2055903]: ERROR: 7fffba3d0000-7fffba410000 r-xp 00000000 fd:0d 67164880 /usr/lib64/ld-2.28.so zabbix_agentd [2055903]: ERROR: 7fffba410000-7fffba420000 r--p 00030000 fd:0d 67164880 /usr/lib64/ld-2.28.so zabbix_agentd [2055903]: ERROR: 7fffba420000-7fffba430000 rw-p 00040000 fd:0d 67164880 /usr/lib64/ld-2.28.so zabbix_agentd [2055903]: ERROR: 7fffba430000-7fffba630000 r-xp 00000000 fd:0d 67164887 /usr/lib64/libc-2.28.so zabbix_agentd [2055903]: ERROR: 7fffba630000-7fffba640000 r--p 001f0000 fd:0d 67164887 /usr/lib64/libc-2.28.so zabbix_agentd [2055903]: ERROR: 7fffba640000-7fffba650000 rw-p 00200000 fd:0d 67164887 /usr/lib64/libc-2.28.so zabbix_agentd [2055903]: ERROR: 7fffba650000-7fffba660000 r-xp 00000000 fd:0d 68758731 /usr/lib64/libnss_sss.so.2 zabbix_agentd [2055903]: ERROR: 7fffba660000-7fffba670000 r--p 00000000 fd:0d 68758731 /usr/lib64/libnss_sss.so.2 zabbix_agentd [2055903]: ERROR: 7fffba670000-7fffba680000 rw-p 00010000 fd:0d 68758731 /usr/lib64/libnss_sss.so.2 zabbix_agentd [2055903]: ERROR: 7fffba680000-7fffba6a0000 rw-p 00000000 00:00 0 zabbix_agentd [2055903]: ERROR: 7fffba6a0000-7fffba6c0000 r-xp 00000000 00:00 0 [vdso] zabbix_agentd [2055903]: ERROR: 7ffff8e50000-7ffff8e80000 rw-p 00000000 00:00 0 [stack] zabbix_agentd [2055903]: ERROR: ================================ For the package, I've downloaded directly the tar.gz from your website this morning ( 16 Dec 2022 ): I've tryed this list : zabbix_agent-4.0.34-linux-4.12-ppc64le-static.tar.gz Some version can go a little further like the 5.0.17: # zabbix_agent-5.0.17-linux-4.12-ppc64le-static/usr/sbin/zabbix_agentd -V zabbix_agentd (daemon) (Zabbix) 5.0.17 Revision 0a4ac3dabc 18 October 2021, compilation time: Oct 19 2021 08:50:19 Copyright (C) 2021 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. # zabbix_agent-5.0.17-linux-4.12-ppc64le-static/usr/sbin/zabbix_agentd -p agent.hostname [s|admin-xn03-lp-test] agent.ping [u|1] agent.version [s|5.0.17] system.localtime[utc] [u|1671195571] vfs.file.size[/etc/passwd] [u|2355] vfs.file.time[/etc/passwd,modify] [u|1665042503] vfs.file.exists[/etc/passwd] [u|1] vfs.file.contents[/etc/passwd] [t|root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin dbus:x:81:81:System message bus:/:/sbin/nologin systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin polkitd:x:998:996:User for polkitd:/:/sbin/nologin clevis:x:997:992:Clevis Decryption Framework unprivileged user:/var/cache/clevis:/sbin/nologin gluster:x:996:991:GlusterFS daemons:/run/gluster:/sbin/nologin unbound:x:995:990:Unbound DNS resolver:/etc/unbound:/sbin/nologin postfix:x:89:89::/var/spool/postfix:/sbin/nologin rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin saslauth:x:994:76:Saslauthd user:/run/saslauthd:/sbin/nologin libstoragemgmt:x:993:988:daemon account for libstoragemgmt:/var/run/lsm:/sbin/nologin setroubleshoot:x:992:987::/var/lib/setroubleshoot:/sbin/nologin sssd:x:991:986:User for sssd:/:/sbin/nologin cockpit-ws:x:990:985:User for cockpit web service:/nonexisting:/sbin/nologin cockpit-wsinstance:x:989:984:User for cockpit-ws instances:/nonexisting:/sbin/nologin pcp:x:988:983:Performance Co-Pilot:/var/lib/pcp:/sbin/nologin abrt:x:173:173::/etc/abrt:/sbin/nologin grafana:x:987:982:grafana user account:/usr/share/grafana:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin chrony:x:986:981::/var/lib/chrony:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin tcpdump:x:72:72::/:/sbin/nologin adminifm:x:4030:4030:unix competence center user:/home/adminifm:/usr/bin/bash acom:x:307400193:307400193:General application user:/home/acom:/bin/bash redis:x:2178:2178:redis server:/home/redis:/bin/bash a1030:x:300555:300555:a1030 capacity:/home/a1030:/bin/bash zabbix:x:1416:1416:Zabbix unix monitoring utility:/home/zabbix:/usr/bin/ksh a1788:x:301074:301074:Discovery Tools:/home/a1788:/usr/bin/bash] vfs.file.regexp[/etc/passwd,root] [s|root:x:0:0:root:/root:/bin/bash] vfs.file.regmatch[/etc/passwd,root] [u|1] vfs.file.md5sum[/etc/passwd] [s|065b7c6a872f49980d370ddf6b09132e] vfs.file.cksum[/etc/passwd] [u|2692758973] vfs.dir.size[/var/log] [u|92556445589] vfs.dir.count[/var/log] [u|813066] net.dns[,zabbix.com] [u|0] net.dns.record[,zabbix.com] [m|ZBX_NOTSUPPORTED] [Cannot perform DNS query.] net.tcp.dns[,zabbix.com] [u|0] net.tcp.dns.query[,zabbix.com] [m|ZBX_NOTSUPPORTED] [Cannot perform DNS query.] net.tcp.port[,80] [u|0] system.users.num [u|68] log[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] log.count[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] logrt[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] logrt.count[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] eventlog[system] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] zabbix.stats[127.0.0.1,10051] [m|ZBX_NOTSUPPORTED] [Cannot obtain internal statistics: cannot connect to [[127.0.0.1]:10051]: [111] Connection refused] zabbix_agentd [2058071]: ERROR: Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x1001320ffe0]. Crashing ... zabbix_agentd [2058071]: ERROR: ====== Fatal information: ====== zabbix_agentd [2058071]: ERROR: program counter not available for this architecture zabbix_agentd [2058071]: ERROR: === Registers: === zabbix_agentd [2058071]: ERROR: register dump not available for this architecture zabbix_agentd [2058071]: ERROR: === Backtrace: === zabbix_agentd [2058071]: ERROR: 20: [0x1003543c] zabbix_agentd [2058071]: ERROR: 19: [0x100357a4] zabbix_agentd [2058071]: ERROR: 18: [0x1003614c] zabbix_agentd [2058071]: ERROR: 17: linux-vdso64.so.1(__kernel_sigtramp_rt64+0) [0x7fff81b004d8] zabbix_agentd [2058071]: ERROR: 16: /lib64/libc.so.6(__libc_malloc+0x174) [0x7fff81937604] zabbix_agentd [2058071]: ERROR: 15: /lib64/libc.so.6(__libc_malloc+0x22c) [0x7fff819376bc] zabbix_agentd [2058071]: ERROR: 14: /lib64/libc.so.6(+0x884cc) [0x7fff819184cc] zabbix_agentd [2058071]: ERROR: 13: /lib64/libnss_files.so.2(+0xd244) [0x7fff81abd244] zabbix_agentd [2058071]: ERROR: 12: /lib64/libnss_files.so.2(+0x530c) [0x7fff81ab530c] zabbix_agentd [2058071]: ERROR: 11: /lib64/libnss_files.so.2(_nss_files_gethostbyname4_r+0x64) [0x7fff81ab6414] zabbix_agentd [2058071]: ERROR: 10: [0x100de85c] zabbix_agentd [2058071]: ERROR: 9: [0x100dffc8] zabbix_agentd [2058071]: ERROR: 8: [0x10036ae0] zabbix_agentd [2058071]: ERROR: 7: [0x10028a14] zabbix_agentd [2058071]: ERROR: 6: [0x10029004] zabbix_agentd [2058071]: ERROR: 5: [0x100117cc] zabbix_agentd [2058071]: ERROR: 4: [0x10011cac] zabbix_agentd [2058071]: ERROR: 3: [0x1001203c] zabbix_agentd [2058071]: ERROR: 2: [0x10000f88] zabbix_agentd [2058071]: ERROR: 1: [0x1008c500] zabbix_agentd [2058071]: ERROR: 0: [0x1008c730] zabbix_agentd [2058071]: ERROR: === Memory map: === zabbix_agentd [2058071]: ERROR: 10000000-10180000 r-xp 00000000 fd:0d 5719572 /opt/app/zabbix/sbin/zabbix_agent-5.0.17-linux-4.12-ppc64le-static/usr/sbin/zabbix_agentd zabbix_agentd [2058071]: ERROR: 10180000-101a0000 rw-p 00170000 fd:0d 5719572 /opt/app/zabbix/sbin/zabbix_agent-5.0.17-linux-4.12-ppc64le-static/usr/sbin/zabbix_agentd zabbix_agentd [2058071]: ERROR: 10013210000-10013240000 rw-p 00000000 00:00 0 [heap] zabbix_agentd [2058071]: ERROR: 7fff81730000-7fff81830000 rw-p 00000000 00:00 0 zabbix_agentd [2058071]: ERROR: 7fff81830000-7fff81870000 r-xp 00000000 fd:0d 67164880 /usr/lib64/ld-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81870000-7fff81880000 r--p 00030000 fd:0d 67164880 /usr/lib64/ld-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81880000-7fff81890000 rw-p 00040000 fd:0d 67164880 /usr/lib64/ld-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81890000-7fff81a90000 r-xp 00000000 fd:0d 67164887 /usr/lib64/libc-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81a90000-7fff81aa0000 r--p 001f0000 fd:0d 67164887 /usr/lib64/libc-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81aa0000-7fff81ab0000 rw-p 00200000 fd:0d 67164887 /usr/lib64/libc-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81ab0000-7fff81ac0000 r-xp 00000000 fd:0d 67164897 /usr/lib64/libnss_files-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81ac0000-7fff81ad0000 r--p 00000000 fd:0d 67164897 /usr/lib64/libnss_files-2.28.so zabbix_agentd [2058071]: ERROR: 7fff81ad0000-7fff81af0000 rw-p 00000000 00:00 0 zabbix_agentd [2058071]: ERROR: 7fff81af0000-7fff81b00000 rw-p 00000000 00:00 0 zabbix_agentd [2058071]: ERROR: 7fff81b00000-7fff81b20000 r-xp 00000000 00:00 0 [vdso] zabbix_agentd [2058071]: ERROR: 7fffe2ed0000-7fffe2f00000 rw-p 00000000 00:00 0 [stack] zabbix_agentd [2058071]: ERROR: ================================ Thank you. |
Comment by Vladislavs Sokurenko [ 2022 Dec 16 ] |
Could you please be so kind if it helps compiling from sources or from packages ? |
Comment by Benjamin Lienard [ 2022 Dec 19 ] |
Hello, I've just compile the agent and all is working now. Just for information, we use a power server 9040-MR9 POWER9 as physical server. Here the zabbix_agentd -p output:
# /usr/local/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.12] modbus.get[tcp://127.0.0.1] [m|ZBX_NOTSUPPORTED] system.localtime[utc] [u|1671436843] vfs.file.size[/etc/passwd] [u|2080] vfs.file.time[/etc/passwd,modify] [u|1669900557] vfs.file.exists[/etc/passwd] [u|1] vfs.file.contents[/etc/passwd] [t|root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin dbus:x:81:81:System message bus:/:/sbin/nologin systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin polkitd:x:998:996:User for polkitd:/:/sbin/nologin unbound:x:997:993:Unbound DNS resolver:/etc/unbound:/sbin/nologin clevis:x:996:991:Clevis Decryption Framework unprivileged user:/var/cache/clevis:/sbin/nologin gluster:x:995:990:GlusterFS daemons:/run/gluster:/sbin/nologin postfix:x:89:89::/var/spool/postfix:/sbin/nologin rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin saslauth:x:994:76:Saslauthd user:/run/saslauthd:/sbin/nologin libstoragemgmt:x:993:988:daemon account for libstoragemgmt:/var/run/lsm:/sbin/nologin setroubleshoot:x:992:987::/var/lib/setroubleshoot:/sbin/nologin sssd:x:991:986:User for sssd:/:/sbin/nologin cockpit-ws:x:990:985:User for cockpit web service:/nonexisting:/sbin/nologin cockpit-wsinstance:x:989:984:User for cockpit-ws instances:/nonexisting:/sbin/nologin pcp:x:988:983:Performance Co-Pilot:/var/lib/pcp:/sbin/nologin abrt:x:173:173::/etc/abrt:/sbin/nologin grafana:x:987:982:grafana user account:/usr/share/grafana:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin chrony:x:986:981::/var/lib/chrony:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin tcpdump:x:72:72::/:/sbin/nologin adminifm:x:4030:4030:adminifm:/home/adminifm:/bin/bash acom:x:307400193:307400193:General application user:/home/acom:/bin/bash] vfs.file.regexp[/etc/passwd,root] [s|root:x:0:0:root:/root:/bin/bash] vfs.file.regmatch[/etc/passwd,root] [u|1] vfs.file.md5sum[/etc/passwd] [s|6e5ee10193e018db121b29e2bd3ea257] vfs.file.cksum[/etc/passwd] [u|2025967231] vfs.file.owner[/etc/passwd,user,name] [s|root] vfs.file.permissions[/etc/passwd] [s|0644] vfs.file.get[/etc/passwd] [s|{"basename":"passwd","pathname":"/etc/passwd","dirname":"/etc","type":"file","user":"root","group":"root","permissions":"0644","uid":0,"gid":0,"size":2080,"time":{"access":"2022-12-18T14:16:13+0100","modify":"2022-12-01T14:15:57+0100","change":"2022-12-01T14:15:57+0100"},"timestamp":{"access":1671369373,"modify":1669900557,"change":1669900557}}] vfs.dir.size[/var/log] [u|90509394914] vfs.dir.count[/var/log] [u|368] vfs.dir.get[/var/log] [s|[{"basename":"lastlog","pathname":"/var/log/lastlog", ....... }, net.dns[,zabbix.com] [u|0] net.dns.record[,zabbix.com] [m|ZBX_NOTSUPPORTED] [Cannot perform DNS query.] net.tcp.dns[,zabbix.com] [u|0] net.tcp.dns.query[,zabbix.com] [m|ZBX_NOTSUPPORTED] [Cannot perform DNS query.] net.tcp.port[,80] [u|0] system.users.num [u|3] log[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] log.count[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] logrt[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] logrt.count[logfile] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] eventlog[system] [m|ZBX_NOTSUPPORTED] [Accessible only as active check.] zabbix.stats[127.0.0.1,10051] [m|ZBX_NOTSUPPORTED] [Cannot obtain internal statistics: cannot connect to [[127.0.0.1]:10051]: [111] Connection refused] web.page.get[localhost,,80] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused] web.page.perf[localhost,,80] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused] web.page.regexp[localhost,,80,OK] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused] kernel.maxfiles [u|1553606] kernel.maxproc [u|4194304] kernel.openfiles [u|6976] vfs.fs.size[/,free] [u|33000361984] vfs.fs.inode[/,free] [u|19813011] vfs.fs.discovery [s|[{"{#FSNAME}":"/sys","{#FSTYPE}":"sysfs"},{"{#FSNAME}":"/proc","{#FSTYPE}":"proc"},{"...... ] net.tcp.listen[80] [u|0] net.udp.listen[68] [u|0] net.tcp.socket.count[,80] [u|0] net.udp.socket.count[,68] [u|0] net.if.in[lo,bytes] [u|14568] net.if.out[lo,bytes] [u|14568] net.if.total[lo,bytes] [u|29136] net.if.collisions[lo] [u|0] net.if.discovery [s|[{"{#IFNAME}":"lo"},{"{#IFNAME}":"env2"},{"{#IFNAME}":"env5"},{"{#IFNAME}":"env6"}]] vm.memory.size[total] [u|16029253632] proc.cpu.util[inetd] [m|ZBX_NOTSUPPORTED] [Collector is not started.] proc.num[inetd] [u|0] proc.mem[inetd] [u|0] system.cpu.switches [u|147977494] system.cpu.intr [u|204660829] system.cpu.util[all,user,avg1] [m|ZBX_NOTSUPPORTED] [Collector is not started.] system.cpu.load[all,avg1] [d|1.02] system.cpu.num[online] [u|16] system.cpu.discovery [m|ZBX_NOTSUPPORTED] [Collector is not started.] system.uname [s|Linux admin-xn01-lp.msnet.railb.be 4.18.0-372.32.1.el8_6.ppc64le #1 SMP Fri Oct 7 11:37:39 EDT 2022 ppc64le] system.hw.chassis [m|ZBX_NOTSUPPORTED] [Cannot obtain hardware information.] system.hw.cpu [m|ZBX_NOTSUPPORTED] [Cannot obtain CPU information.] system.hw.devices [t|] system.hw.macaddr [s|[env2] 66:43:a5:1d:34:02] system.sw.arch [s|ppc64le] system.sw.os [s|Linux version 4.18.0-372.32.1.el8_6.ppc64le ([email protected]) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-10) (GCC)) #1 SMP Fri Oct 7 11:37:39 EDT 2022] system.sw.packages [... ] system.swap.size[all,free] [u|6454968320] system.swap.in[all] [u|0] system.swap.out[all] [u|0] system.uptime [u|1119900] system.boottime [u|1670316945] sensor[w83781d-i2c-0-2d,temp1] [m|ZBX_NOTSUPPORTED] [Cannot obtain sensor information.] net.tcp.service[ssh,127.0.0.1,22] [u|1] net.tcp.service.perf[ssh,127.0.0.1,22] [d|0.0071356296539306641] net.udp.service[ntp,127.0.0.1,123] [u|0] net.udp.service.perf[ntp,127.0.0.1,123] [d|0] system.hostname [s|admin-xn01-lp.msnet.railb.be]
Kind regards.
|
Comment by Vladislavs Sokurenko [ 2022 Dec 19 ] |
Unfortunately static build is known to have problems if not built on same bistro as it is used on, this should at least be documented. |
Comment by Benjamin Lienard [ 2022 Dec 19 ] |
So for us it's clear now that we have to compile our agent. We will add that to our documentation as well. Thank you. |