Multiple eDirectory instances aren't correctly started or stopped when rebooting

  • 7016453
  • 28-Apr-2015
  • 28-Apr-2015

Environment

NetIQ eDirectory
Novell eDirectory 8.8 for Solaris
Novell eDirectory 8.8 for Linux

Situation

Multiple eDirectory instances aren't correctly started or stopped when rebooting

Resolution

This problem has been reported to development
To work-around this issue do the following:

1. Copy the existing ndsd script to a new name

Solaris & Linux
#cp /etc/init.d/ndsd /etc/init.d/ndsd2

2.  Edit the new ndsd script and set the value of the NDS_CONF variable to the location of the nds.conf file for the instance this script will start/stop.

EXAMPLE:

if [ "$default_config_file" = "" ]
then
        default_config_file=$default_conf/nds.conf
fi

: ${NDS_CONF=$default_config_file}
: ${prefix=$default_prefix}

export NDS_CONF

BECOMES:

if [ "$default_config_file" = "" ]
then
        default_config_file=$default_conf/nds.conf
fi

: ${NDS_CONF=/inst2/nds.conf}
: ${prefix=$default_prefix}

export NDS_CONF

***NOTE:  In this example, configuration file nds.conf is located in /inst2/nds.conf


3.  Link the new script to the run level directories for execution on shutdown and startup

Linux:

#ln -s /etc/init.d/ndsd2 /etc/init.d/rc#.d/S17ndsd2
#ln -s /etc/init.d/ndsd2 /etc/init.d/rc#.d/K05ndsd2

Replace # in rc#.d with 2, 3, 4, and 5

Solaris:

#ln -s /etc/init.d/ndsd2 /etc/rc0.d/K54NDS2
#ln -s /etc/init.d/nds2 /etc/rc1.d/K54NDS2
#ln -s /etc/init.d/nds2 /etc/rc2.d/S75NDS2


Additional Information

The default ndsd script only looks for the first instance in the default_configuration_directory/.edir/instance.# file
Formerly known as TID# 10100947
Formerly known as TID# NOVL105708

Feedback service temporarily unavailable. For content questions or problems, please contact Support.