Starting the Enterprise Server for AIX and Solaris Automatically

To start the enterprise server for AIX and Solaris automatically:

  1. Create a script named rc.jde in /etc with all necessary permissions for execution.

    The script should contain only these:

    #! /bin/sh
    
    /bin/su - jde910 -c `$SYSTEM/bin32/RunOneWorld.sh'
    

    The value jde910 is the name of the user who owns the shell script $SYSTEM/bin32/RunOneWorld.sh. Make sure there are no interactive commands in the jde910 ~/.profile, and that RunOneWorld.sh has all the necessary permissions for execution.

  2. Add this line at the end of the text file named inittab in /etc:

    jde:2:wait:/etc/rc.jde
    
  3. Verify that this line is present in the .profile of the user who owns RunOneWorld.sh.

    . /usr/local/bin/oraenv
    

    Before you execute oraenv, ensure that the Oracle environment variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, ORACLE_TERM, and ORAENV_ASK are properly assigned and exported. Also, you must add $ORACLE_HOME/bin to the PATH environment variable.

  4. Set ORACLE_TERM to hp.

  5. Set ORAENV_ASK to NO.

    To see a list of values for ORACLE_SID, look at the oratab text file in /etc.

  6. If this command is in the .profile, you must delete it:

    unset ORAENV_ASK