Ndsd cores when shutting down ndsd after applying Security Services 2.0.4

  • 3154121
  • 20-Aug-2007
  • 26-Apr-2012

Environment

Novell eDirectory 8.8.1
Novell eDirectory 8.7.3.9
Security Services 2.0.4 ( ss204 )
Identity Manager 3.5

Situation

Problem:
Server hangs while shutting down
Server hangs when shutting down ndsd
ndsd cores when shutting down ndsd
ndsd hangs when shutting down ndsd

Resolution

This issue is a result of NICI removing a softlink from /etc/nici.cfg to /etc/opt/novell/nici.cfg.

To resolve this issue recreate the softlink as follows:

ln -s /etc/opt/novell/nici.cfg /etc/nici.cfg

Once this change is made it is recommended to stop and restart ndsd.  In addition to creating the soft link, in some cases "ldconfig" may need to be run. ldconfig creates the necessary links and cache (for use by the run-time linker,
ld.so) to the most recent shared libraries found in the directories specified on the command line.

Status

Top Issue

Additional Information

See TID3950804, " Dsbk and eMBox stop working after applying Security Services 2.0.4" ( ss204)

A typical core as a result of this will look something like this:

Program terminated with signal 11, Segmentation fault.
#0 0x401a30f7 in pthread_mutex_trylock ()
from /data/edir/cores/10343725825/1/lib/tls/libpthread.so.0
#bt
#0 0x401a30f7 in pthread_mutex_trylock ()
from /data/edir/cores/10343725825/1/lib/tls/libpthread.so.0
#1 0x4012b8b7 in SAL_MutexAcquire ()
from /data/edir/cores/10343725825/1/lib/libsal.so.1
#2 0x92ab8df4 in DSBExit ()
at /home/nds_cm/build_linux/embox-8739/embox/services/backrestore/common/src/dsbackup.cpp:453
#3 0x92a476b9 in backuptlClean ()
from /data/edir/cores/10343725825/1/usr/lib/nds-modules/embox/emtools/libbackuptl.so
#4 0x92a5821d in backuptlDestroy ()
from /data/edir/cores/10343725825/1/usr/lib/nds-modules/embox/emtools/libbackuptl.so
#5 0x8f535fbe in unloadAlleMTools ()
from /data/edir/cores/10343725825/1/usr/lib/nds-modules/embox/libeMBoxMgr.so
#6 0x8f5254ce in eMBoxMgrRDispatcher::eventHandler ()
from /data/edir/cores/10343725825/1/usr/lib/nds-modules/embox/libeMBoxMgr.so
#7 0x8f0d1ffd in bridgeXisRObject_eventHandler ()
from /data/edir/cores/10343725825/1/lib/libXis11.so.1
#8 0x8f1142b1 in XisObject::eventHandler ()
from /data/edir/cores/10343725825/1/lib/libXis11.so.1
#9 0x8f103626 in XisRDispatcher::publish ()
from /data/edir/cores/10343725825/1/lib/libXis11.so.1
#10 0x8f0dadb0 in bridgeXisRDispatcher_publish ()
from /data/edir/cores/10343725825/1/lib/libXis11.so.1
#11 0x8f1079aa in XisREvent::publish ()
from /data/edir/cores/10343725825/1/lib/libXis11.so.1
#12 0x8f0db25f in bridgeXisREvent_publish ()
from /data/edir/cores/10343725825/1/lib/libXis11.so.1
#13 0x8f0366a9 in DHModuleExit ()
from /data/edir/cores/10343725825/1/usr/lib/nds-modules/libembox.so
#14 0x0807167e in modUnloadModuleLocal ()
#15 0x08072551 in LMUnloadModuleByHandle ()
#16 0x080713d5 in UnloadAllModules ()
#17 0x0807181b in DestroyModuleList ()
#18 0x0806c2a7 in n4u_unload_allmodules ()
#19 0x080535ee in serverloop ()
#20 0x08053c67 in main ()
#

For information on grabbing a core see KB 3078409, "Obtaining and handling eDirectory core files on Linux and Solaris"