国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > 綜合 > 正文

解決升級數(shù)據(jù)庫時遇到的Text file busy錯誤

2024-07-21 02:44:17
字體:
供稿:網(wǎng)友

今天在將一個數(shù)據(jù)庫從9204升級到9206時候(p3948480_9206_HP64),遇到一個報錯:


Exception String: Error in writing to file '/Oracle/app/oracle/PRoduct/9.2.0/lib32/libwtc9.sl'. [/oracle/app/oracle/product/9.2.0/lib32/libwtc9.sl (Text file busy)]

Exception Severity: 2

Exception handling set to prompt user with options to Retry Ignore

User Choice: Retry

Exception thrown from action: copyGroupFromJar

Exception Name: IOException2

Exception String: Error in writing to file '/oracle/app/oracle/product/9.2.0/lib32/libwtc9.sl'. [/oracle/app/oracle/product/9.2.0/lib32/libwtc9.sl (Text file busy)]

Exception Severity: 2

Exception handling set to prompt user with options to Retry Ignore

奇怪,按理說數(shù)據(jù)庫的偵聽已經(jīng)停了,且數(shù)據(jù)庫已經(jīng)重啟過,應該不會還有應用會使用數(shù)據(jù)庫中的文件了吧?在圖形界面點擊retry,可以繼續(xù)安裝,但是不一會又再次彈出窗口說這個文件還是在被使用。


此時,我們可以用fuser這個命令來查看是哪個進程在使用這個文件。


sn_rdb01#[/]fuser /oracle/app/oracle/product/9.2.0/lib32/libwtc9.sl

/oracle/app/oracle/product/9.2.0/lib32/libwtc9.sl: 5757m 5759m 5758m 6585m 6605m 5756m 5755m 6607m 5760m 6632m 6565m 6560m 18407m 6633m

繼續(xù)檢查這些是什么進程:


sn_rdb01#[/]ps -ef |grep 5757

report16 5757 1 0 Feb 13 ? 56:19 datastat_mms

root 27653 24491 0 23:12:57 pts/3 0:00 grep 5757

sn_rdb01#[/]

sn_rdb01#[/]

sn_rdb01#[/]ps -ef |grep 5759

report16 5759 1 0 Feb 13 ? 5:20 dataload_sms

root 27714 24491 0 23:14:31 pts/3 0:00 grep 5759

經(jīng)過仔細查看,這些進程是報表應用的進程,可以用kill的方式殺掉這些進程,我們在這里采用了更為安全的方式:通知報表的維護人員停了報表應用。停完后,即可順利升級!


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 阿鲁科尔沁旗| 景洪市| 彭州市| 蚌埠市| 广丰县| 开江县| 富平县| 新沂市| 秦安县| 共和县| 筠连县| 安阳市| 桓仁| 宁城县| 娄底市| 福海县| 东山县| 内丘县| 双辽市| 江门市| 奉化市| 九寨沟县| 五家渠市| 澳门| 福建省| 玉林市| 灯塔市| 芷江| 子长县| 沭阳县| 太湖县| 普兰县| 仙居县| 三明市| 青岛市| 滕州市| 万盛区| 通州区| 靖宇县| 宁津县| 来安县|