Description:
After issuing pdm_init, the domsrvr and bpvirtdb_srvr processes will not start up.
The log files show messages like the following:
07/29 05:44:59.54 linux pdm_d_mgr 27178 ERROR daemon_obj.c 1849 Daemon bpvirtdb_srvr died: restarting 07/29 05:45:00.54 linux pdm_d_mgr 27178 ERROR daemon_obj.c 1849 Daemon bpvirtdb_srvr died: restarting 07/29 05:45:02.55 linux pdm_d_mgr 27178 ERROR daemon_obj.c 1849 Daemon bpvirtdb_srvr died: restarting
The output of pdm_init will look like the following:
linux:/opt/CAisd/log # pdm_init CASHCOMP = /opt/CA/SharedComponents CALIB = /opt/CA/SC/lib starting daemons WARNING: At least one of the daemons has not started Sending output to /opt/CAisd/add-ons/oaserver##/logging/startOAAgent27375.log Starting OpenAccess SDK Agent CA_Service_Desk_Manager_ODBC_Agent... Sending output to /opt/CAisd/add-ons/oaserver##/logging/startOAService27389.log Starting OpenAccess SDK Service CA_Service_Desk_Manager_ODBC_Data_Access...
Solution:
First, validate that Service Desk Manager can connect to Oracle as the same user that issued pdm_init using the command: "orcl_check_db -c" as shown below:
linux:/opt/CAisd/log # orcl_check_db -c SUCCESS: pri table exists, and has 6 rows DB_OK
It should indicate as shown above that a successful database connection was established: "DB_OK".
After running pdm_init, run pdm_status and confirm that bpvirtdb_srvr is not running.
Bpvirtdb_srvr (bpvirtdb_srvr) Not Running linux
Try to start the process manually:
linux:/opt/CAisd/log # bpvirtdb_srvr bpvirtdb_srvr: error while loading shared libraries: lic98.so: cannot open shared object file: No such file or directory
If you receive the error above, you will need to add the ca_lic directory to your LD_LIBRARY_PATH:
linux:~ # ls -l /opt/CA/SharedComponents/ca_lic/ total 1476 -r-xr-xr-x 1 root bin 228881 Dec 6 2007 CALicense -r-sr-xr-x 1 root bin 210231 Dec 6 2007 CAmtype -r-xr-xr-x 1 root bin 4516 Dec 6 2007 addlic -rw-r--r-- 1 root root 0 Jul 25 08:30 ca.olf -r-xr-xr-x 1 root bin 4368 Dec 6 2007 caliclst -r-xr-xr-x 1 root bin 4580 Dec 6 2007 dellic -r-xr-xr-x 1 root bin 70184 Dec 6 2007 instalit -r--r--r-- 1 root bin 54980 Dec 6 2007 lic98.cap -rw-r--r-- 1 root root 0 Jul 25 08:30 lic98.dat lrwxrwxrwx 1 root root 21 Jul 25 08:30 lic98.err -> lic98err/lic98_EN.err -rw-r--r-- 1 root root 0 Jul 25 08:30 lic98.log -r-xr-xr-x 1 root bin 229855 Dec 6 2007 lic98.so linux:/opt/CA/ca_lic # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/CA/SharedComponents/ca_lic/
Long term, you will need to add this to the profile of the user that starts and stops the CA Service Desk Manager service (pdm_init and pdm_halt).
Recycle the CA Service Desk Manager service:
pdm_halt pdm_ipcclean -a pdm_init
Validate the service has started completely, using pdm_status.
All processes should display as "Connected" or "Running". For example: linux:/opt/CAisd/log # pdm_status CA Service Desk Manager Daemon status Running: MAIN_PROCSET DAEMON STATUS HOST PID SLUMP CONNECT TIME --------------------------------------------------------------------------------- AHD System Info (pdm_info) Completed linuxserver Animation (animator_nxd) Running linuxserver 27682 Mon Jul 29 05:48:42 ArcPur Daemon (arcpur_srvr) Running linuxserver 27671 Mon Jul 29 05:48:42 BU Daemon (bu_daemon) Running linuxserver 27677 Mon Jul 29 05:48:42 Bpvirtdb_srvr (bpvirtdb_srvr) Running linuxserver 27585 Mon Jul 29 05:48:27 CA SD Tomcat (pdm_tomcat_nxd) Running linuxserver 27686 Mon Jul 29 05:48:54