Database Shutdown [message #507813] |
Wed, 18 May 2011 02:17 |
|
Paules
Messages: 128 Registered: March 2011 Location: United Arab Emirates
|
Senior Member |
|
|
Dear friends,
I have a script to shutdown the Linux Oracle database server.
ORACLE_SID=orcl
export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/OraHome_1
export ORACLE_HOME
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH
sqlplus -S sys/manager1 as sysdba << EOF
shutdown immediate;
exit;
EOF
lsnrctl stop
emctl stop dbconsole
exit
echo "Over"
The Statement emctl stop dbconsole is not working. It is showing
error message as failed.
Can anyone help me pls?
Regards,
Paules
|
|
|
|
|
Re: Database Shutdown [message #509466 is a reply to message #509465] |
Sat, 28 May 2011 02:31 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
I can't download files.
How many times will we have to tell you?
COPY AND PASTE in text mode inside your post.
I bet this a DOS or shell session (too bad you didn't follow the guide and posted your OS), so nothing prevent you from posting it in text, and don't forget to FORMAT and USE CODE TAGS.
Regards
Michel
[Updated on: Sat, 28 May 2011 02:32] Report message to a moderator
|
|
|
|
|
|
|
|