Topic
  • No replies
SystemAdmin
SystemAdmin
2948 Posts

Pinned topic dlopen throws PAR error for .so in AIX (purify)

‏2012-09-18T20:19:00Z |
Can somebody help me in resolving this problem mentioned below?

This is what I'm getting while running purified binary.
errno set to 2 when dlopen returns this error.

  • Purify instrumented /usr/es/sbin/cluster/xd_generic/xd_backend/clxd_main (pid 17629436) ****
PAR: Bad function parameter:
* This is occurring while in:
__loadx http://librtlib.o
load1 http://libc.a(shr.o)
load http://libc.a(shr.o)
loadAndInit http://libc.a(shr.o)
dlopen http://libc.a(shr.o)
load_module clxd_storage_module.c:275
load_module_and_invoke_entry_func clxd_storage_module.c:367
* load("/usr/es/sbin/cluster/xd_generic/xd_ds8k_gm/libclxd_ds8k_gm.so", 0x14b0280, "/usr/lib:/usr/es/lib") Purify'd file (/usr/purify/releases/purify.aix.7.0.1.0-000.C/cache/sturgeon.austin.ibm.c
om/usr/es/sbin/cluster/xd_generic/xd_ds8k_gm/libclxd_ds8k_gm.so_pure_p7_c0_112062316_32) failed to load !! (Error 0).

  1. ls -l /usr/es/lib
total 4600
-r--r--r-- 1 root system 45501 Feb 13 2012 cfs_utils.pm
drwxr-xr-x 10 bin system 4096 Sep 14 04:26 ksh93
-r--r--r-- 1 bin system 133511 Sep 11 11:39 libcl.a
-r--r--r-- 1 bin system 496234 Sep 11 11:51 libcl_r.a
-r--r--r-- 1 bin system 909 Sep 13 15:09 libcljni.jar
-r-xr-xr-x 1 bin system 2928 Sep 11 13:27 libcljni.so
-r--r--r-- 1 bin system 20317 Sep 11 11:39 libclpp.a
-r--r--r-- 1 bin system 41034 Sep 11 11:51 libclpp_r.a
-r--r--r-- 1 bin system 706808 Sep 11 11:36 libclstr.a
-r--r--r-- 1 bin system 389650 Sep 11 11:47 libclstr_r.a
-r--r--r-- 1 bin system 21671 Sep 11 13:27 libclverAPI.a
lrwxrwxrwx 1 root system 61 Sep 18 15:01 libclxd_ds8k_gm.so -> /usr/es/sbin/cluster/xd_generic/xd_ds8k_gm/libclxd_ds8k_gm.so
lrwxrwxrwx 1 root system 61 Sep 18 15:01 libclxd_ds8k_mm.so -> /usr/es/sbin/cluster/xd_generic/xd_ds8k_mm/libclxd_ds8k_mm.so
lrwxrwxrwx 1 root system 59 Sep 18 15:01 libclxd_xiv_rm.so -> /usr/es/sbin/cluster/xd_generic/xd_xiv_rm/libclxd_xiv_rm.so
-r--r--r-- 1 bin system 464284 Jan 23 2012 libnetmgr.a
lrwxrwxrwx 1 root system 70 Sep 18 15:01 libxd_ds8k_mm_kernext.a -> /usr/es/sbin/cluster/xd_generic/xd_ds8k_mm/lib/libxd_ds8k_mm_kernext.a
lrwxrwxrwx 1 root system 66 Sep 18 15:01 libxd_ds8k_mm_sys.a -> /usr/es/sbin/cluster/xd_generic/xd_ds8k_mm/lib/libxd_ds8k_mm_sys.a
drwxr-xr-x 3 bin bin 256 Sep 13 15:28 nls
drwxr-xr-x 3 bin system 256 Sep 14 04:23 perl