Netvault can fail to start on Linux with an error similar to:
missing a libstdc++ library; cause: compat-32bit package not installed
This will be due to a lack of some prerequisite package(s)/librarie(s). Some missing packages will allow NetVault to start, but loading the GUI will fail, producing segfault errors in syslog similar to:
nvguidisplay[14553]: segfault at 0000000000000028 rip 00000000f7f96ae2 rsp 00000000ffaee6f0 error 6
If a Linux server was built with a non-default selection of RPM's some key libraries may be missing which are needed by Netvault.
This FAQ provides a list of the libraries required and some tips on how to find out if they are already installed.
To function NetVault requires that the following libraries exist on the Linux machine. Note that the X libraries are only required to run NetVault's Graphical UI's; NetVault's core services will start on a Linux client which does not have X11, or X11 libraries, installed.
libICE.so.6
libSM.so.6
libX11.so.6
libXext.so.6
libXp.so.6
libXt.so.6
libc.so.6
libdl.so.2
linux-gate.so.1
There may be some slight differences between distributions over time, so this should list should be seen as a representative guide. We should emphasise that anyone who has taken a standard base installation of an Linux distribution should not have any problems. It is only customized environments where a customer needs to check for these files.
To find out if a machine meets all the dependencies, it is possible to generate a dynamic list. Run the following set of piped commands from the Netvault home directory (normally /usr/netvault) after installing Netvault. This will generate a list of Netvault's executable and shared library dependencies, indicating where one is not found.
# cd /usr/netvault
# find ./ | xargs file | egrep 'shared object|executable' | cut -d: -f1 | xargs ldd | egrep -v '^\.' | perl -pe 's/ *\(.*$//' | sort -u
An example of the results from a RedHat installation is:
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1
libICE.so.6 => /usr/X11R6/lib/libICE.so.6
libSM.so.6 => /usr/X11R6/lib/libSM.so.6
libX11.so.6 => /usr/X11R6/lib/libX11.so.6
libXext.so.6 => /usr/X11R6/lib/libXext.so.6
libXp.so.6 => /usr/X11R6/lib/libXp.so.6
libXt.so.6 => /usr/X11R6/lib/libXt.so.6
libc.so.6 => /lib/tls/libc.so.6
libdl.so.2 => /lib/libdl.so.2
libnv6.so => /usr/lib/libnv6.so
libnv6audit.so => /usr/lib/libnv6audit.so
libnv6cli.so => /usr/lib/libnv6cli.so
libnv6db.so => /usr/lib/libnv6db.so
libnv6gui.so => /usr/lib/libnv6gui.so
libnv6jobs.so => /usr/lib/libnv6jobs.so
libnv6ndmp.so => /usr/lib/libnv6ndmp.so
libnv6plugin.so => /usr/lib/libnv6plugin.so
libnv6reports.so => /usr/lib/libnv6reports.so
libnv6scsi.so => /usr/lib/libnv6scsi.so
libnv6stats.so => /usr/lib/libnv6stats.so
libnv6xctl.so => /usr/lib/libnv6xctl.so
libnv6xpm.so => /usr/lib/libnv6xpm.so
If a dependency is not present it will be reported as:
libXt.so.6 => not found
The non-netvault files (/usr/X11R6/lib/libXp.so.6, /usr/X11R6/lib/libXt.so.6 etc) are the ones that are more likely to be missing. These would normally be installed from an rpm package file via the rpm program. The package file stores information about where to install its files. This information, and more, is accessible via the rpm program. For example, to query an RPM package file about the files it contains type:
"rpm qpl <path/to/rpm-package-file>" (See man rpm or http://www.redhat.com/docs/books/max-rpm/max-rpm-html/).
The most likely scenario is one where the relevant package has not been installed on the system and the user wants to find and install the package file containing a certain dependency, ie the RPM package which contains the dependency libXt.so.6?.
The YaST tool provides an easy way to find and install the relevant packages
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center