[ZBX-13645] Agent does not compile and run on AIX 7.1 TL0 (requires TL1) Created: 2018 Mar 23 Updated: 2024 Apr 10 Resolved: 2018 Sep 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 3.0.15 |
Fix Version/s: | 3.0.22rc1, 3.4.14rc1, 4.0.0beta2, 4.0 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Andris Mednis | Assignee: | Andris Mednis |
Resolution: | Fixed | Votes: | 0 |
Labels: | AIX, compilation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
IBM AIX 7.1 |
Attachments: |
![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 38, Sprint 39, Sprint 40, Sprint 41 | ||||||||
Story Points: | 3 |
Description |
Solution for |
Comments |
Comment by Andris Mednis [ 2018 Mar 23 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13645 (for 3.0). |
Comment by Andris Mednis [ 2018 Mar 23 ] |
Some comments on proposed solution:
Currently our access is limited to AIX oslevel 7100-04. It would be a good idea if someone could test it on different AIX versions. |
Comment by Andris Mednis [ 2018 Jul 18 ] |
For AIX 6.1 TL0: Workaround 1. Use an older Zabbix version: 3.0.12, 3.2.9, 3.4.3 should compile. The breaking change was introduced in Workaround 2: If you want to use the newest 3.0, (like 3.0.19), then on AIX 6.1 TL0 you can try to replace in file src/libs/zbxsysinfo/aix/cpu.c function SYSTEM_CPU_NUM() implementation with an older implementation from 3.0.12. (the files src/libs/zbxsysinfo/aix/cpu.c in 3.0.12 and 3.0.19 differ only in SYSTEM_CPU_NUM() implementation). So, you can get a source code of 3.0.19, replace its file src/libs/zbxsysinfo/aix/cpu.c with a file from 3.0.12 and go. The item "system.cpu.num" will change its meaning from to number of logical CPUs back to physical CPUs (as discussed |
Comment by Andris Mednis [ 2018 Aug 29 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6565-13645-14559-30 (based on 3.0.22rc1) which contains proposed fixes for: Tested on AIX 6.1 TL0, 7.1 TL0, 7.1 TL4. |
Comment by Andris Mednis [ 2018 Aug 31 ] |
Fixed in versions:
|
Comment by Andris Mednis [ 2018 Aug 31 ] |
Documented in The same change should be documented in "What's new in Zabbix 3.4.14". andris Thanks, Martins! Reviewed. |