Overview[1]#
When ndsd crashes a core file will be generated in the dib directory if the ulimit -c is configured to a value more than 0. By default, the dib directory is located:eDirectory 8.7.3 /var/nds/dib eDirectory 8.8.x /var/opt/novell/eDirectory/data/dib
If ndsd crashes and the reason is not apparent, check for a core file in the dib directory. If there is no core file present, change the ulimit -c setting to unlimited. Many Linux distributions set the ulimit value to '0' in /etc/profile or use 'ulimit -Sc 0' to prevent core files.
In order for ndsd to use this setting it is necessary to add it to the ndsd script and then restart ndsd. (it could also be added to the pre_ndsd_start script as this script is sourced when ndsd loads). Modify the /etc/init.d/ndsd script and add the following on the 2nd line directly underneath “#!/bin/bash":
ulimit -c unlimited
Novell-getcore#
Novell-getcore is a script used to gather and bundle the ndsd core file and all associated libraries necessary to analyze the core file. Novell-getcore is installed as part of the NDSserv package, beginning with eDirectory 8.7.3.9 and eDirectory 8.8.2. However, the novell-getcore script can be downloaded from http://download.novell.com Just enter "novell-getcore" in the keyword field and click search.Using novell-getcore#
- Verify GDB is installed on the eDirectory server by typing "gdb -version". GDB is required to be installed prior to using novell-getcore.
- Create a bundle with novell-getcore to send to Novell Technical Support
eDirectory 8.7.3+ Example#
novell-getcore -b /var/nds/dib/core.#### /usr/sbin/ndsd
eDirectory 8.8 Example:#
novell-getcore -b /var/opt/novell/eDirectory/data/dib/core.#### /opt/novell/eDirectory/sbin/ndsd(where ####, is the PID number of ndsd when it cored)
Note: eDir 8.8.7 and 8.8.8 may not have a pid number at the end of the core name.
This will generate a gzip'd tar bundle in the same directory as the core file with a name like the following:
core_YYYYMMDD_162243_linux_ndsd_hostname.tar.gz
supportconfig#
On Linux use supportconfig/supportutils. If you need the script it can be downloaded from the following page: http://www.novell.com/communities/node/2332/supportconfig-linuxMore Information#
There might be more information for this subject on one of the following: ...nobody- [#1] - Handling ndsd (eDirectory) core files on Linux and Solaris
- based on information obtained 2015-02-04