Boplogin Can't Be Started

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

Description:

After performing a fresh install of Service Desk Manager 12.5 CA SDM on Red Hat Enterprise Linux 5.2, complete the Service Desk Configuration task. Then try to start Service Desk Manager. Verify the status of the application using the following command at the Linux prompt:

pdm_status | grep boplgin  

The results show that the boplgin process is not running. So users won't be able to access Service Desk application. The Service Desk logs contains messages like:

04/07 14:41:22.55 sd-rudra02-lab pdm_d_mgr 24030 SIGNIFICANT mgr_slump_if.c 1070 Starting: $NX_ROOT/bin/boplgin
04/07 14:41:22.56 sd-rudra02-lab proctor_sd-rudra0 24050 SIGNIFICANT pdm_process.c 545 Process Started
(5398):/opt/CA/ServiceDeskManager/bin/boplgin
04/07 14:41:23.56 sd-rudra02-lab proctor_sd-rudra0 24050 SIGNIFICANT agt_slump_if.c 1165 Process stopped
(/opt/CA/ServiceDeskManager/bin/boplgin return: 0X7f
04/07 14:41:23.56 sd-rudra02-lab pdm_d_mgr 24030 ERROR daemon_obj.c 1849 Daemon bop_login died: restarting

If you try to run boplgin manually using the command below, you receive the 'error while loading' message:

Command: /opt/CA/ServiceDeskManager/bin/boplgin
Result:

/opt/CA/ServiceDeskManager/bin/boplgin: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

If you try to verify if the program can access its dependencies using the command below, you receive the 'not found' message:

Command: ldd ../bin/boplgin

Result:

linux-gate.so.1 => (0xffffe000)   
libdl.so.2 => /lib/libdl.so.2 (0x00c42000)   
libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7edb000)   
libpthread.so.0 => /lib/libpthread.so.0 (0x00c48000)   
libresolv.so.2 => /lib/libresolv.so.2 (0x00761000)   
liblog4cxx.so.10 => /opt/CAisd/lib/liblog4cxx.so.10 (0xf7cf5000)   
libexpat.so.2 => /opt/CAisd/lib/libexpat.so.2 (0xf7cca000)   
libz.so.1 => /opt/CAisd/lib/libz.so.1 (0xf7cb5000)   
libpcre.so.0 => not found   
libcurl.so.4 => /opt/CAisd/lib/libcurl.so.4 (0xf7bfd000)   
libxerces-c.so.28 => /opt/CAisd/lib/libxerces-c.so.28 (0xf7862000)   
libm.so.6 => /lib/libm.so.6 (0x00c61000)   
libc.so.6 => /lib/libc.so.6 (0x00afd000)   
/lib/ld-linux.so.2 (0x00adf000)   
libuuid.so.1 => /lib/libuuid.so.1 (0xf785d000)   
librt.so.1 => /lib/librt.so.1 (0x00d6b000)   
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf77a4000)   
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d76000)   
libicuuc.so.36 => /opt/CAisd/lib/libicuuc.so.36 (0xf768f000)   
libicudata.so.36 => /opt/CAisd/lib/libicudata.so.36 (0xf6cdf000)   
libXercesMessages.so => /opt/CAisd/lib/libXercesMessages.so (0xf6cc5000)     

Basically the boplgin program is looking for libpcre.so.0 and it can't find it. That's the reason behind boplgin not able to start properly. This library libpcre.so.0 is part of the package pcre-6.3-1. Out-of-the-box, Redhat 5.2 server has the package pcre-6.6-2.el5_1.7 which does not include libpcre.so.0.

To check with package exists, issue the command below.

Command: rpm -qa|grep pcre
Result: pcre-6.6-2.el5_1.7

The same problem does not occur during the SuSE Linux install because libpcre.so.0 is part of the package for that operating system.

Solution:

To solve the above issue, create a softlink, libpcre.so.0, to the libpcre.so file that exists in the $NX_ROOT/lib directory. (By default, $NX_ROOT refers to the /opt/CA/ServiceDeskManager directory.)

Command: cd /opt/CA/ServiceDeskManager/lib

Command: ln -fs /opt/CA/ServiceDeskManager/lib/libpcre.so /opt/CA/ServiceDeskManager/lib/libpcre.so.0

To verify that the soft link was created properly, issue the Command below and check that your results are similar:

Command: ls -al libpcre*

Result:

-rwxrwxr-x 1 root root 212817 Mar 18 2010 libpcre.so
lrwxrwxrwx 1 root root 41 Jun 14 16:56 libpcre.so.0 -> /opt/CA/ServiceDeskManager/lib/libpcre.so

To re-verify the dependency of boplgin after creating the soft link, issue the Command below and check your results:

Command: ldd /opt/CA/ServiceDeskManager/bin/boplgin
Result:

linux-gate.so.1 => (0xffffe000)   
libdl.so.2 => /lib/libdl.so.2 (0x00c42000)   
libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7f8e000)   
libpthread.so.0 => /lib/libpthread.so.0 (0x00c48000)   
libresolv.so.2 => /lib/libresolv.so.2 (0x00761000)   
liblog4cxx.so.10 => /opt/CAisd/lib/liblog4cxx.so.10 (0xf7da8000)   
libexpat.so.2 => /opt/CAisd/lib/libexpat.so.2 (0xf7d7d000)   
libz.so.1 => /opt/CAisd/lib/libz.so.1 (0xf7d68000)   
libpcre.so.0 => /opt/CAisd/lib/libpcre.so.0 (0xf7d37000)   
libcurl.so.4 => /opt/CAisd/lib/libcurl.so.4 (0xf7c9a000)   
libxerces-c.so.28 => /opt/CAisd/lib/libxerces-c.so.28 (0xf78ff000)   
libm.so.6 => /lib/libm.so.6 (0x00c61000)   
libc.so.6 => /lib/libc.so.6 (0x00afd000)   
/lib/ld-linux.so.2 (0x00adf000)   
libuuid.so.1 => /lib/libuuid.so.1 (0xf78fa000)   
librt.so.1 => /lib/librt.so.1 (0x00d6b000)   
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf7841000)   
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d76000)   
libicuuc.so.36 => /opt/CAisd/lib/libicuuc.so.36 (0xf772c000)   
libicudata.so.36 => /opt/CAisd/lib/libicudata.so.36 (0xf6d7c000)   
libXercesMessages.so => /opt/CAisd/lib/libXercesMessages.so (0xf6d62000)  

Restart Service Desk Manager.

Verify that boplgin starts successfully using pdm_status.