Search & Win   click me  

Starting / Stopping Netscape Directory Server - (Version 6.1)

  Return to Netscape Directory Resources Home Page.


Checking Servers

Checking the Directory Server

The directory server (under UNIX) is typically only one process, usually bound to port 389. This is the process that services all LDAP requests. When you install the Netscape Directory Server, you are prompted to specify the UNIX user to run the directory server as. In my case, I normally choose the user Netscape. Out of all of the Netscape Server processes running (including) those with the Administration Servers) as this "netscape" user.

# ps -ef | grep ns-slapd

netscape  1302    1  0 15:16:29 ?    0:01 ./ns-slapd -D /usr/netscape/servers/slapd-alex -i /usr/netscape/servers/slapd-a
Checking the Administration Server

When checking the Administration Server, (on UNIX), you will notice that this is a combination of several processes. When I install Netscape Directory Server, I usually choose to run these processes as the "root" user. I typically just query for anything with "netscape" and take out any search for "ns-slapd" as follows:

# ps -ef | grep netscape | grep -v ns-slapd

    root  1246  1245  0 15:00:54 ?       0:00 ns-httpd -d /usr/netscape/servers/admin-serv/config
    root  1247  1246  0 15:00:54 ?       0:02 ns-httpd -d /usr/netscape/servers/admin-serv/config
    root  1292  1291  0 15:11:16 pts/3   0:13 /usr/netscape/servers/bin/base/jre/bin/java -ms8m -mx64m -cp .:./ldapjdk.jar:./
    root  1291  1290  0 15:11:16 pts/3   0:00 sh -c /usr/netscape/servers/bin/base/jre/bin/java -ms8m -mx64m -cp .:./ldapjdk
    root  1245     1  0 15:00:54 ?       0:00 ./uxwdog -d /usr/netscape/servers/admin-serv/config
Starting Servers
For the purpose of this example, I installed the Netscape Directory Server with the Netscape Server Root located on "/usr/netscape/servers" and have a Directory Server named "alex".

Starting the Directory Server

# cd /usr/netscape/servers/slapd-alex
# ./start-slapd
Starting the Administration Server
# cd /usr/netscape/servers
# ./start-admin
Stopping Servers
For the purpose of this example, I installed the Netscape Directory Server with the Netscape Server Root located on "/usr/netscape/servers" and have a Directory Server named "alex".

Stopping the Directory Server

# cd /usr/netscape/servers/slapd-alex
# ./stop-slapd
Stopping the Administration Server
# cd /usr/netscape/servers
# ./stop-admin



Last modified on: Saturday, 18-Sep-2010 17:23:20 EDT
Page Count: 3750