Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Restarting the Server UNIX or Linux

You can restart the server using one of the following methods:

Because the installation scripts cannot edit the /etc/rc.local or /etc/inittab files, you must edit those files with a text editor. If you do not know how to edit these files, consult your system administrator or system documentation.

ProcedureTo Restart the Proxy Server From the Command Line

  1. Log in as root if the server runs on ports with numbers lower than 1024; otherwise, log in as root or with the servers user account.

  2. At the command-line prompt, type the following line and press Enter:

    server-root/proxy-serverid/restart

    where server-root is the directory where you installed the server.

    • You can use the optional parameter -i at the end of the line. The -i option runs the server in inittab mode 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.

To Restart the Server Using inittab

Add the following text on one line in the /etc/inittab file:

prxy:23:respawn:server-root/proxy-serverid/start -start -i

where server-root is the directory where you installed the server, and proxy-serverid is 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.

To Restart the Server Using System RC Scripts

If you use /etc/rc.local, or your system’s equivalent, place the following line in /etc/rc.local:

server-root/proxy-serverid/start

Replace server-root with the directory where you installed the server.