You can restart the server using one of the following methods:
Restarting the servers manually.
Automatically restart the server from the inittab file
If you are using a version of UNIX or Linux not derived from System V (such as SunOSTM 4.1.3), you will not be able to use the inittab file.
Automatically restart the server with daemons in /etc/rc2.d when the system reboots.
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.
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.
At the command-line prompt, type the following line and press Enter:
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.
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.
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.