国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 阿勒泰市| 中阳县| 宁明县| 永吉县| 泗阳县| 阿鲁科尔沁旗| 元谋县| 兴业县| 治多县| 怀集县| 县级市| 如东县| 子洲县| 巴楚县| 叶城县| 普宁市| 怀集县| 图片| 临泽县| 泸溪县| 本溪市| 靖边县| 延寿县| 临沧市| 永吉县| 漠河县| 镇原县| 景泰县| 安远县| 陆河县| 湘西| 商城县| 越西县| 靖西县| 竹山县| 灵寿县| 许昌市| 潮安县| 海丰县| 莆田市| 蓝田县|