Original Message:
Sent: Mon April 03, 2023 02:28 AM
From: Ayappan P
Subject: veeamagent config failed with libcrypto.so error
Your libraries are not proper. Download & install openssl from AIX web download pack programs as I mentioned in the earlier thread.
(File --> openssl-1.1.2.1202.tar.Z)
uncompress openssl-1.1.2.1202.tar.Z
tar -xf openssl-1.1.2.1202.tar
cd openssl-1.1.2.1202
installp -acXYFd . *
------------------------------
Ayappan P
Original Message:
Sent: Fri March 31, 2023 10:52 PM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
Here is the output..
:(/usr/lib)# ar -X32_64 -tv /usr/lib/libcrypto.a
rwxr-xr-x 0/0 3052083 Apr 10 14:22 2018 libcrypto.so
rw-r--r-- 0/0 2186744 Apr 10 14:15 2018 libcrypto.so.0.9.8
rwxr-xr-x 0/0 3052083 Apr 10 14:10 2018 libcrypto.so.1.0.0
rwxr-xr-x 0/0 3467407 Apr 10 14:24 2018 libcrypto64.so
rw-r--r-- 0/0 2527801 Apr 10 14:15 2018 libcrypto64.so.0.9.8
rwxr-xr-x 0/0 3467407 Apr 10 14:11 2018 libcrypto64.so.1.0.0
Thanks,
------------------------------
Mizanur Rahman
Original Message:
Sent: Fri March 31, 2023 12:56 AM
From: Ayappan P
Subject: veeamagent config failed with libcrypto.so error
"Invalid magic number". Generally this error comes if 64bit applications only finds 32bit shared objects in the archive or the vice-versa.
Can you share the output of "ar -X32_64 -tv /usr/lib/libcrypto.a" ?
------------------------------
Ayappan P
Original Message:
Sent: Thu March 30, 2023 02:58 PM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
After I remove libcrypto.so, still getting below error..
(/usr/lib)# mv /usr/lib/libcrypto.so /usr/lib/libcrypto.so.bkup
# veeamconfig mode info
exec(): 0509-036 Cannot load program veeamconfig because of the following errors:
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-103 The module has an invalid magic number.
:(/usr/lib)# unset LIBPATH
:(/usr/lib)# echo $LIBPATH
Thanks,
------------------------------
Mizanur Rahman
Original Message:
Sent: Thu March 30, 2023 08:46 AM
From: C- -T
Subject: veeamagent config failed with libcrypto.so error
I am seeing libcrypto.a and .so is inside, /usr/lib ...:(/usr/lib)# ls -la |grep -i libcrypto.a-r-xr-xr-x 1 root system 18199400 Aug 03 2018 libcrypto.a:(/usr/lib)# ls -la |grep -i libcrypto.so-rwxr-xr-x 1 root system 3050171 Feb 19 2018 libcrypto.so
the above output shows that your "/usr/lib/libcrypto.so" is older than your libcrypto.a, so this file is not to be trusted. libcrypto.so is not part of the aix openssl distribution (only *.a) so should be removed.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Wed March 29, 2023 07:22 PM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
I am still getting below error..
:(/tmp/veeam_upgrade)# veeamconfig mode setVBRsettings --cfg AIX_Agent.xml
exec(): 0509-036 Cannot load program veeamconfig because of the following errors:
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-103 The module has an invalid magic number.
I am seeing libcrypto.a and .so is inside, /usr/lib ...
:(/usr/lib)# ls -la |grep -i libcrypto.a
-r-xr-xr-x 1 root system 18199400 Aug 03 2018 libcrypto.a
:(/usr/lib)# ls -la |grep -i libcrypto.so
-rwxr-xr-x 1 root system 3050171 Feb 19 2018 libcrypto.so
# rpm -q --whatprovides /usr/lib/libcrypto.so
file /usr/lib/libcrypto.so is not owned by any package
:(/usr/lib)# lslpp -f openssl.base|grep libcrypt
/usr/lib/libcrypto_compat.a
/usr/lib/libcrypto.a
:(/usr/lib)# ar -t /usr/lib/libcrypto.a
libcrypto.so
libcrypto.so.0.9.8
libcrypto.so.1.0.0
Please help me to fix the issue.
Thanks,
------------------------------
Mizanur Rahman
Original Message:
Sent: Tue March 14, 2023 05:59 AM
From: Ayappan P
Subject: veeamagent config failed with libcrypto.so error
You can get the openssl fileset from https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp
Then use smitty or installp command to reinstall it.
------------------------------
Ayappan P
Original Message:
Sent: Tue March 14, 2023 12:32 AM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
Could you please let me know the steps to re-install openssl.base.
Thanks.
------------------------------
Mizanur Rahman
Original Message:
Sent: Thu March 09, 2023 08:52 AM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
Any update on the reinstalling steps?
Thanks,
------------------------------
Mizanur Rahman
Original Message:
Sent: Wed March 08, 2023 06:07 AM
From: Ayappan P
Subject: veeamagent config failed with libcrypto.so error
Can you reinstall the openssl.base and check again ?
------------------------------
Ayappan P
Original Message:
Sent: Tue March 07, 2023 06:03 PM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
Thats give huge output, which I attached.
Thanks,
-Miz
------------------------------
Mizanur Rahman
Original Message:
Sent: Tue March 07, 2023 05:50 AM
From: Ayappan P
Subject: veeamagent config failed with libcrypto.so error
You also have a fileset "pware53-64.openssl.rte" which might be problematic. You need to check what are the files shipped by this fileset and whether they are overwriting IBM openssl.base files.
lslpp -f pware53-64.openssl.rte
------------------------------
Ayappan P
Original Message:
Sent: Mon March 06, 2023 01:55 PM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
Any update, how to resolve this libcrypto.so issue?
Thanks,
------------------------------
Mizanur Rahman
Original Message:
Sent: Mon March 06, 2023 12:43 AM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
Below are the openssl we are using on the system.
# lslpp -l |grep ssl
openssl.base 1.0.2.1300 COMMITTED Open Secure Socket Layer
openssl.man.en_US 1.0.2.1300 COMMITTED Open Secure Socket Layer
pware53-64.openssl.rte 0.9.8.13 COMMITTED OpenSSL 0.9.8m (64-bit)
openssl.base 1.0.2.1300 COMMITTED Open Secure Socket Layer
We got VeeamAgent rpm from veeam vendor.
Thanks,
------------------------------
Mizanur Rahman
Original Message:
Sent: Fri March 03, 2023 02:31 AM
From: Ayappan P
Subject: veeamagent config failed with libcrypto.so error
What is the openssl version installed in the machine ? lslpp -l | grep openssl
And who provides VeeamAgent-4.0.0.891-ppc64.rpm ?
------------------------------
Ayappan P
Original Message:
Sent: Wed March 01, 2023 07:11 PM
From: Mizanur Rahman
Subject: veeamagent config failed with libcrypto.so error
Hi,
I tried to run veeamconfig command but getting below errors..
:(/tmp/veeam_upgrade)# echo $LIBPATH
:(/tmp/veeam_upgrade)# rpm -qa |grep Veeam*
VeeamAgent-4.0.0.891-ppc64.rpm
:(/tmp/veeam_upgrade)# veeamconfig mode info
exec(): 0509-036 Cannot load program veeamconfig because of the following errors:
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-103 The module has an invalid magic number.
:(/tmp/veeam_upgrade)# veeamconfig mode setVBRsettings --cfg AIX_Agent.xml
exec(): 0509-036 Cannot load program veeamconfig because of the following errors:
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-103 The module has an invalid magic number.
Please help me to fix the issue.
Thanks
MMR
------------------------------
Mizanur Rahman
------------------------------