解决Linux下Oracle无法关闭数据库的问题
Troubleshooting ORA-01090: shutdown in progress,
ORA-01081现象:
SQL> shutdown immediate
ORA-01090: shutdown in progress - connection is not permitted
SQL> startup
ORA-01081: cannot start already-running Oracle - shut it down first
解决方法:
oracle> ps -ef|grep oracle |grep _rac1|grep -v grep |awk '{print "kill -9 "$2}'
oracle> chmod +x mykill
oracle> ./mykill
oracle>. ./mykill
oracle> ipcs -m
Shared Memory:
T ID KEY MODE OWNER GROUP
m 128 0 --rw-r----- oracle8 dba
m 129 0 --rw-r----- oracle8 dba
m 130 0xe9d0aaa8 --rw-r----- oracle8 dba
m 1027 0 --rw-r----- oracle9 dba
m 1028 0xe0bb589c --rw-r----- oracle9 dba
dragon1> ipcrm -m 1027 '用ipcrm -m 命令来从UNIX中释放占用的RAM内存
dragon1> ipcrm -m 1028
ORA-01081现象:
SQL> shutdown immediate
ORA-01090: shutdown in progress - connection is not permitted
SQL> startup
ORA-01081: cannot start already-running Oracle - shut it down first
解决方法:
oracle> ps -ef|grep oracle |grep _rac1|grep -v grep |awk '{print "kill -9 "$2}'
oracle> chmod +x mykill
oracle> ./mykill
oracle>. ./mykill
oracle> ipcs -m
Shared Memory:
T ID KEY MODE OWNER GROUP
m 128 0 --rw-r----- oracle8 dba
m 129 0 --rw-r----- oracle8 dba
m 130 0xe9d0aaa8 --rw-r----- oracle8 dba
m 1027 0 --rw-r----- oracle9 dba
m 1028 0xe0bb589c --rw-r----- oracle9 dba
dragon1> ipcrm -m 1027 '用ipcrm -m 命令来从UNIX中释放占用的RAM内存
dragon1> ipcrm -m 1028
相关推荐
lklong 2020-11-22
oraclemch 2020-11-06
shilukun 2020-10-10
周嘉笙 2020-11-09
zhuzhufxz 2020-09-16
bfcady 2020-08-16
Hody 2020-08-16
FightFourEggs 2020-08-16
数据库设计 2020-08-16
yanghuatong 2020-08-16
dbasunny 2020-08-16
罗罗 2020-08-16
ihuaqiang 2020-08-16
choice0 2020-07-30
娜娜 2020-07-28
solarspot 2020-07-28
踩风火轮的乌龟 2020-07-26
娜娜 2020-07-20
xwb 2020-07-19
娜娜 2020-07-18
流云追风 2020-07-04
dataminer 2020-06-25
娜娜 2020-06-22
zhangchaoming 2020-06-21