My customer is still in discussion with veeam support but for the moment the problem is not resolved.
Unfortunately, the customer cannot update their OS due to compatibility issues with third-party applications.
Original Message:
Sent: Tue September 17, 2024 11:45 AM
From: Jan Harris
Subject: Agent Veeam for AIX problème libpath
Hello
Like I said, you should check
dump -X32_64 -Hv /opt/veeam/lib/libVmbPlatformBaseLib.so to ensure that is loading the veeam path first.
You really need to discuss this with the veeam support.
Also, as mentioned earlier, your libiconv.a seems to have been overwritten or updated , as it includes a libiconv.so.2 and that is NOT included in AIX libiconv.a, so I would not be surprised if other applications have errors with expected /usr/lib/libiconv.a
Also, this is a really old AIX level :-)
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin
Original Message:
Sent: Tue September 17, 2024 11:26 AM
From: Hakim
Subject: Agent Veeam for AIX problème libpath
Hello Jan,
On the production environment so the one that does not work, the aix libiconv fileset and the libiconv rpm coexist
libiconv 1.14-22 C R Character set conversion library, portable iconv implementation (/bin/rpm)
AND
bos.rte.iconv 7.1.2.15 C F Language Converters
7.1.4.1 C F Language Converters
Is it possible to remove this libiconv rpm?
Now the question is "How to solve this" because this libiconv rpm is certainly impossible to uninstall
because it must be nested in dependencies with the other rpms.
Is it possible with slibclean and another command to "unload" this library and leave only the one coming from VeeamAgent?
Thanks for your help
Regards,
Hakim
------------------------------
HBO
Original Message:
Sent: Mon September 16, 2024 03:21 PM
From: Jan Harris
Subject: Agent Veeam for AIX problème libpath
based on the error:
exec(): 0509-036 Could not load program
/opt/veeam/bin/veeamservice due to the following errors:
0509-022 Could not load module
--> /opt/veeam /lib/libVmbPlatformBaseLib.so
Fri Jul 19 10:05:42 DFT 2024 0509-150 The dependent module
----->>>>> /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-103 The module has an incorrect magic number.
You should also check
dump -X32_64 -Hv /opt/veeam/lib/libVmbPlatformBaseLib.so to ensure that is loading the veeam path first.
You really need to discuss this with the veeam support.
Also, as mentioned earlier, your libiconv.a seems to have been overwritten or updated , as it includes a libiconv.so.2 and that is NOT included in AIX libiconv.a, so I would not be surprised if other applications have errors with expected /usr/lib/libiconv.a
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin
Original Message:
Sent: Mon September 16, 2024 05:11 AM
From: Hakim
Subject: Agent Veeam for AIX problème libpath
Hello Jan,
I tried dump command on the 2 environment but unfortunately by checking I saw that on both the return of the command is similar.
The Veeam path is well present
PRODUCTION
[root@SYNERGIE_S1] / > dump -X32_64 -Hv /opt/veeam/bin/veeamservice
/opt/veeam/bin/veeamservice:
***Section chargeur***
Informations sur l'en-t▒te de chargeur
#VERSION #ENTtableSYMB #entTRANS LONGidCHAINE
0x00000002 0x000001ca 0x0000125d 0x000004f7
#IDfichIMP DECALidCHAINE LONGchTBL DECALtblCHAINE
0x00000030 0x000150f8 0x000047cd 0x000155ef
***Cha▒nes de fichier d'importation***
INDEX CHEMIN BASE MEMBRE
0 /opt/veeam/lib:/lib:/usr/lib
1 libbsd.a shr_64.o
2 libLPBCoreLib.so
3 libLPBCoreComponentsLib.so
4 libLPBCoreBaseLib.so
5 libLPBCoreVMC.so
6 libLPBCoreGroundLib.so
7 libLpbNetworkAdapterLib.so
8 libProtocolLib.so
9 libLpbSystemModelLib.so
10 libLpbDevEnumLib.so
11 libFsMountLib.so
12 libSvmLib.so
13 libLvmLib.so
14 libZfsLib.so
15 libRecoveryMediaLib.so
16 libVmbPlatformLib.so
17 libVmbPlatformBaseLib.so
18 libLicenseLib.so
19 libVmbModelLib.so
20 libSqliteLib.so
21 libDatabasesCommonLib.so
22 libGateClientLib.so
23 libVeeamAgentCoreLib.so
24 libNfsMountLib.so
25 libFileBackupLib.so
26 libWANInteractionLib.so
27 libNetLib.so
28 libcurl.a libcurl.so
29 libcurlcpp.a libcurlcpp.so
30 libHttpLib.so
31 libStgLib.so
32 libStgBaseLib.so
33 libWANLib.so
34 libFilesysLib.so
35 libDiskLib.so
36 libExt4Lib.so
37 libLpbCommonLib.so
38 libAlgLib.so
39 libCommonLib.so
40 libCommonBaseLib.so
41 libssl.a libssl64.so.3
42 libcrypto.a libcrypto64.so.3
43 libzstd.a libzstd.so.1
44 libstdc++.a libstdc++.so.6
45 libgcc_s.a shr.o
46 libpthreads.a shr_xpg5_64.o
47 libc.a shr_64.o
INDEX PATH BASE MEMBER
0 /opt/veeam/lib:/lib:/usr/lib
TEST
[SYNERGIE2_S1:/]=>dump -X32_64 -Hv /opt/veeam/bin/veeamservice
/opt/veeam/bin/veeamservice:
***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000002 0x000001ca 0x0000125d 0x000004f7
#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
0x00000030 0x000150f8 0x000047cd 0x000155ef
***Import File Strings***
INDEX PATH BASE MEMBER
0 /opt/veeam/lib:/lib:/usr/lib
1 libbsd.a shr_64.o
2 libLPBCoreLib.so
3 libLPBCoreComponentsLib.so
4 libLPBCoreBaseLib.so
5 libLPBCoreVMC.so
6 libLPBCoreGroundLib.so
7 libLpbNetworkAdapterLib.so
8 libProtocolLib.so
9 libLpbSystemModelLib.so
10 libLpbDevEnumLib.so
11 libFsMountLib.so
12 libSvmLib.so
13 libLvmLib.so
14 libZfsLib.so
15 libRecoveryMediaLib.so
16 libVmbPlatformLib.so
17 libVmbPlatformBaseLib.so
18 libLicenseLib.so
19 libVmbModelLib.so
20 libSqliteLib.so
21 libDatabasesCommonLib.so
22 libGateClientLib.so
23 libVeeamAgentCoreLib.so
24 libNfsMountLib.so
25 libFileBackupLib.so
26 libWANInteractionLib.so
27 libNetLib.so
28 libcurl.a libcurl.so
29 libcurlcpp.a libcurlcpp.so
30 libHttpLib.so
31 libStgLib.so
32 libStgBaseLib.so
33 libWANLib.so
34 libFilesysLib.so
35 libDiskLib.so
36 libExt4Lib.so
37 libLpbCommonLib.so
38 libAlgLib.so
39 libCommonLib.so
40 libCommonBaseLib.so
41 libssl.a libssl64.so.3
42 libcrypto.a libcrypto64.so.3
43 libzstd.a libzstd.so.1
44 libstdc++.a libstdc++.so.6
45 libgcc_s.a shr.o
46 libpthreads.a shr_xpg5_64.o
47 libc.a shr_64.o
Thanks for your lights
Regards,
HB
------------------------------
HBO
Original Message:
Sent: Thu September 12, 2024 08:45 AM
From: Jan Harris
Subject: Agent Veeam for AIX problème libpath
It seems the application provides its own libiconv.a but this is not getting loaded.
Try:
dump -X32_64 -Hv /opt/veeam/bin/veeamservice
Check the "Index 0" values
For example, the AIX Toolbox "grep" uses the freeware libiconv.so.2 and we can see this in the library search path for the command:
# dump -X32_64 -Hv /opt/freeware/bin/grep
<...>
INDEX PATH BASE MEMBER
0 /opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
1 libc.a shr_64.o
2 libpthreads.a shr_xpg5_64.o
3 /opt/freeware/lib libintl.a libintl.so.8
4 libpcre.a libpcre.so.1
5 /opt/freeware/lib libiconv.a libiconv.so.2
If you do not see the veeam path in the search path, you need to check with the product support.
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin
Original Message:
Sent: Thu September 12, 2024 05:04 AM
From: Hakim
Subject: Agent Veeam for AIX problème libpath
Hello Jan,
Thanks a lot for your expertise
I hope to find you well !
I was out of office these last weeks
If you could help me again, I will be delighted
I would like to share with you the commands below after some clarifications
My customer was in contact with an engineer from VEEAM to try to install the VEEAM agent for AIX on our 4 AIX partitions (Prod and Test environment)
We succeeded on 2 of them (Test Environment), however, on the remaining 2 (Prod Environment), the agent installs, but cannot update.
VEEAM also indicates a problem with libiconv.
Result of the commands:
lppchk -c bos.rte.iconv => is OK for the env. prod and test
Prod environment: VEEAM NOK

