Environment
Novell eDirectory 8.8 for Linux
Situation
When ndsd is started with rcndsd start, the process shows with // in the path of the process.
EXAMPLE:
#ps -eaf | grep ndsd
root 7188 1 0 16:49 ? 00:00:00 //opt/novell/eDirectory/sbin/ndsd
A customer's process management utility didn't recognize the process is the same whether started with either rcndsd start or /etc/init.d/ndsd.
EXAMPLE:
#ps -eaf | grep ndsd
root 7188 1 0 16:49 ? 00:00:00 //opt/novell/eDirectory/sbin/ndsd
A customer's process management utility didn't recognize the process is the same whether started with either rcndsd start or /etc/init.d/ndsd.
Resolution
The /etc/init.d/ndsd script can be modified so that the // when started with rcndsd doesn't occur.
Modify the /etc/init.d/ndsd script and make the following change:
Change:
Modify the /etc/init.d/ndsd script and make the following change:
Change:
NDSHOME=`echo $dir | $AWK -F"/etc" '{print $1}'`
basenam=`basename $0`
if [ "$basenam" = "rcndsd"]
then
NDSHOME="/"
fi
TO:
NDSHOME=`echo $dir | $AWK -F"/etc" '{print $1}'`
basenam=`basename $0`
if [ "$basenam" = "rcndsd"]
then
NDSHOME=""
fi
NOTE: Now NDSHOME="" instead of NDSHOME="/"