Siebel Installation Guide for UNIX > Additional Postinstallation and Configuration Tasks > Configuring the Siebel Gateway for Automatic Start >
Configuring the Siebel Gateway for Automatic Start on HP-UX
Use the procedure in this topic to configure the Siebel Gateway to start automatically on HP-UX. This topic is part of Configuring the Siebel Gateway for Automatic Start. To configure the Siebel Gateway to start automatically on HP-UX
- Log on as root to the computer on which the Siebel Gateway was installed.
- Copy the file siebel_server to the
/sbin/init.d directory, as follows:
cp $SIEBEL_ROOT/bin/siebel_server /sbin/init.d
In this command, $SIEBEL_ROOT is the full path to the Siebel root directory.
- Using any text editor, edit
/sbin/init.d/siebel_server . Replace $SIEBEL_GATEWAY_ROOT with the path to the Siebel Gateway installation directory.
- Set the appropriate permissions by executing the following command:
chmod 755 /sbin/init.d/siebel_server
- Create a soft link to
/sbin/rc3.d/S720siebel_server from /sbin/init.d/siebel_server by executing the following command:
ln -s /sbin/init.d/siebel_server /sbin/rc3.d/S720siebel_server
- Create a soft link to
/sbin/rc2.d/K320siebel_server from /sbin/init.d/siebel_server by executing the following command:
ln -s /sbin/init.d/siebel_server /sbin/rc2.d/K320siebel_server
- Create or edit
/sbin/init.d/siebel_server_nonroot to add the following line:
/usr/bin/su - SIEBEL_ACCOUNT -c "/sbin/init.d/siebel_server $1"
In this command, SIEBEL_ACCOUNT is the nonroot user account installing Siebel Business Applications.
- Remove
/sbin/rc3.d/S720siebel_server and /sbin/rc2.d/K320siebel_server , if they already exist.
- Execute the following commands:
chmod 755 /sbin/init.d/siebel_server_nonroot
ln -s /sbin/init.d/siebel_server_nonroot /sbin/rc3.d/S720siebel_server
ln -s /sbin/init.d/siebel_server_nonroot /sbin/rc2.d/K320siebel_server
|