Path to DSRepair on Linux
Novell Cool Solutions: Tip
Digg This -
Posted: 18 Jan 2006
A Forum reader asked the following question about using DSRepair in Linux:
"I have eDir 8.8 installed on SUSE Linux and Windows. When I run DSRepair from Windows, I get a network address error 11001. When I try to run DSRepair from SUSE Linux at /opt/novell/eDirectory/bin I get "command not found". However, I do see DSRepair in the directory. What am I doing wrong?"
Here are responses on the issue from three Novell experts:
From C Preethi:
You need to set your PATH and LD_LIBRARY_PATH environment variables in the session wherever you are running the DSRepair.
In your case, it would be as follows (do this before running DSRepair):
export PATH=/opt/novell/eDirectory/bin:/opt/novell/eDirectory/sbin:$PATH export LD_LIBRARY_PATH=/opt/novell/eDirectory/lib:/opt/novell/eDirectory/lib/nds- modules:/opt/novell/lib:$LD_LIBRARY_PATH
Then, run DSRepair.
From Aaron Burgemeister:
At the end of your eDir 8.8 install you should have seen it prompt you to update your PATH and LD_LIBRARY_PATH statements. This can be updated permanently with bash files. See TID 10100009 for details. To get the entire system in one shot add those same lines to /etc/bash.bashrc.local (probably not existing yet, so create it) or, per user, ~/.bashrc
From Jim Henderson:
Also with eDirectory 8.8, there is an "ndspath" command that can be included in a .bashrc with the following:
This will make all of the path adjustments (including LD_LIBRARY_PATH, PATH, and MANPATH) for you. It does, however, only currently work with bash and bash-compatible shells.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com