Environment
eDirectory 8.8.8.X nonroot / custom location install
eDirectory 9.X nonroot / custom location install
Sdidiag 3
Situation
eDirectory is installed using the tarball install
eDirectory is running as a nonroot user
eDirectory is configured to run on a port above 1024 (nonroot)
sdidiag is an rpm installed by root into the default /opt/novell/ path structure
Resolution
Steps to run sdidiag as a nonroot user in a custom location
NOTE: In the examples, the nonroot user created to manage eDirectory is ediruser The custom location for the eDirectory install is /home/ediruser/nonroot
1. Download the sdidiag package the download site https://download.microfocus.com/patch/finder/
2. Install the sdidiag rpm as root.
3. Copy the contents of the /opt/novell/sdidiag/bin64 directory to the custom location using the same structure
4. Change the ownership to the nonroot user
5. Modify the LD_LIBRARY_PATH to add the location of sdidiag to the beginning
6. Run sdidiag from the nonroot location
7. Now you will be able to run the desired sdidiag commands
Cause
Sdidiag requires the use of the libraries it installs with to run correctly.
Sdidiag is an rpm requiring root to install
Sdidiag rpm installs in /opt/novell/sdidiag location with root ownership