Operating System - HP-UX
1837779 Members
3963 Online
110119 Solutions
New Discussion

starting and stopping oracle

 
SOLVED
Go to solution
chad_c
Super Advisor

starting and stopping oracle

how do i manually stop and start the oracle database from the nnm HPUX command line
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: starting and stopping oracle

Never touch oracle with the root user.

log on as oracle or whatever user owns the binaries

make sure ORACLE_HOME and ORACLE_SID are set.

sqlplus userid/password


or

sqlplus / nolog

shutdown immediate


If you have an oracle stop/start script in /sbin/init.d

/sbin/init.d/oracle stop

That script must do an su - to the oracle suer.

Touching oracle with root risks making shared memory inaccessible and forcing a reboot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
chad_c
Super Advisor

Re: starting and stopping oracle

steven's reply answered the question woo hoo