Restarting With Inittab (Unix); Restarting With The System Rc Scripts (Unix); Restarting The Server Manually (Unix) - Sun Microsystems Netscape Enterprise Server Administrator's Manual

Table of Contents

Advertisement

Starting and Stopping the Server

Restarting With Inittab (Unix)

To restart the server using inittab, put the following text on one line in the
/etc/inittab file:
Replace server_root with the directory where you installed the server, and
replace type-identifier with the server's directory.
The -i option prevents the server from putting itself in a background process.
You must remove this line before you stop the server.

Restarting With the System RC Scripts (Unix)

If you use /etc/rc.local, or your system's equivalent, place the following
line in /etc/rc.local:
Replace server_root with the directory where you installed the server.

Restarting the Server Manually (Unix)

To restart the server from the command line, log in as root if the server runs on
ports with numbers lower than 1024; otherwise, log in as root or with the
server's user account. At the command-line prompt, type the following line and
press Enter:
Replace server_root with the directory where you installed the server.
You can use the optional parameters -p and -i at the end of the line:
The -p option starts the server on a specific port number. This overrides the
setting in magnus.conf.
The -i option runs the server in inittab mode, so that if the server process
is ever killed or crashed, inittab will restart the server for you. This option
also prevents the server from putting itself in a background process.
162 Netscape Enterprise Server Administrator's Guide
echo "MBi12!mo"|./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config $@
http:2:respawn:server_root/type-identifier/start -start -i
server_root/type-identifier/start
server_root/type-identifier/start

Advertisement

Table of Contents
loading

Table of Contents