因為各種各樣的原因
我列出一個較好的操作步驟
$lsnrctl stop
SQL>alter database backup controlfile to trace;
SQL>alter system switch logfile;
set head off;
set feedback off;
set newpage none;
spool /oracle_backup/bin/kill_all_session
select
spool off;
SQL>@/oracle_backup/bin/kill_all_session
SQL>shutdown immediate;
或者
SVRMGRL>shutdown immediate;
$lsnrctl start
$sqlplus /nolog
SQL>connect / as sysdba
SQL>startup;
或者
$svrmgrl
SVRMGRL>connect internal;
SVRMGRL>startup;
From:http://tw.wingwit.com/Article/program/Oracle/201311/16602.html