Configuring the Siebel Gateway for Automatic Start on Linux or Oracle Solaris
Use the procedure in this topic to configure the Siebel Gateway to start automatically on either Linux or Oracle Solaris. This task is part of Configuring the Siebel Gateway for Automatic Start on UNIX.
To configure the Siebel Gateway to start automatically on Linux or Oracle Solaris
Log on as root to the computer on which the Siebel Gateway was installed.
Copy the file siebel_server to the
/etc/init.d
directory, as follows:cp $SIEBEL_HOME/bin/siebel_server /etc/init.d
In this command,
$SIEBEL_HOME
is the full path to the Siebel root directory.Using any text editor, edit
/sbin/init.d/siebel_server
. Do one or more of the following:Replace $SIEBEL_GATEWAY_ROOT with the path to the Siebel Gateway installation directory.
Modify hashplings in the script to reference the appropriate shell for this computer, such as C shell, Bash shell, and so on.
Set the appropriate permissions by executing the following command:
chmod 755 /etc/init.d/siebel_server
Create a soft link to
/etc/rc3.d/S72siebel_server
from/etc/init.d/siebel_server
by executing the following command.ln -s /etc/init.d/siebel_server /etc/rc3.d/S72siebel_server
Create a soft link to
/etc/rc2.d/K32siebel_server
from/etc/init.d/siebel_server
by executing the following command:ln -s /etc/init.d/siebel_server /etc/rc2.d/K32siebel_server
Create or edit
/etc/init.d/siebel_server_nonroot
to add the following line:/usr/bin/su - SIEBEL_ACCOUNT -c "/etc/init.d/siebel_server $1"
In this command, SIEBEL_ACCOUNT is the nonroot user account installing Siebel CRM.
Remove
/etc/rc3.d/S72siebel_server
and/etc/rc2.d/K32siebel_server
, if they already exist.Execute the following commands:
chmod 755 /etc/init.d/siebel_server_nonroot ln -s /etc/init.d/siebel_server_nonroot /etc/rc3.d/S72siebel_server ln -s /etc/init.d/siebel_server_nonroot /etc/rc2.d/K32siebel_server