Views:

Summary



Although the installation of DPX 4.4 succeeds on Ubuntu 14.x machines, the Add Node operation fails. This is due to missing native Ubuntu NSS libraries.

Symptoms



The following error message displays if the NSS libraries are missing:

Error: Unable to add node <logical name> with master server <master hostname or IP address>.



Resolution



Ubuntu NSS libraries are not distributed with DPX. Instead, DPX links to the library location in the environment setting DPX/bin/bexenv.

Ubuntu NSS libraries are not located in one directory. It is necessary to use two directories in the search path.

  • /usr/lib/x86_64-linux-gnu - This directory includes the library files libnss3.so, libnssutil3.so, libsmime3.so, and libssl3.so
  • /usr/lib/x86_64-linux-gnu/nss - This directory includes the library files libfreebl3.so, libnssckbi.so, libnssdbm3.so, libnsssysinit.so, and libsoftokn3.so

To link the libraries to DPX, get a new copy of bexenv or edit it to set the LD_LIBRARY_PATH variable to include the second directory:

elif [ -d /usr/lib/x86_64-linux-gnu ]

LD_LIBRARY_PATH=”$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/nss

To add the Ubuntu node to the DPX Enterprise, perform the following steps on the Ubuntu client:

  1. Shut down DPX by running the following commands: DPX/misc/sscmagent stop and bexads stop. Next, update the bexenv file in DPX/bin.
  2. Restart DPX by running the following command: sscmagent start.
  3. Enter the DPX/bin directory through the cd command, then set up the shell environment by running the following command: source ./bexenv.
  4. Enter the DPX/logs directory through the cd command and find the command that failed in the DPX 4.4.40 install log through the following command: grep NodeAdd install.*.log.
  5. Remove the prefix “Executing” from the output and run the following line:
  6. Executing /opt/DPX/misc/run.java-install GroupNodeAdd GROUPNAME=DefaultGroup <Logical name> <master hostname or IP address> <client hostname or IP address> 17 UNIX false true raw NDMP_AUTH_MD5 false No No