Hello,
I recently upgraded an AIX client from version 6.1-9-9 to 7.1-3-9 and i get the following errors when trying to rsync:
exec(): 0509-036 Cannot load program rsync because of the following errors:0509-150 Dependent module libpopt.a(libpopt.so.0) could not be loaded.0509-022 Cannot load module libpopt.a(libpopt.so.0).0509-026 System error: A file or directory in the path name does not exist.rsync: connection unexpectedly closed (0 bytes read so far)rsync error: error in rsync protocol data stream (code 12) at io.c(342)I compare some packages with another upgraded AIX client which does not have the same problem and i could find the following:
Working Client
rpm -qa |grep -i rsync
rsync-2.6.2-1
truss ldd $(whence rsync) 2>&1 |grep popt
statx("/usr/vac/lib/libpopt.a", 0x2000A8B8, 176, 020) Err#2 ENOENT
statx("/usr/lib/libpopt.a", 0x2000A8B8, 176, 020) = 0
/usr/lib/libpopt.a(libpopt.so.0)
ls -al /usr/lib/libpop*
lrwxrwxrwx 1 root system 32 Mar 21 2018 /usr/lib/libpopt.a -> ../../opt/freeware/lib/libpopt.a
lrwxrwxrwx 1 root system 33 Mar 21 2018 /usr/lib/
libpopt.so -> ../../opt/freeware/lib/
libpopt.solrwxrwxrwx 1 root system 35 Mar 21 2018 /usr/lib/libpopt.so.0 -> ../../opt/freeware/lib/libpopt.so.0
lrwxrwxrwx 1 root system 38 Mar 21 2018 /usr/lib/libpopt.so.0.0.0 -> /usr/opt/freeware/lib/libpopt.so.0.0.0
rpm -q --provides AIX-rpm | grep popt
libpopt.solibpopt.so.0
libpopt.so.0.0.0
rpm -qa | grep -i popt
popt-1.14-1
rpm -qa | grep -i AIX-rpm
AIX-rpm-7.1.3.45-19
Problematic Client
rpm -qa |grep -i rsync
rsync-2.6.2-1
truss ldd $(whence rsync) 2>&1 |grep popt
statx("/usr/vac/lib/libpopt.a", 0x2000A8B8, 176, 020) Err#2 ENOENT
statx("/usr/lib/libpopt.a", 0x2000A8B8, 176, 020) = 0
/usr/lib/libpopt.a(libpopt.so.0)
ls -al /usr/lib/libpop*
lrwxrwxrwx 1 root system 32 Mar 15 2018 /usr/lib/libpopt.a -> ../../opt/freeware/lib/libpopt.a
lrwxrwxrwx 1 root system 33 Mar 15 2018 /usr/lib/
libpopt.so -> ../../opt/freeware/lib/
libpopt.solrwxrwxrwx 1 root system 35 Mar 15 2018 /usr/lib/libpopt.so.0 -> ../../opt/freeware/lib/libpopt.so.0
lrwxrwxrwx 1 root system 38 Jun 25 07:58 /usr/lib/libpopt.so.0.0.0 -> /usr/opt/freeware/lib/libpopt.so.0.0.0
rpm -q --provides AIX-rpm | grep popt
libpopt.a(libpopt.so.0)
libpopt.solibpopt.so.0
libpopt.so.0.0.0
rpm -qa | grep -i popt
popt-1.14-1
rpm -qa | grep -i AIX-rpm
AIX-rpm-7.1.3.45-14
The
oslevel -s
command on both server returns
7100-03-09-1717.
I can see that there is a difference on
rpm -q --provides AIX-rpm | grep popt
as the problematic server is looking for a file libpopt.a but im not sure how i can resolve this.
Best Regards,
Stavros
------------------------------
Stavros Tseriotis
------------------------------
#GlobalAIandDataScience#GlobalDataScience