升级数据库时遇到的Text file busy错误解决办法

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:30   3529   0

打patch时,由于进程占用导致升级过程中意外暂停,监听关了数据库也关了,原以为弹出来的这个消息可以忽略,可是忽略不了,用fuser命令查出PID再KILL掉即可顺利安装下去,但是有些进程可能是报表应用什么的,注意先通知相关人员停掉应用再KILL掉进程即可。

[root@Znotz ~]# fuser /app/oracle/10g/bin/sqlplus
/app/oracle/10g/bin/sqlplus:  3941e
[root@Znotz ~]# ps -ef |grep 3941
oracle    3941  3913  0 11:11 pts/0    00:00:00 sqlplus   as sysdba
root      6678  6646  0 20:37 pts/10   00:00:00 grep 3941
[root@Znotz ~]# kill -9 3941
[root@Znotz ~]# ps -ef |grep 3941
root      6680  6646  0 20:37 pts/10   00:00:00 grep 3941

----------------------------------------------------------------------------------------------

版权所有,如需转载,请注明出处,否则追加法律责任!

blog:http://blog.csdn.net/waycomecome

mail:waycomecome@gmail.com


分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP