2015年5月10日 星期日

【Oracle ERP Note 】查看 alert_PROD.log 時候,出現錯誤訊息

Problem

查看 alert_PROD.log 時候,出現下列錯誤訊息:


E325: ATTENTION
Found a swap file by the name ".alert_PROD.log.swp"
          owned by: proddba   dated: Mon May 11 09:21:40 2015
         file name: /u01/app/diag/rdbms/prod/PROD/trace/alert_PROD.log
          modified: no
         user name: proddba   host name: erp
        process ID: 28769
While opening file "alert_PROD.log"
             dated: Mon May 11 11:14:27 2015
      NEWER than swap file!

(1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

(2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r alert_PROD.log"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file ".alert_PROD.log.swp"
    to avoid this message.

Swap file ".alert_PROD.log.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Study 此現象與用 vi alert_PROD.log 時,未結束此 Processs 就關機,而發生此異常現象。 Solution 若只是查看,直接刪除此 swap 檔案 .alert_PROD.log.swp 即可。

沒有留言:

張貼留言

prettyPrint();