I have an Oracle database 8.1.6 running on Solaris 5.7. Earlier when it was installed it was not configured to startup automatically whenever the box was booted. So I edited the oratab file so that the instance (there is only one on the box) will come up everytime the box is booted. But seems like it is not working.
Did I miss something here?? Can somebody point me in the right direction?
Did you add scripts in /etc/init.d?
Refer Oracle installation Guide please.
In your /etc/init.d directory, you can have a script that controls the startup and shutdown of the db. For example, in /etc/init.d/oracle:
case "$1" in
su - oracle -c dbstart
su - oracle -c lsnrctl start
su - oracle -c dbshut
Then, in your /etc/rc2.d directory, you have to create links that will run the oracle script on startup and shutdown of the system. (The K script is run when the system is going down and the S script runs when the system is coming up. Case is very important)
ln -s /etc/init.d/oracle S88oracle
ln -s /etc/init.d/oracle K88oracle
The steps on installing the auto start script are well explained in the oracle 8.1.6 installation guide, page 4-4
under post installation options. Check that out.
Thank you all....it works now...
Click Here to Expand Forum to Full Width