Ldap server (iPlanet 5.x) notes
>How to stop LDAP server (iPlanet 5.x)
NOTE : Dont use kill command to stop ldap server you may loose server data.
Directory services can be stopped using the init scripts, with an argument to stop.
iPlanet/SunONE:
Stopping the LDAP service using the tools available on Solaris:
•To stop the LDAP server:
#/usr/sbin/directoryserver stop
•To stop the administrative console:
Use Console->Exit.
•To stop the administrative server:
#/usr/sbin/directoryserver stop-admin
>How to check ldap server status
LDAP server : Issue the following command to check whether the LDAP server is currently running or not.
# ps -ef | grep slapd
It should show a line like the following:
ldap 1010 1 0 Mar28 ? 00:00:40 /usr/sbin/slapd -u ldap
If the server is not running, start it by running below command
#/usr/sbin/directoryserver start
Alternatively, start the directory server from the installation directory //slapd-/ using the command
./start-slapd
A commonly used installation directory is /usr/iplanet/ds5/ (on Solaris machines).
NOTE : Dont use kill command to stop ldap server you may loose server data.
Directory services can be stopped using the init scripts, with an argument to stop.
iPlanet/SunONE:
Stopping the LDAP service using the tools available on Solaris:
•To stop the LDAP server:
#/usr/sbin/directoryserver stop
•To stop the administrative console:
Use Console->Exit.
•To stop the administrative server:
#/usr/sbin/directoryserver stop-admin
>How to check ldap server status
LDAP server : Issue the following command to check whether the LDAP server is currently running or not.
# ps -ef | grep slapd
It should show a line like the following:
ldap 1010 1 0 Mar28 ? 00:00:40 /usr/sbin/slapd -u ldap
If the server is not running, start it by running below command
#/usr/sbin/directoryserver start
Alternatively, start the directory server from the installation directory /
./start-slapd
A commonly used installation directory is /usr/iplanet/ds5/ (on Solaris machines).
Comments
Post a Comment