Use uafstartup.sh to start the Sybase Unified Agent and uafshutdown.sh to stop it. Starting and stopping the agent starts and stops Sybase Control Center. Use this manual procedure only if the agent does not start automatically.
-
Set up environment variables. Do this only once.
-
Change to the installation directory.
-
Execute one of the following to set up environment variables.
Bourne shell:
. SYBASE.sh
C shell:
source SYBASE.csh
-
Start Sybase Control Center:
-
Enter:
$SYBASE_UA/bin/uafstartup.sh &
-
Stop Sybase Control Center:
-
Enter:
/$SYBASE_UA/bin/uafshutdown.sh
-
Configure Sybase Control Center to run as a service.
A UNIX service is a daemon process that starts automatically after the
machine is started and runs in the background. On UNIX platforms, a shell script, agentd, is
available in $SYBASE_UA/bin.
-
Copy agentd into the /etc/init.d directory.
-
Make two soft links in the directory /etc/rcX.d (where X is the run level,
for example, 3) that link to /etc/init.d/agentd: SXXagentd and KXXagentd
(where XX is a two-digit number, for example, 88).
One link is for starting the
service and the other is for stopping the service.
Note: Different UNIX systems might have slightly different directory
structures.
-
Use the links in /etc/rcX.d (where X is the run level,
for example, 3) that you created in the previous step to start and stop the service.