[ZBX-20751] AIX7.1 zabbix_agentd [7798912]: the first call of perfstat_cpu() failed Created: 2022 Mar 16  Updated: 2022 Dec 08  Resolved: 2022 Dec 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: ChenShier Assignee: Karlis Salins
Resolution: Duplicate Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: AIX7.1 7100-02-02-1316
Agent: zabbix_agent-5.4.6


Attachments: PNG File Snipaste_2022-03-16_14-03-18.png     Text File lslpp.txt    
Issue Links:
Duplicate
duplicates ZBX-18576 Can't start zabbix-agent for AIX Need info

 Description   

Steps to reproduce:

  1. download file from https://cdn.zabbix.com/zabbix/binaries/stable/5.4/5.4.6/zabbix_agent-5.4.6-aix-7.1-powerpc-openssl.tar.gz
  2. copy file to /etc and /usr
  3. run zabbix_agentd but not started.
  4. tail -f /tmp/zabbix_agentd.log

Result:

  1. tail -f /tmp/zabbix_agentd.log
    8257628:20220316:112043.833 **************************
    8257628:20220316:112043.833 using configuration file: /etc/zabbix/zabbix_agentd.conf
    8257628:20220316:112043.834 agent #0 started [main process]
    7798912:20220316:112043.835 agent #1 started [collector]
    10420360:20220316:112043.837 agent #2 started listener #1
    7143558:20220316:112043.855 agent #3 started listener #2
    9175104:20220316:112043.869 agent #4 started listener #3
    zabbix_agentd [7798912]: the first call of perfstat_cpu() failed: [22] Invalid argument
    8257628:20220316:112043.887 One child process died (PID:7798912,exitcode/signal:1). Exiting ...
    8257628:20220316:112043.896 Zabbix Agent stopped. Zabbix 5.4.6 (revision ed5eee80eb).
  2. oslevel -s
    7100-02-02-1316
  3. ldd /usr/sbin/zabbix_agentd
    /usr/sbin/zabbix_agentd needs:
             /usr/lib/libc.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /usr/lib/libperfstat.a(shr_64.o)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /usr/lib/libcfg.a(shr_64.o)
             /usr/lib/libodm.a(shr_64.o)
             /usr/lib/liblvm.a(shr_64.o)
             /usr/lib/libcorcfg.a(shr_64.o)
             /usr/lib/libsrc.a(shr_64.o)
  4. zabbix_agentd -V
    zabbix_agentd (daemon) (Zabbix) 5.4.6
    Revision ed5eee80eb 18 October 2021, compilation time: Oct 19 2021 09:19:20

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.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.1.1l  24 Aug 2021
Running with OpenSSL 1.1.1l  24 Aug 2021

Supported technology levels: 6100 and above

Expected:



 Comments   
Comment by Pedro Flor [ 2022 Apr 25 ]

Same problem here: zabbix_agentd [XXXXXXXX]: the first call of perfstat_cpu() failed: [22] Invalid argument

OS: AIX PPC 7.1

OSLevel: 7.1.1.16

Agents tested:

  • zabbix_agent-5.0.17-aix-7.1-powerpc-openssl
  • zabbix_agent-5.0.17-aix-7.1-powerpc
  • zabbix_agent-5.2.7-aix-7.1-powerpc-openssl
  • zabbix_agent-5.4.6-aix-7.1-powerpc-openssl
  • zabbix_agent-6.0.3-aix-7.1-powerpc-openssl
Comment by Gausseron [ 2022 May 09 ]

Same problem for me : zabbix_agentd [xxxxxxx]: the first call of perfstat_cpu() failed: [22] Invalid argument

  1. oslevel -s
    7100-02-02-1316

with also old versions :
zabbix_agentd (daemon) (Zabbix) 5.0.15 
zabbix_agentd (daemon) (Zabbix) 5.0.16

 

Generated at Tue Apr 29 10:14:47 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.