Environment
Novell eDirectory 8.8 for Linux
Novell eDirectory 8.7.3 for Linux
Novell eDirectory 8.7.3 for Linux
Situation
How to force eDirectory to generate core file on Linux
Resolution
- Type any one of the following command on Linux server Terminal to get the process ID (pid) of ndsd
"pidof ndsd " or "pgrep ndsd " without quotes - Check if gdb is installed on your server or not by typing the following command on the server Terminal:
rpm -qa | grep gdb
It should show the installed gdb version, for example "gdb-6.8.50.20090302-1.5.18 ".
Note: By default gdb is installed on the server - Enter into gdb prompt by using following command on the server terminal
gdb /opt/novell/Directory/sbin/ndsd <pid of ndsd> - Now type "gcore " without quotes on the server terminal to forcefully generate the eDirectory core file. It should generate a file with name core.<pid of ndsd> in the current directory.
OR
- Type the following command on the server Terminal to force the eDirectory to core directly
kill -11 `pidof ndsd`
This will generate the eDirectory core file in the /opt/novell/eDirectory/data/dib directory.