Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools > Installing the Siebel Server > Configuring the Siebel Server for Automatic Start on HP-UX and Solaris >

Configuring Siebel Server Autostart When Installed as Root on HP-UX and Solaris


If you installed Siebel Server as root, complete one of the procedures that follow to enable autostart.

Which procedure you use depends on whether or not you previously enabled autostart when you installed the Siebel Server. This will determine whether a copy of the siebel_server script already exists. The script is located in /sbin/init.d (on HP-UX) or /etc/init.d (on Solaris):

Configuring Siebel Server Autostart If Autostart Was Enabled Earlier

If you have a copy of the siebel_server script in the appropriate location, because autostart was enabled earlier, complete the appropriate procedure for your platform to configure autostart.

To configure Siebel Server for autostart using the siebel_server script on HP-UX and Solaris

  1. Log on as root.
  2. Using any text editor, edit /sbin/init.d/siebel_server (HP-UX) or /etc/init.d/siebel_server (Solaris) and set the $SIEBEL_SERVER_ROOT variable to the actual path for the Siebel Server installation directory.
  3. Save the script and exit the editor.

If you have multiple Siebel Servers on the same machine for which you want to enable automatic startup, you must edit the siebel_server script by adding each new SIEBEL_ROOT to the $SIEBEL_SERVER_ROOT variable, separated by spaces.

For example, suppose that the first Siebel Server is in the /usr/local/siebel directory and the second one is in the /vol1/siebel directory, then you need to set the $SIEBEL_SERVER_ROOT variable in the siebel_server script as follows:

$SIEBEL_SERVER_ROOT="/usr/local/siebel /vol1/siebel"

Configuring Siebel Server Autostart If Autostart Was Not Enabled Earlier

If you do not have a copy of the script siebel_server in the appropriate location, because autostart was not enabled earlier, complete the appropriate procedure that follows for your platform to configure your server for autostart.

To configure the Siebel Server to start automatically under HP-UX

  1. Log on as root to the machine on which the Siebel Server was installed.
  2. Copy the siebel_server script to the /sbin/init.d directory, as shown:

    cp $SIEBEL_HOME/bin/siebel_server /sbin/init.d

  3. Set the appropriate permissions by executing the following command:

    chmod 755 /sbin/init.d/siebel_server

  4. 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

    NOTE:  The preceding command assumes that you bring up your Siebel Server in init state 3.

  5. 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

To configure the Siebel Server to start automatically under Solaris

  1. Log on as root to the machine on which the Siebel Server was installed.
  2. Copy the siebel_server script to the /etc/init.d directory, as shown:

    cp $SIEBEL_HOME/bin/siebel_server /etc/init.d

  3. Set the appropriate permissions by executing the following command:

    chmod 755 /etc/init.d/siebel_server

  4. 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

    NOTE:  The preceding command assumes that you bring up your Siebel Server in init state 3.

  5. 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

Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools