Hi,
I just installed oracle database enterprise edition on a Linux RHEL 7.5 . It is a stand alone server ( so no cdb / pdbs) .
1. I edited the /etc/oratab file and set the flag to 'Y'.
2. I created the file /etc/init.d/dbora with the following content
#! /bin/sh
ORA_HOME=/u01/app/oracle/product/18.0.0/dbhome_1
ORA_OWNER=oracle
case "$1" in
'start')
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME" &
touch /var/lock/subsys/dbora
;;
'stop')
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME" &
rm -f /var/lock/subsys/dbora
;;
esac
3. I changed the group and the permission of the "dbora" file
# chgrp dba dbora
# chmod 750 dbora
4. I created the symbolic links to the dbora script in the appropriate run-level script directories, as follows:
# ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora
# ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
# ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
When I restarted the server and tried to connect to oracle. I am getting "Connected to an idle instance" . I am I missing anything ? All suggestions appreciated.
Thanks