Starting the Enterprise Server for HP-UX Automatically

To start the enterprise server for HP-UX automatically:

  1. Create a script named jdedwards in /sbin/init.d with all necessary permissions for execution.

    The script should contain only these:

    #! /sbin/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 that no interactive commands appear in the jde910 user's ~/.profile (or ~/.bash_profile), and that RunOneWorld.sh has all necessary permissions for execution.

  2. Using this command, create a soft link named S995jde to the jdedwards script in the directory named /sbin/rc2.d.

    ln -s /sbin/init.d/jdedwards /sbin/rc2.d/S995jde
    
  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.

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

    unset ORAENV_ASK