Gen Linux CSE iefmd srvms - Error while loading shared libraries: lic98_64.so
search cancel

Gen Linux CSE iefmd srvms - Error while loading shared libraries: lic98_64.so

book

Article ID: 374387

calendar_today

Updated On:

Products

Gen

Issue/Introduction

New Gen 8.6 Linux Client Server Encyclopedia (CSE) has been installed and the configuration completed.
Trying to connect to the CSE with the Encyclopedia Client fails with:
MDEXI0084E Cannot connect to MD at this time. Try later.

Last lines of the iefmd.log file is below message..

User/Group/Authorization Server is ready
  bdvpco01b/2500 CSE_ENV ENCY: SRVUGA..................Ready.
/opt/Gen/CSE/cse/bin/srvms: error while loading shared libraries: lic98_64.so: cannot open shared object file: No such file or directory

Environment

OS: Linux
Release: 8.6
Gen Client Server Encyclopedia (CSE)

Cause

The file lic98_64.so is part of the CA License Software that the CSE installation should have installed into directory /opt/CA/SharedComponents.
Any CSE executables that depend on /opt/CA/SharedComponents/lib/lic98_64.so like srvms reference the full directory path of the file explicitly (they don't rely on having /opt/CA/SharedComponents/lib in LD_LIBRARY_PATH) e.g.
# cd /opt/Gen/CSE/cse/bin
# ldd srvms
        linux-vdso.so.1 (0x00007fffd63b7000)
        lic98_64.so => /opt/CA/SharedComponents/lib/lic98_64.so (0x00007f6019148000)
        ...


The contents of /opt/CA/SharedComponents should be as follows where bin, lib and ca_lic are the CA License Software and CAPKI contains the CA SSL Software.

# cd /opt/CA/SharedComponents
# ls -al
total 8
drwxr-xr-x. 10 root root  116 Aug  2 01:43 .
drwxrwxr-x.  5 root root   88 Aug  2 01:43 ..
drwxr-xr-x.  2 root root    6 Aug  2 01:43 bin
drwxr-xr-x.  3 root root 4096 Aug  2 01:43 ca_lic
drwxr-xr-x.  3 root root   20 Aug  2 01:43 CAPKI
drwxr-xr-x.  2 root root  121 Aug  2 01:43 lib

ca_lic contains shared object libraries and lib contains symbolic links to them:

# ls -al ca_lic/*.so
-r-xr-xr-x. 1 root bin 165426 Jun  9  2011 ca_lic/lic98_64.so
-r-xr-xr-x. 1 root bin 175168 Jun  9  2011 ca_lic/lic98.so
-r-xr-xr-x. 1 root bin  22712 Jun  9  2011 ca_lic/licutil.so

# ls -al lib

total 0
drwxr-xr-x.  2 root root 121 Aug  2 01:43 .
drwxr-xr-x. 10 root root 116 Aug  2 01:43 ..
lrwxrwxrwx.  1 root root  43 Aug  2 01:43 liblic98_64.so -> /opt/CA/SharedComponents/ca_lic/lic98_64.so
lrwxrwxrwx.  1 root root  40 Aug  2 01:43 liblic98.so -> /opt/CA/SharedComponents/ca_lic/lic98.so
lrwxrwxrwx.  1 root root  42 Aug  2 01:43 liblicutil.so -> /opt/CA/SharedComponents/ca_lic/licutil.so
lrwxrwxrwx.  1 root root  43 Aug  2 01:43 lic98_64.so -> /opt/CA/SharedComponents/ca_lic/lic98_64.so
lrwxrwxrwx.  1 root root  40 Aug  2 01:43 lic98.so -> /opt/CA/SharedComponents/ca_lic/lic98.so
lrwxrwxrwx.  1 root root  42 Aug  2 01:43 licutil.so -> /opt/CA/SharedComponents/ca_lic/licutil.so


Support requested:

  1. The CSE_Install*.log file from directory /opt/Gen/CSE/_CSE_installation/Logs
  2. The file CA.out created as output of this command: ls -alR /opt/CA > /tmp/CA.out


The install log file showed no problems i.e.
*****
Installation: Successful.

295 Successes
0 Warnings
0 NonFatalErrors
0 FatalErrors
*****

Also it later shows it is successful for these 3 items. The first 2 are for the license software and the 3rd  "setup" is the CAPKI software.
*****
05/04/2024 12:00:17:186
Install File:             /tmp/869545.tmp/lic98_keygen_4.tar
                          Status: SUCCESSFUL

05/04/2024 12:00:17:189
Install File:             /tmp/869545.tmp/lic98.tar
                          Status: SUCCESSFUL

05/04/2024 12:00:17:191
Install File:             /tmp/869545.tmp/setup
                          Status: SUCCESSFUL
*****

The CA.out showed that all 3 sub-directories for the CA License Software bin, lib and ca_lic were missing from under the directory /opt/CA/SharedComponents.
Under the same directory the sub-directory for CAPKI had been created and populated.

Resolution

Unfortunately the install cleans up any individual temporary directories created in /tmp so it is not feasible to drill into more details post-install.
So the root cause of the license software install failure could not be found.

To resolve the problem Gen support provided a gzip tar file which contains all files that should be present under the /opt/CA/SharedComponents directory.
See attached file.

Additional Information

Gen Engineering will look into improved future troubleshooting for when the license software does not get installed successfully.

Attachments

SharedComponents.tar.gz get_app