-
Problem report
-
Resolution: Fixed
-
Critical
-
4.4.2, 5.0.2
-
SunOS italia 5.11 11.3 sun4v sparc sun4v
SunOS solaris113 5.11 11.3 i86pc i386 i86pc
SunOS solaris112 5.11 11.2 i86pc i386 i86pc
SunOS solaris111 5.11 11.1 i86pc i386 i86pc
-
Sprint 67 (Aug 2020)
-
0.25
hello, I hope would help me with this problem
Steps to reproduce:
- agent compiled from source
- edit config file only setting ip of zabbix server
- start zabbix agent with the command "/usr/local/sbin/zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf"
- the agent crash
Result:
Log result with verbose 4
12853:20191127:090353.962 Starting Zabbix Agent [Zabbix server]. Zabbix 4.4.2 (revision 6d7579cc01). 12853:20191127:090353.962 **** Enabled features **** 12853:20191127:090353.963 IPv6 support: NO 12853:20191127:090353.963 TLS support: NO 12853:20191127:090353.963 ************************** 12853:20191127:090353.963 using configuration file: /usr/local/etc/zabbix_agentd.conf 12853:20191127:090353.963 In zbx_load_modules() 12853:20191127:090353.963 End of zbx_load_modules():SUCCEED 12853:20191127:090353.963 In init_collector_data() 12853:20191127:090353.963 In zbx_dshm_create() size:0 12853:20191127:090353.963 End of zbx_dshm_create():SUCCEED shmid:-1 12853:20191127:090353.963 End of init_collector_data() 12853:20191127:090353.963 agent #0 started [main process] 12854:20191127:090353.964 agent #1 started [collector] 12854:20191127:090353.964 In init_cpu_collector() 12855:20191127:090353.964 agent #2 started [listener #1] 12855:20191127:090353.964 Got signal [signal:11(SIGSEGV),reason:1,refaddr:7df0321c]. Crashing ... 12855:20191127:090353.965 ====== Fatal information: ====== 12855:20191127:090353.965 program counter not available for this architecture 12855:20191127:090353.965 === Registers: === 12855:20191127:090353.965 register dump not available for this architecture 12855:20191127:090353.965 === Backtrace: === 12856:20191127:090353.965 agent #3 started [listener #2] 12856:20191127:090353.965 Got signal [signal:11(SIGSEGV),reason:1,refaddr:7df0321c]. Crashing ... 12856:20191127:090353.965 ====== Fatal information: ====== 12856:20191127:090353.965 program counter not available for this architecture 12857:20191127:090353.965 agent #4 started [listener #3] 12855:20191127:090353.966 11: /usr/local/sbin/zabbix_agentd'zbx_backtrace+0x38 [0x10003fcb0] 12857:20191127:090353.966 Got signal [signal:11(SIGSEGV),reason:1,refaddr:7df0321c]. Crashing ... 12855:20191127:090353.966 10: /usr/local/sbin/zabbix_agentd'zbx_log_fatal_info+0x1c4 [0x10003ffb4] 12857:20191127:090353.966 ====== Fatal information: ====== 12855:20191127:090353.966 9: /usr/local/sbin/zabbix_agentd'fatal_signal_handler+0x18 [0x100040360] 12857:20191127:090353.966 program counter not available for this architecture 12855:20191127:090353.966 8: /lib/sparcv9/libc.so.1'__sighndlr+0xc [0xffffffff7e24996c] 12856:20191127:090353.966 === Registers: === 12857:20191127:090353.966 === Registers: === 12855:20191127:090353.966 7: /lib/sparcv9/libc.so.1'call_user_handler+0x364 [0xffffffff7e23c12c] 12857:20191127:090353.966 register dump not available for this architecture 12858:20191127:090353.966 agent #5 started [active checks #1] 12857:20191127:090353.966 === Backtrace: === 12855:20191127:090353.966 6: /lib/sparcv9/libc.so.1'sigacthandler+0x5c [0xffffffff7e23c484] 12856:20191127:090353.966 register dump not available for this architecture 12855:20191127:090353.966 5: /usr/local/sbin/zabbix_agentd'listener_thread+0x198 [0x100022b10] 12856:20191127:090353.966 === Backtrace: === 12855:20191127:090353.967 4: /usr/local/sbin/zabbix_agentd'zbx_thread_start+0x2c [0x10003e614] 12855:20191127:090353.967 3: /usr/local/sbin/zabbix_agentd'MAIN_ZABBIX_ENTRY+0x4e8 [0x10001c6cc] 12855:20191127:090353.967 2: /usr/local/sbin/zabbix_agentd'daemon_start+0x218 [0x10003f5ec] 12855:20191127:090353.967 1: /usr/local/sbin/zabbix_agentd'main+0x174 [0x10005ff6c] 12855:20191127:090353.967 0: /usr/local/sbin/zabbix_agentd'_start+0x7c [0x10001a73c] 12855:20191127:090353.967 === Memory map: === 12858:20191127:090353.967 In init_active_metrics() 12858:20191127:090353.967 buffer: first allocation for 100 elements 12855:20191127:090353.967 memory map not available for this platform 12858:20191127:090353.967 End of init_active_metrics() 12855:20191127:090353.967 ================================ 12857:20191127:090353.967 11: /usr/local/sbin/zabbix_agentd'zbx_backtrace+0x38 [0x10003fcb0] 12857:20191127:090353.967 10: /usr/local/sbin/zabbix_agentd'zbx_log_fatal_info+0x1c4 [0x10003ffb4] 12857:20191127:090353.967 9: /usr/local/sbin/zabbix_agentd'fatal_signal_handler+0x18 [0x100040360] 12856:20191127:090353.967 11: /usr/local/sbin/zabbix_agentd'zbx_backtrace+0x38 [0x10003fcb0] 12856:20191127:090353.967 10: /usr/local/sbin/zabbix_agentd'zbx_log_fatal_info+0x1c4 [0x10003ffb4] 12856:20191127:090353.967 9: /usr/local/sbin/zabbix_agentd'fatal_signal_handler+0x18 [0x100040360] 12856:20191127:090353.967 8: /lib/sparcv9/libc.so.1'__sighndlr+0xc [0xffffffff7e24996c] 12856:20191127:090353.967 7: /lib/sparcv9/libc.so.1'call_user_handler+0x364 [0xffffffff7e23c12c] 12856:20191127:090353.967 6: /lib/sparcv9/libc.so.1'sigacthandler+0x5c [0xffffffff7e23c484] 12856:20191127:090353.967 5: /usr/local/sbin/zabbix_agentd'listener_thread+0x198 [0x100022b10] 12856:20191127:090353.967 4: /usr/local/sbin/zabbix_agentd'zbx_thread_start+0x2c [0x10003e614] 12857:20191127:090353.968 8: /lib/sparcv9/libc.so.1'__sighndlr+0xc [0xffffffff7e24996c] 12857:20191127:090353.968 7: /lib/sparcv9/libc.so.1'call_user_handler+0x364 [0xffffffff7e23c12c] 12856:20191127:090353.968 3: /usr/local/sbin/zabbix_agentd'MAIN_ZABBIX_ENTRY+0x4e8 [0x10001c6cc] 12856:20191127:090353.968 2: /usr/local/sbin/zabbix_agentd'daemon_start+0x218 [0x10003f5ec] 12856:20191127:090353.968 1: /usr/local/sbin/zabbix_agentd'main+0x174 [0x10005ff6c] 12856:20191127:090353.968 0: /usr/local/sbin/zabbix_agentd'_start+0x7c [0x10001a73c] 12856:20191127:090353.968 === Memory map: === 12857:20191127:090353.968 6: /lib/sparcv9/libc.so.1'sigacthandler+0x5c [0xffffffff7e23c484] 12856:20191127:090353.968 memory map not available for this platform 12857:20191127:090353.968 5: /usr/local/sbin/zabbix_agentd'listener_thread+0x198 [0x100022b10] 12856:20191127:090353.968 ================================ 12857:20191127:090353.968 4: /usr/local/sbin/zabbix_agentd'zbx_thread_start+0x2c [0x10003e614] 12857:20191127:090353.968 3: /usr/local/sbin/zabbix_agentd'MAIN_ZABBIX_ENTRY+0x4e8 [0x10001c6cc] 12853:20191127:090353.968 One child process died (PID:12855,exitcode/signal:1). Exiting ... 12857:20191127:090353.968 2: /usr/local/sbin/zabbix_agentd'daemon_start+0x218 [0x10003f5ec] 12857:20191127:090353.968 1: /usr/local/sbin/zabbix_agentd'main+0x174 [0x10005ff6c] 12857:20191127:090353.968 0: /usr/local/sbin/zabbix_agentd'_start+0x7c [0x10001a73c] 12857:20191127:090353.968 === Memory map: === 12853:20191127:090353.968 zbx_on_exit() called 12857:20191127:090353.968 memory map not available for this platform 12853:20191127:090353.969 In zbx_dshm_destroy() shmid:-1 12853:20191127:090353.969 End of zbx_dshm_destroy():SUCCEED 12853:20191127:090353.969 cannot remove shared memory for collector: [22] Invalid argument 12853:20191127:090353.969 In zbx_unload_modules() 12853:20191127:090353.970 End of zbx_unload_modules() 12853:20191127:090353.970 Zabbix Agent stopped. Zabbix 4.4.2 (revision 6d7579cc01).
Expected:
The agent to work
Note: I installed the agent the same way on a sparc-t4-2 with solaris 11.3 sun4v sparc sun4v and it's working without problems