NMC: gstd service fails to start "error while loading shared libraries"

Summary: The GSTD service is down on the NMC/NetWorker server. When trying to start the GSTD service, the following error is provided: "error while loading shared libraries: libosysrtxml.so: cannot open shared object file: No such file or directory" ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • The NetWorker Management Console (NMC) server is installed on a Linux platform.
  • The NMC is inaccessible. 
  • The NMC server (gstd) service is not running; attempts to start it fail, reporting a library issue:
[root@networkernmc ~]# /opt/lgtonmc/bin/gstd start
/opt/lgtonmc/bin/gstd: error while loading shared libraries: libosysrtxml.so: cannot open shared object file: No such file or directory
NOTE: The specific library can differ.

Cause

LD_LIBRARY_PATH environment variable is not defined with the path where the libraries are located.

Resolution

The missing libraries must be linked.

NOTE: Do not copy and paste commands, verify the locations of the library files on the NMC server.
  1.  Run ldd to show an output of the missing library dependencies for the GSTD binary:
[root@networkernmc ~]# ldd /opt/lgtonmc/bin/gstd
       linux-vdso.so.1 =>  (0x00007fff6f7ff000)
       libosysrtxml.so => not found
       libCSP-LDAP.so => not found
       libCSP-LDAPClient.so => not found
       libCSP-lb.so => not found
       libCSP-C.so => not found
       libCSP-XML.so => not found
       libCSP-RT.so => not found
       libCSP.so => not found
       libCSPI.so => not found
       libCST-Admin.so => not found
       libdl.so.2 => /lib64/libdl.so.2 (0x0000003a06a00000)
       librt.so.1 => /lib64/librt.so.1 (0x0000003a07200000)
       libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a06e00000)
       libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a09a00000)
       libm.so.6 => /lib64/libm.so.6 (0x0000003a07600000)
       libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a08a00000)
       libc.so.6 => /lib64/libc.so.6 (0x0000003a06600000)
       /lib64/ld-linux-x86-64.so.2 (0x0000003a06200000)
  1. The library dependencies should be under /opt/lgtonmc/lib64/cst/. Verify the missing library paths using the find command:
[root@networkernmc ~]# find / -name libosysrtxml.so -type f
/opt/lgtonmc/lib64/cst/libosysrtxml.so
  1. Use the export command to update the LD_LIBRARY_PATH environment variable for the GSTD library location:
[root@networkernmc ~]# export LD_LIBRARY_PATH=/opt/lgtonmc/lib64/cst/:/opt/lgtonmc/bin/gst
NOTE: The above command can be modified to include other locations, depending on which libraries are initially reported "not found" and where they are found using the "find" command. If the system is missing required packages, consult with the Linux system administrator to install dependencies.
  1. Confirm that the libraries were linked by running ldd again:
[root@networkernmc ~]# ldd /opt/lgtonmc/bin/gstd
       linux-vdso.so.1 =>  (0x00007fff23dfe000)
       libdl.so.2 => /lib64/libdl.so.2 (0x00007f781929b000)
       libosysrtxml.so => /opt/lgtonmc/lib64/cst/libosysrtxml.so (0x00007f78190e6000)
       libCSP-LDAP.so => /opt/lgtonmc/lib64/cst/libCSP-LDAP.so (0x00007f7818f68000)
       libCSP-LDAPClient.so => /opt/lgtonmc/lib64/cst/libCSP-LDAPClient.so (0x00007f7818d3b000)
       libCSP-lb.so => /opt/lgtonmc/lib64/cst/libCSP-lb.so (0x00007f7818c14000)
       libCSP-C.so => /opt/lgtonmc/lib64/cst/libCSP-C.so (0x00007f7818a61000)
       libCSP-XML.so => /opt/lgtonmc/lib64/cst/libCSP-XML.so (0x00007f7818839000)
       libCSP-RT.so => /opt/lgtonmc/lib64/cst/libCSP-RT.so (0x00007f78186ca000)
       libCSP.so => /opt/lgtonmc/lib64/cst/libCSP.so (0x00007f7818539000)       
       libCSPI.so => /opt/lgtonmc/lib64/cst/libCSPI.so (0x00007f78183d7000)
       libCST-Admin.so => /opt/lgtonmc/lib64/cst/libCST-Admin.so (0x00007f7818297000)
       librt.so.1 => /lib64/librt.so.1 (0x00007f781808f000)
       libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7817e73000)
       libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f7817b6b000)
       libm.so.6 => /lib64/libm.so.6 (0x00007f7817869000)
       libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7817653000)
       libc.so.6 => /lib64/libc.so.6 (0x00007f7817290000)
       /lib64/ld-linux-x86-64.so.2 (0x00007f78194af000)
       libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f7817076000)
  1. Attempt to start the NMC server's gstd service:
[root@networkernmc ~]# /opt/lgtonmc/bin/gstd start
Starting GST:
GST Services, Version x.x.x.x.Build.xxxx
done.
  1. Validate that NetWorker services have started:
[root@networkernmc ~]# ps -ef | grep gst
root      3070     1  0 10:11 ?        00:00:00 /opt/lgtonmc/bin/gstd
root      3102 27861  0 10:11 pts/0    00:00:00 grep --color=auto gst 

Additional Information

Render the gstd.raw for additional errors for why the NMC may not be starting:

nsr_render_log /opt/lgtonmc/logs/gstd.raw

NetWorker: How to use nsr_render_log to render .raw log files

Affected Products

NetWorker, NetWorker Management Console
Article Properties
Article Number: 000038872
Article Type: Solution
Last Modified: 17 Mar 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.