EM Agent Fatal agent error: State Manager failed at Startup
EM 不定期異常宕機,問題重複出現,之前幾次因為忙於其它事,無力兼顧,等回頭處理時,發現EM已恢復正常。
這次問題又重現,準備徹底解決,過程如下:
1. 重新啟動EM失敗,報錯:
/u01/oracle/agent/core/12.1.0.5.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running
[
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Starting agent ........................................... failed.
Fatal agent error: State Manager failed at Startup
Fatal agent error: State Manager failed at Startup
Fatal agent error: State Manager failed at Startup
EMAgent is Thrashing. Exiting watchdog
Consult emctl.log and emagent.nohup in: /u01/oracle/agent/agent_inst/sysman/log
2.檢視emctl.log日誌,報錯:
51537 :: Tue Nov 14 15:16:37 2017::AgentLifeCycle.pm:Watch dog processs id: 51692 exited with an exit code of 56
51537 :: Tue Nov 14 15:16:37 2017::AgentLifeCycle.pm: Exited loop retryCount=80 with retCode=1
51537 :: Tue Nov 14 15:16:37 2017::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
51537 :: Tue Nov 14 15:16:38 2017::AgentLifeCycle.pm: StartCEMD live status of the agent is 1 after 0 retries.
51537 :: Tue Nov 14 15:16:38 2017::AgentLifeCycle.pm: Check agent status retCode=1
51537 :: Tue Nov 14 15:16:38 2017::TZ: EmctlLogAvailabilityMarker Operation=start Diag=failed
51537 :: Tue Nov 14 15:16:38 2017::Calling releaselobalLock
51537 :: Tue Nov 14 15:16:38 2017::AgentCommandLock:released lock on emctl lockfile
51537 :: Tue Nov 14 15:16:38 2017::Released agent command lock
51537 :: Tue Nov 14 15:16:38 2017::Cleaning up agent command lock
51537 :: Tue Nov 14 15:16:38 2017::AgentCommandLock:closed file handle of emctl lockfile
3.然後並沒有什麼卵用,繼續搜尋有用資訊,終於在gcagent_errors.log,發現報錯:
[1:main] ERROR - agent main threw an error
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.<init>(String.java:215)
at java.lang.StringBuffer.toString(StringBuffer.java:585)
at oracle.sysman.gcagent.state.StateMgr.loadValue(StateMgr.java:622)
at oracle.sysman.gcagent.state.StateMgr.initStateMgr(StateMgr.java:691)
at oracle.sysman.gcagent.state.StateMgr.tmNotifier(StateMgr.java:1215)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.invokeNotifier(TMComponentSvc.java:1009)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.invokeInitializationStep(TMComponentSvc.java:1094)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.doInitializationStep(TMComponentSvc.java:927)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.notifierDriver(TMComponentSvc.java:823)
at oracle.sysman.gcagent.tmmain.TMMain.startup(TMMain.java:264)
at oracle.sysman.gcagent.tmmain.TMMain.agentMain(TMMain.java:565)
at oracle.sysman.gcagent.tmmain.TMMain.main(TMMain.java:554)
[1:main] ERROR - Critical error:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.<init>(String.java:215)
at java.lang.StringBuffer.toString(StringBuffer.java:585)
at oracle.sysman.gcagent.state.StateMgr.loadValue(StateMgr.java:622)
at oracle.sysman.gcagent.state.StateMgr.initStateMgr(StateMgr.java:691)
at oracle.sysman.gcagent.state.StateMgr.tmNotifier(StateMgr.java:1215)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.invokeNotifier(TMComponentSvc.java:1009)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.invokeInitializationStep(TMComponentSvc.java:1094)
at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.doInitializationStep(TMComponentSvc.java:927)
該異常應是java虛機記憶體不足導致,故調整EM 記憶體設定:
/u01/oracle/agent/agent_inst/sysman/config目錄下emd.properties檔案中原內容如下:
#
# To enable the metric browser, uncomment the following line
# This is a reloadable parameter
#
#_enableMetricBrowser=true
#
# These are the optional Java flags for the agent
#
agentJavaDefines=-Xmx520M -XX:MaxPermSize=256M
修改後:
#
# To enable the metric browser, uncomment the following line
# This is a reloadable parameter
#
#_enableMetricBrowser=true
#
# These are the optional Java flags for the agent
#
agentJavaDefines=-Xmx1024M -XX:MaxPermSize=256M
具體大小自己測試,調整記憶體引數後,該問題解決。
相關推薦
EM Agent Fatal agent error: State Manager failed at Startup
EM 不定期異常宕機,問題重複出現,之前幾次因為忙於其它事,無力兼顧,等回頭處理時,發現EM已恢復正常。 這次問題又重現,準備徹底解決,過程如下: 1. 重新啟動EM失敗,報錯: /u01/oracle/agent/core/12.1.0.5.0/bin/emctl sta
紅警進入提示“***FATAL***String Manager failed to initilaized properly&(抗壓小遊戲)
windows 放松 你是否有遇到這種情況,剛下載了個紅警結果點圖標要進入時卻提示了一串英文 ***FATAL***String Manager failed to initilaized properly這時候是最郁悶的 解決方法 右鍵單擊ra2.exe,選擇 --屬性——兼容性——兼容模式打
Angular JavaScript記憶體溢位問題 (FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory)
方法一和方法二參考:https://www.cnblogs.com/liugang-vip/p/6857595.html 方法一:my-project/node_modules/.bin 下增大記憶體(請參考上方部落格) 方法二: 切換到 my-project/node_modules/.bin
vue專案 nodejs 編譯 報FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory.
公司有個基於vue的專案在執行npm run build的時候會報記憶體溢位,今天在某個技術流交群也有位小夥伴基於angular的專案也出現了這個問題,所以查了一些相關的資料總結了一下,下面會詳細說明前端三大框架編譯時遇到這個問題具體怎麼解決。首先看我模擬出的報錯內裡面有句關鍵的話,CALL_AND_
Camel FTP error:File operation failed: 150 Here comes the directory listing
found pre one endpoint tpc anti cti dap true 問題:寫了一個Camel的FTP傳輸程序,在本地Win7和Ubuntu下運行都正常,但是在Redhat中報“File operation failed: 150 Here comes
啟動hive報錯[ERROR] Terminal initialization failed; falling back to unsupported
ror -m initial erro nal hadoop lin con 錯誤 啟動hive時報例如以下的錯誤[ERROR] Terminal initialization failed; falling back to unsupported 解決的方法:進入到h
Centos7: Bringing up interface eth0: Error: Connection activation failed
centos7今天調試一臺虛擬機,出現如下報錯信息:檢查網卡配置,沒有見到有異常,最後按如下方法解決:# chkconfig NetworkManager off # chkconfig network on # systemctl NetworkManager stop # systemctl rest
關於發郵件報錯535 Error:authentication failed&553 authentication is required
情況 .get com bubuko ace 授權 message ssi img 553 authentication is required:這個錯誤的意思是你必須需要認證。 也就是說,你連接smtp服務器的時候必須使用密碼來連接:下面代碼紅色那句 代碼: 1 @O
[ERROR] Terminal initialization failed; falling back to unsupported
expected HR ali n-1 del post ade native sso Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-1.2.2.jar
Error:java: Compilation failed: internal java compiler error
錯誤 AS 版本 ima 編譯器 compile size spa col 問題描述:在IDEA中的一個Project在運行某個module裏面的類的時候報了如下錯誤: Error:java: Compilation failed: internal java compi
Gulp error in WebStorm: Failed to list gulp tasks
ble mov AS solution AI ebs with sam set I have the same problem with webstorm after install a updated version of node. The solution for m
Error:java: Compilation failed: internal java compiler
jdk set png RM ctu exe 自己的 UC image errorInformation:java: javacTask: 源發行版 1.8 需要目標發行版 1.8 解決此類問題 檢查自己的JDK是否一致 1 setting
Expression Blend實例中文教程(11) - 視覺管理器快速入門Visual State Manager(VSM)
條件 creat 通過 too 自動變 nor 步驟 打開 學習 Visual State Manager,中文又稱視覺狀態管理器(簡稱為VSM),是Silverlight 2中引進的一個概念。通過使用VSM,開發人員和設計人員可以輕松的改變項目控件的視覺效果,在項目中VS
jenkins主從從服務器發布腳本執行成功但總提示失敗 FATAL: Remote call on XXXX failed
wid 版本 發現 remote 腳本 成功 分享 發布腳本 不同 主從jenkins當調用 slave 執行編譯腳本後提示如下錯誤,找了半天怎麽也沒有問題,後來忽然發現slave上java的版本和master不同,一個 1.8 一個 1.10,將slave降回1.8一
xcode上編譯c語言程序報錯:ld: x duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
text internal self. value gen scrip info 內容 讀取 在網上查了一下: duplicate symbol的大概意思是,編譯器認為你重復定義了一些東西。 linker command failed with exit cod
uwsgi部署相關問題Fatal Python error: Py_Initialize: Unable to get the locale encoding
directory config add bound int binary smp odi byte uwsgi uwsgi.ini 啟動報錯 ini文件中切換用戶nginx後,因為權限問題,python虛擬環境變成了系統默認環境,缺少很多庫。 另外切換用戶啟動,
fatal: protocol error: bad line length character: This
bash vim 登錄shell 目的 shel use -s 一個 har 昨晚嘗試搭建一個Git服務器,在搭建好服務器後,在服務器創建了一個空項目,我在本地使用git clone 拉取項目時,報了fatal: protocol error: bad line lengt
啟動mongodb時ERROR: child process failed, exited with error number 100
這是因為之前暴力關閉mongodb服務導致資料被鎖定 找到自己mongo的目錄 這裡用mobaxterm讓大家看一下目錄結構 在config、shard1、shard2、shard3目錄的data目錄下(具體的分片根據自己而定),將 mongod.lock&nbs
IDEA之 Error:java: Compilation failed: internal java compiler error
報錯: Error:java: Compilation failed: internal java compiler error 原因:IDEA設定的JDK編譯版本與專案引用的JDK版本不一致。 解決:檢視專案引用的JDK版本,然後檢視File–>Setting…–>
error:Assertion failed ((unsigned)i0 < (unsigned)size.p[0]) in cv::Mat::at
font sig ron err sse mat style assert tro 問題原因: 訪問像素時指針越界造成的 解決辦法: 1、檢查指針下標是否正確 2、row和col是否寫反了error:Assertion failed ((unsigned)i0 < (