07 October 2006

Make Oracle Autostart Database

Use to see my DBA create the Autostart feature for Unix boxes, never do this before. Last few days however I took the courage to do 'Autostart' in my office's HP-UX box. Here's what I did,

1. look for oratab file, which is in /etc/oratab. Modify the file.
2. create a dbora file, which is in the /sbin/init.d/ directory.
3. chmod 755 dbora
4. chgrp dba dbora (change group to DBA)
5. Do a symbolic link: (login as root)
# ln -s /sbin/init.d/dbora /etc/rc0.d/K10dbora
# ln -s /sbin/init.d/dbora /etc/rc3.d/S99dbora

Use www.unixguide.net as a reference for different flavour of Unix.

No comments: