Home » Infrastructure » Unix » server startup at boot
server startup at boot [message #367046] Fri, 08 September 2000 20:18 Go to next message
Jake
Messages: 14
Registered: August 2000
Junior Member
Anyone have success starting the server, listners and a database upon bootup. I have solaris 7 on ultrasparc running 8i. I would like to strat oracle so that I can have an app server start at boot unattended. oracle runs great with manual start, but would like to automate it, as well as the auto shutdown of database. any help would be good. Is this even possible?
Re: server startup at boot [message #367066 is a reply to message #367046] Fri, 20 October 2000 04:00 Go to previous message
LG Jacobsson
Messages: 2
Registered: October 2000
Junior Member
Sure!
Use the dbstart and dbshut-scripts in $ORACLE_HOME/bin.
I had to edit theese scripts a little bit, and I also put in the start of the listener in it.
I had to put in this to start it during startup:
...
8.1) su oracle -c "sqlplus /nolog" << EOF
connect internal
startup
EOF
...
Then create a symbolic link (ln -s) in the startup-libraries ( typically /etc/rc2.d ) and name the link for example S97dbstart that points to the dbstart file. Do the same for shutting down in /etc/rc1.d naming it K97dbshut.

Good luck
/L-G
Previous Topic: Forms 6.0 on Unix
Next Topic: Forms 6.0 on UNIX , IS it possible !!!! [if yes reply fast]
Goto Forum:
  


Current Time: Thu Mar 28 15:41:55 CDT 2024