On Fri, Nov 14, 2008 at 12:36 AM, Naresh Rawat <[EMAIL PROTECTED]> wrote: > Hi Guys, > > Can anyone tell me if i can put a script in init file which will > automatically start my oracle listener if the server is rebooted. > > or is thr any other way i can automate it. >
What version of Oracle? You need to edit /etc/oratab first and have a Y as the last field for all instances. Then, you can use the dbstart command to start up the database. Incorporate this command in your /etc/rc.local, or if you want more control create a separate rc script. The caveat here is to ensure this rc script runs after the network service has come up. Regards, NMK.
