eDirectory shuts down or will not start after unload/reboot

(Last modified: 01Sep2004)

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

fact

Nsure Identity Manager 2.0

Novell eDirectory 8.6 for Solaris

Novell eDirectory 8.7 for Solaris

Novell eDirectory 8.7.1 for Solaris

Novell eDirectory 8.7.3 for Solaris

symptom

eDirectory shuts down or will not start after unload/reboot

When you are creating a driver set or shortly after DirXML loads, the ndsd (eDirectory) process shuts down unexpectedly.

The /var/nds/ndsd.log contains the following message, "Exception java.lang.OutOfMemoryError: requested -569704448 bytes for char in /export1/jdk/jdk1.4.2/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?" (The exact number may vary.)

eDirectory creates a core file on startup.

eDirectory cores when a high load is hitting LDAP

How to disable memory manager

eDirectory cores on Solaris

How to disable Geodesic memory manager

fix

An adjustment needs to be made to the /etc/init.d/ndsd startup script.  The line that calls "SetupMemManager" needs to be commented out.  This will then allow ndsd to startup via the /etc/init.d/ndsd script.

To edit the init script use your favorite editor. Go to line 92 and it should be "SetupMemManager".  Comment this out with a  "hash" (#).  You should be editing the StartNdsd () function.  Here is an example:

Before Change:


=== /etc/init.d/ndsd script extract ===
Line 86:  #
Line 87:  # Start the ndsd daemon
Line 88:  #
Line 89: 
Line 90:  StartNdsd () {
Line 91: 
Line 92:          SetupMemManager
Line 93: 
Line 94 
Line 95:      if [ -f $sbindir/ndsd ]; then
=== /etc/init.d/ndsd script continues ===


After Change:


=== /etc/init.d/ndsd script extract ===
Line 86:  #
Line 87:  # Start the ndsd daemon
Line 88:  #
Line 89: 
Line 90:  StartNdsd () {
Line 91: 
Line 92:  #        SetupMemManager
Line 93: 
Line 94 
Line 95:      if [ -f $sbindir/ndsd ]; then
=== /etc/init.d/ndsd script continues ===

Adding memory to the server may also resolve this error.

note

The current memory manager will be removed in eDirectory 8.7.3.3.  The native Solaris memory manager will then be used by default.  Enhancements to eDirectory and the Solaris native memory manager make it no longer necessary to use an outside memory manager.

Please refer to the  readme for a description of this error and other important information about IDM2.

document

Document Title: eDirectory shuts down or will not start after unload/reboot
Document ID: 10092229
Solution ID: NOVL96269
Creation Date: 30Mar2004
Modified Date: 01Sep2004
Novell Product Class:DirXML

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.