HP UX Red Hat Direry Server Software manual Starting and Stopping Administration Server

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 26
Image 26

Chapter 1. General Red Hat Directory Server Usage

There are two ways to start, stop, or restart the Directory Server:

• There are scripts in the instance directories. For example:

/usr/lib/dirsrv/slapd-instance/start-slapd

/usr/lib/dirsrv/slapd-instance/restart-slapd

/usr/lib/dirsrv/slapd-instance/stop-slapd

The Directory Server service can also be stopped and started using system tools on Red Hat Enterprise Linux and Solaris. For example, Linux uses the service tool:

service dirsrv {startstoprestart} instance

NOTE

The service name for the Directory Server process on Red Hat Enterprise Linux is dirsrv.

Solaris uses /etc/init.d:

/etc/init.d/dirsrv {startstoprestart} instance

The Directory Server instance name can be specific in both the startstoprestart-slapdand system scripts. If an instance name is not given, the start or stop operation applies to all instances on the machine.

3.3. Starting and Stopping Administration Server

There are two ways to start, stop, or restart the Administration Server:

There are scripts in the /usr/sbin directory.

/usr/sbin/startstoprestart-ds-admin

The Administration Server service can also be stopped and started using system tools on Red Hat Enterprise Linux and Solaris. For example, on Red Hat Enterprise Linux, the command is service:

service dirsrv-admin {startstoprestart}

6

Page 26
Image 26
HP UX Red Hat Direry Server Software manual Starting and Stopping Administration Server, Solaris uses /etc/init.d