Test environment : VEEAM OK

Even with the LIBPATH unset, we have the error messages:
exec(): 0509-036 Could not load program
/opt/veeam/bin/veeamservice due to the following errors:
0509-022 Could not load module
/opt/veeam /lib/libVmbPlatformBaseLib.so
Fri Jul 19 10:05:42 DFT 2024 0509-150 The dependent module
/usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-103 The module has an incorrect magic number.
Thanks a lot for your help
Kind Regards,
HB
------------------------------
HBO
Original Message:
Sent: Fri August 02, 2024 09:54 PM
From: Jan Harris
Subject: Agent Veeam for AIX problème libpath
This is an old system. Your rpm.rte and openssl file set levels are out of support.
The libiconv package is old and out of support.
Furthermore, it seems the /usr/lib/libiconv.a might have been overwritten.
You should contact Veeam support to ensure you have the correct libraries, but you should also check your bos.rte.iconv file set for errors.
1) Check
lppchk -c bos.rte.iconv
2) Make sure base iconv loads ok:
echo hello | iconv -f ISO8859-1 -t UTF-8 | iconv -f UTF-8 -t ISO8859-1
ar -X32_64 -tv /usr/lib/libiconv.ab
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin
Original Message:
Sent: Fri August 02, 2024 10:34 AM
From: Hakim
Subject: Agent Veeam for AIX problème libpath
Hello,
We have an issue installing the VEEAM agent for AIX on 2 of our AIX servers.
Fri Jul 19 10:05:42 DFT 2024 exec() : 0509-036 Could not load program
Fri Jul 19 10:05:42 DFT 2024 /opt/veeam/bin/veeamservice
Fri Jul 19 10:05:42 DFT 2024 due to the following errors:
Fri Jul 19 10:05:42 DFT 2024 0509-022 Could not load module
Fri Jul 19 10:05:42 DFT 2024 /opt/veeam/lib/libVmbPlatformBaseLib.so
Fri Jul 19 10:05:42 DFT 2024 0509-150 The dependent module
Fri Jul 19 10:05:42 DFT 2024 /usr/lib/libiconv.a(libiconv.so.2)
Fri Jul 19 10:05:42 DFT 2024 could not be loaded.
Fri Jul 19 10:05:42 DFT 2024 0509-103 The module has an incorrect magic number.
LIBPATH=/usr/lib:/opt/freeware/lib:/var/samba/lib/private
rpm.rte 3.0.5.52 C F RPM Package Manager
bos.rte 7.1.4.1 C F Base Operating System Runtime
VeeamAgent 4.1.1-1423 C R Veeam Agent for IBM AIX (/bin/rpm)
VeeamAgent-4.1.1-1423 Fri Jul 19 10:05:42 2024
openssl.base 1.0.1.515 C F Open Secure Socket Layer
openssl.license 1.0.1.515 C F Open Secure Socket License
openssl.man.en_US 1.0.1.515 C F Open Secure Socket Layer
openssh.base.client 6.0.0.6201 C F Open Secure Shell Commands
openssh.base.server 6.0.0.6201 C F Open Secure Shell Server
openssh.license 6.0.0.6201 C F Open Secure Shell License
openssh.man.en_US 6.0.0.6201 C F Open Secure Shell Documentation - U.S. English
libiconv 1.14-22 C R Character set conversion library, portable iconv implementation (/bin/rpm)
libiconv-1.14-22 Fri Oct 21 15:36:18 2016
# ar -t /usr/lib/libiconv.a
shr4.o
shr.o
libiconv.so.2
# ar -X32_64 -tv /usr/lib/libiconv.a
r--r--r-- 2/2 237515 13 nov 22:13 2015 shr4.o
r--r--r-- 2/2 237637 13 nov 22:13 2015 shr.o
r--r--r-- 2/2 310177 13 nov 22:13 2015 shr4_64.o
rwxr-xr-x 0/0 1162902 21 oct 19:20 2016 libiconv.so.2
# ls -ail /usr/lib/libiconv.a
58476 -r--r--r-- 1 root system 1953027 21 oct 2016 /usr/lib/libiconv.a
# unset LIBPATH
# echo LIBPATH
Thanks a lot for your help
Regards,
HB
------------------------------
HBO
------------------------------