Oracle service and oracle auto start not working - 11.2.0.4 on Linux 7.1
Hello everyone
We are running 11.2.0.4 on RHEL Linux 7.1 (Maipo)
We are trying to setup oracle to auto start / shutdown on boot
Here is what we did
Step # 1. Created /etc/init.d/dbora.. here are the contents of it
#!/bin/sh
# chkconfig: 345 99 10
# description: Oracle auto start-stop script.
#
# Set ORA_OWNER to the user id of the owner of the
# Oracle database software.
ORA_OWNER=oracle
case "$1" in
'start')
# Start the Oracle databases:
# The following command assumes that the oracle login
# will not prompt the user for any values
# Remove "&" if you don't want startup as a background process.
su $ORA_OWNER -c "/home/oracle/admin/scripts/startup.sh >> /home/oracle/scripts/startup_shutdown.log 2>&1" &