10g GC 啟動oms報錯Unexpected error occurred. Check error and log files.

snowdba發表於2015-04-07
早上開啟GC發現連線失敗

檢視oms狀態提示錯誤
$ ./emctl status oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Management Server is not functioning because of the following reason:
Unexpected error occurred. Check error and log files.

嘗試啟動oms報錯
$ ./emctl start oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
opmnctl: opmn is already running
Starting HTTP Server ...
Starting Oracle Management Server ...
Checking Oracle Management Server Status ...
Oracle Management Server is not functioning because of the following reason:
Unexpected error occurred. Check error and log files.


手工停止全部資源
find /u01/app/oracle -name opmnctl
/u01/app/oracle/product/11.1.0/oms10g/opmn/bin/opmnctl

$ /u01/app/oracle/product/11.1.0/oms10g/opmn/bin/opmnctl stopall
opmnctl: stopping opmn and all managed processes...

手工重啟全部資源
$ /u01/app/oracle/product/11.1.0/oms10g/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...


再次檢視oms狀態
$ ./emctl status oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Management Server is Up.


問題解決

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

相關文章