ContentsIndexPreviousNext

To start AcuConnect on unrestricted UNIX sites

To start AcuConnect on a UNIX server with an unrestricted user license:

1. Log on as the DEFAULT-USER.

2. Use the "su" command to gain root or superuser privileges.

3. Once you have root or superuser privileges, issue the "acuconnect -start" command using any of the optional arguments discussed in Section A.2 "acuconnect" Command Formats.


Note: we do not recommend being logged on as root or superuser when you start AcuConnect, because runtimes subsequently spawned on the server inherit the environment of the user who started AcuConnect. By logging on as DEFAULT-USER and using the "su" command, you ensure that any users mapped to the DEFAULT-USER account do not have more privileges than you intend.
When you issue the "acuconnect -start" command, acuconnect is started in the background. If acuconnect is already running, AcuConnect will output the message:

acuconnect is already running on hostname

A new acuconnect process will not be started. If you want to start AcuConnect with new options, you must stop and restart acuconnect.

To start acuconnect whenever the server boots, add the "acuconnect -start" command to the system boot file. Your entry might be similar to the following:

In C Shell:

#
# If the acuconnect executable is present,
# start acuconnect
if -f /acucobol/acuconnect then
echo Starting acuconnect > /dev/console
/acucobol/acuconnect -start \
-e /acucobol/acuconnect.log
endif

In Bourne Shell:

#
# If the acuconnect executable is present,
# start acuconnect
if  (test -f  /acucobol/acuconnect)  then
 echo Starting acuconnect > /dev/console
 /acucobol/acuconnect -start \
  -e /acucobol/acuconnect.log
fi