ps -ef | grep directoryserver
You should see two lines of information. At the far right of these columns, you should see the following words:
/usr/Cadmin/bin/directoryserver
grep directoryserver
The second item is the grep command you just entered, and the other is the directoryserver.
chkconfig | grep directoryserver
You should see the following line:
directoryserver on
Suppose the response that you see is:
directoryserver off
Then you must turn on the objectserver by entering the command:
chkconfig directoryserver on
Then cycle the cadmin init script by issuing the commands:
/etc/init.d/cadmin stop
/etc/init.d/cadmin start
ps -ef | grep directoryserver
Check the output to see that the directoryserver is running. If it is, the error message should no longer appear. If you see the message again, go on to the next step.
/etc/init.d/cadmin stop
/etc/init.d/cadmin clean
/etc/init.d/cadmin start
Note that this series of commands will remove your cadmin database and it may take up to several days for the database to rebuild and repropagate itself.