Database Administration (MOSC)

MOSC Banner

shutdown oracle with Powerchute Network Shutdown

edited May 9, 2012 5:38PM in Database Administration (MOSC) 3 commentsAnswered
Dear all,
I want to configure the PowerChute Network Shutdown 2.2.4 to shutdown our oracle server (Windows 2008 R2) if power outage occurs. I add the command in "Run this command file (full name):" under configure shutdown.

 @START "E:\shutdown\shutdown.bat"

the script e:\shutdown\shutdown.bat contains

e:
cd \shutdown
set oracle_sid=xxx
sqlplus "/ as sysdba" @e:\shutdown\shutdown.sql


The shutdown.sql contains

show parameter db_unique_name
shutdown immediate
EXIT


I shutdown  the UPS for testing, the script is failed to run.

I tested  the shutdown.bat with Administrator account, it can work.

What I'm missing?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center