在RAC 12c下GoldenGate故障一則(共享檔案系統檔案鎖)

hooca發表於2016-07-09
OS:Oracle Linux 6.6 x64
DB:12.1.2.0
GoldenGate:12.2

GoldenGate目錄安裝在共享的ACFS上。
在ggserr.log中發現:

點選(此處)摺疊或開啟

  1. 2016-07-09 18:27:48 ERROR OGG-00446 Oracle GoldenGate Capture for Oracle, pmp1.prm: Unable to lock file "/u01/ggs_1/dirchk/PMP1.
  2. cpe" (error 11, Resource temporarily unavailable).
根據MOS ID 1330326.1

按照其執行,發現仍有報錯

點選(此處)摺疊或開啟

  1. 2016-07-09 18:32:30 ERROR OGG-00446 Oracle GoldenGate Capture for Oracle, ext1.prm: Unable to lock file "/u01/ggs_1/dirchk/EXT1.cpe" (error 11, Resource temporarily unavailable). Lock currently held by process id (PID) 25960.
不過與之前略有不同,出現了PID 25960的提示。

按該提示查詢程式:

點選(此處)摺疊或開啟

  1. # ps -ef | grep 25960
  2. oracle 25960 9401 0 18:30 ? 00:00:00 /u01/ggs_1/extract PARAMFILE /u01/ggs_1/dirprm/ext1.prm REPORTFILE /u01/ggs_1/dirrpt/EXT1.rpt PROCESSID EXT1 USESUBDIRS
  3. oracle 25966 25960 0 18:30 ? 00:00:00 oracleracdb2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
  4. oracle 26024 25960 0 18:31 ? 00:00:00 oracleracdb2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
  5. oracle 26025 25960 3 18:31 ? 00:00:03 oracleracdb2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
  6. oracle 26173 25960 0 18:31 ? 00:00:00 oracleracdb2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
  7. oracle 26218 25960 0 18:31 ? 00:00:00 oracleracdb2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
將程式殺死,重新啟動Extract即可。

點選(此處)摺疊或開啟

  1. # kill -9 25960






來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22621861/viewspace-2121767/,如需轉載,請註明出處,否則將追究法律責任。

相關文章