oprdb script db error Memory Fault

Document ID : KB000008992
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When exporting Message Records and Actions Records in Event Management coming from the CCS components with "oprdb script db", the command fails with "Memory Fault".

Environment:
CA WAAE 11.3.6 SP6 CUM1 with Common Services 11.2 SP2 CUM1 on Linux.It can happen with any other Unix/Linux platform.
Cause:

The oprdb command needs to load library lic98.so .

If the library is not available, this "Memory Fault" occurs.

Resolution:

In directory /opt/CA/CAlib there are symbolic links pointing to the real location of the lic98.so library.

Create the missing links with:

cd /opt/CA/CAlib

ln -s /opt/CA/SharedComponents/ca_lic/lic98.so  ./liblic98.so

ln -s /opt/CA/SharedComponents/ca_lic/lic98.so  ./lic98.so

Additional Information:

The following system trace can help to find out missing libraries or symbolic links:

 strace -f -o /tmp/trace oprdb script db

 Then look into file /tmp/trace.