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 task is part of Configuring the Siebel Gateway for Automatic Start on UNIX.
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.ddirectory, as follows:cp $SIEBEL_ROOT/bin/siebel_server /sbin/init.dIn this command,
$SIEBEL_ROOTis 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 /sbin/init.d/siebel_serverCreate a soft link to
/sbin/rc3.d/S720siebel_serverfrom/sbin/init.d/siebel_serverby executing the following command:ln -s /sbin/init.d/siebel_server /sbin/rc3.d/S720siebel_serverCreate a soft link to
/sbin/rc2.d/K320siebel_serverfrom/sbin/init.d/siebel_serverby executing the following command:ln -s /sbin/init.d/siebel_server /sbin/rc2.d/K320siebel_serverCreate or edit
/sbin/init.d/siebel_server_nonrootto 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 CRM.
Remove
/sbin/rc3.d/S720siebel_serverand/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