Starting and Stopping the Data Server Automatically - UNIX

To set the Data Server to start when the system is booted up and stop when it is shut down, add the Data Server to the list of daemons that TCP automatically starts and kills. Adding the Data Server to the daemon list varies greatly between operating systems. Below are some examples for popular platforms. It may be possible to adapt these to your particular operating system. Contact your System Administrator for assistance.

AIX UNIX

Do the following to set the AIX UNIX version of the Data Server to start and stop automatically:

  1. Add an entry to the /etc/rc.local file. If this file does not exist, create one and add the following:

    /usr/pro5ds/pro5.server –p1100 –c/usr/pro5ds/config.bbx –r
    –l[path_to_log_file]/[log_file_name] -c

  2. In the /etc/inittab file, add the following lines:

    rc.local:2:wait:sh: /etc/rc.local > /dev/console 2>&1
    # Starting whatever is in rc.local

  3. In the /etc/tcp.clean file, add pro5.server to the list of daemons to be stopped.

SCO UNIX

Do the following to set the SCO UNIX version of the Data Server to start and stop automatically:

  1. In the /etc/tcp file, add pro5.ser to PROCS, the list of processes to stop.

  2. In the same file, add the full path of the Data Server to the list of daemons to start, as follows:

    /usr/pro5ds/pro5.server

System V Release 4 UNIX

Do the following to set the System V Release 4 UNIX version of the Data Server to start and stop automatically:

  1. In the /etc/init.d/win file, add pro5.server to the list of daemons to start.

  2. In the same file, add pro5.server to the list of daemons to kill.

    For more information, see Command Line Options - UNIX Data Server.