Starting the Enterprise Server for AIX and Solaris Automatically
To start the enterprise server for AIX and Solaris automatically:
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.
Add this line at the end of the text file named inittab in /etc:
jde:2:wait:/etc/rc.jde
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.
Set ORACLE_TERM to hp.
Set ORAENV_ASK to NO.
To see a list of values for ORACLE_SID, look at the oratab text file in /etc.
If this command is in the .profile, you must delete it:
unset ORAENV_ASK