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

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

WBOY
WBOYOriginal
2016-06-07 15:36:131270browse

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

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

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

[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


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:备份恢复数据库Next article:mongo数据库的操作