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:
-
Add an entry to the /
etc/rc.localfile. 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 -
In the
/etc/inittabfile, add the following lines:rc.local:2:wait:sh: /etc/rc.local > /dev/console 2>&1
# Starting whatever is in rc.local -
In the
/etc/tcp.cleanfile, addpro5.serverto 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:
-
In the
/etc/tcpfile, addpro5.sertoPROCS, the list of processes to stop. -
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:
-
In the
/etc/init.d/winfile, addpro5.serverto the list of daemons to start. -
In the same file, add
pro5.serverto the list of daemons to kill.For more information, see Command Line Options - UNIX Data Server.