Novell Home

My Favorites

Close

Please to see your favorites.

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

(Last modified: 06Jun2006)

This document (10100947) is provided subject to the disclaimer at the end of this document.

fact

Novell eDirectory 8.8 for Solaris

Novell eDirectory 8.8 for Linux

symptom

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

cause

The default ndsd script only looks for the first instance in the default_configuration_directory/.edir/instance.# file

fix

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

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.

  • Document ID:
  • 10100947
  • Solution ID: NOVL105708
  • Creation Date: 19Apr2006
  • Modified Date: 06Jun2006
    • NovellDirectory Services

Did this document solve your problem? Provide Feedback