Siebel Installation Guide for UNIX > Configuring Siebel Enterprise Server and Related Components > Configuring the Siebel Server for Automatic Start >

Configuring the Siebel Server for Automatic Start When Installed as Root on HP-UX, Linux, or Solaris


This topic is part of Configuring the Siebel Server for Automatic Start.

This topic describes how to configure your Siebel Servers to start automatically when installed as root on HP-UX, Linux, or Solaris.

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, which determines 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 Linux or 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 the Siebel Server for autostart using the siebel_server script on HP-UX, Linux, or 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 (Linux or 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 on 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_ROOT/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 on Linux or 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_ROOT/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 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.