Error: "Another copy of ndsd running."

(Last modified: 12Jan2005)

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

fact

Novell eDirectory 8.7.3 for All Platforms

RedHat 2.1 or 3.0

symptom

Error: "Another copy of ndsd running."

Error: "Please remove /var/nds/ndsd.pid and restart ndsd if this is not the case."

Error occurs during Linux boot up or when changing runlevels.

cause

When you change run levels or boot, RedHat runs a default rc script (/etc/rc). This script has the following line:

the rc script runs:

# Check if the subsystem is already up.
subsys=${i#/etc/rc$runlevel.d/K??}
[ ! -f /var/lock/subsys/$subsys ] && .......

eDirectory has a file in runlevel 3 and 5 which is Kndsd.

With eDirectory 8.7.x, the ndsd startup script creates a file in the /var/lock/subsystem called "NDS".

(see script line)

if [ -d /var/lock/subsys ]
then
touch /var/lock/subsys/NDS
fi

The end result is that the rc script does not detect eDir, even if it is running so it tries to load it, even if it is running. If there are conditions (timing, etc or changing runlevels when edir is running), RedHat tries to load ndsd and the customer sees an error "ndsd.pid already exists"

There is no technical impact. eDirectory still runs. The restart of ndsd is ignored.

fix

This issue has been reported to engineering. A solution is being investigated.

note

PS, This is only a RedHat issue. SuSe does not have an rc script that executes the same command.

document

Document Title: Error: "Another copy of ndsd running."
Document ID: 10096177
Solution ID: NOVL100511
Creation Date: 12Jan2005
Modified Date: 12Jan2005
Novell Product Class:Novell Directory Services

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.