atorex
asked on
OMS agent on Windows 2012 X64
Hi I have a Linux OMS with Linux targets attached and running with no issues, I'm trying to install the agent on Windows server targets so I can manage them from my OMS. I have followed the documentation and have installed the agent on a windows server but the agent service will not start, when I attempt to start it command line I get an error 1063, when starting it from the services window I get ERROR:1053
Any help would be appreciated.
Regards,
Atorex
Any help would be appreciated.
Regards,
Atorex
ASKER
the ops service log states
03/11/16 13:53:49 Received exitCode 1 from emctl istatus
03/11/16 13:53:56 Received exitCode 1 from emctl istatus
03/11/16 13:54:03 Received exitCode 1 from emctl istatus
03/11/16 13:54:11 Received exitCode 1 from emctl istatus
03/11/16 13:54:18 Received exitCode 1 from emctl istatus
03/11/16 13:54:25 Received exitCode 1 from emctl istatus
03/11/16 13:54:30 agent exited with retCode 0.
03/11/16 13:54:30 Check C:\tsoms\sysman\log\emagen t.nohup for details
03/11/16 13:54:30 NMESRV(2,0,0,0)
03/11/16 13:54:30 ServiceMain exiting
The emagent.nohup states
2016-03-11 13:48:43,727 [1:main] WARN - Missing filename for log handler 'opsscfg'
----- Fri Mar 11 13:48:46 2016::344::Previous Thrash State(startTime = 1457660882) updated -----
----- Fri Mar 11 13:48:46 2016::344::Previous Thrash State(thrashCount = 1) updated -----
----- Fri Mar 11 13:49:14 2016::344::Checking status of EMAgent : 680 -----
----- Fri Mar 11 13:54:14 2016::344::Checking status of EMAgent : 680 -----
----- Fri Mar 11 13:54:14 2016::344::Abnormality reported for EMAgent : 680 -----
----- Fri Mar 11 13:54:14 2016::344::Debugging component EMAgent -----
----- Fri Mar 11 13:54:14 2016::generate first thread dump file for diagnosis -----
----- Fri Mar 11 13:54:25 2016::generate second thread dump file for diagnosis -----
----- Attempting to kill EMAgent : 680 -----
----- Fri Mar 11 13:54:30 2016::344::Pid 680 not found. reaped=680, processStatus=2304 -----
----- Fri Mar 11 13:54:30 2016::344::EMAgent exited at Fri Mar 11 13:54:30 2016 with signal 9 -----
----- Fri Mar 11 13:54:30 2016::344::EMAgent either hung or in abnormal state. -----
----- Fri Mar 11 13:54:30 2016::344::EMAgent will be restarted/thrashed. -----
----- Fri Mar 11 13:54:30 2016::344::writeAbnormalEx itTimestam pToAgntStm p: exitCause=ABNORMAL : restartRequired=1 -----
----- Fri Mar 11 13:54:30 2016::344::Wrote RESTART_AGENT=TRUE to C:\tsoms/sysman/log/srvc_e mwd_msg.tx t -----
----- Fri Mar 11 13:54:30 2016::344::Watchdog for EMAgent exiting. -----
----- Fri Mar 11 13:54:30 2016::344::Wrote WD_START_TIME=1457660882 WD_THRASH_COUNT=1 to C:\tsoms/sysman/log/srvc_e mwd_msg.tx t -----
03/11/16 13:53:49 Received exitCode 1 from emctl istatus
03/11/16 13:53:56 Received exitCode 1 from emctl istatus
03/11/16 13:54:03 Received exitCode 1 from emctl istatus
03/11/16 13:54:11 Received exitCode 1 from emctl istatus
03/11/16 13:54:18 Received exitCode 1 from emctl istatus
03/11/16 13:54:25 Received exitCode 1 from emctl istatus
03/11/16 13:54:30 agent exited with retCode 0.
03/11/16 13:54:30 Check C:\tsoms\sysman\log\emagen
03/11/16 13:54:30 NMESRV(2,0,0,0)
03/11/16 13:54:30 ServiceMain exiting
The emagent.nohup states
2016-03-11 13:48:43,727 [1:main] WARN - Missing filename for log handler 'opsscfg'
----- Fri Mar 11 13:48:46 2016::344::Previous Thrash State(startTime = 1457660882) updated -----
----- Fri Mar 11 13:48:46 2016::344::Previous Thrash State(thrashCount = 1) updated -----
----- Fri Mar 11 13:49:14 2016::344::Checking status of EMAgent : 680 -----
----- Fri Mar 11 13:54:14 2016::344::Checking status of EMAgent : 680 -----
----- Fri Mar 11 13:54:14 2016::344::Abnormality reported for EMAgent : 680 -----
----- Fri Mar 11 13:54:14 2016::344::Debugging component EMAgent -----
----- Fri Mar 11 13:54:14 2016::generate first thread dump file for diagnosis -----
----- Fri Mar 11 13:54:25 2016::generate second thread dump file for diagnosis -----
----- Attempting to kill EMAgent : 680 -----
----- Fri Mar 11 13:54:30 2016::344::Pid 680 not found. reaped=680, processStatus=2304 -----
----- Fri Mar 11 13:54:30 2016::344::EMAgent exited at Fri Mar 11 13:54:30 2016 with signal 9 -----
----- Fri Mar 11 13:54:30 2016::344::EMAgent either hung or in abnormal state. -----
----- Fri Mar 11 13:54:30 2016::344::EMAgent will be restarted/thrashed. -----
----- Fri Mar 11 13:54:30 2016::344::writeAbnormalEx
----- Fri Mar 11 13:54:30 2016::344::Wrote RESTART_AGENT=TRUE to C:\tsoms/sysman/log/srvc_e
----- Fri Mar 11 13:54:30 2016::344::Watchdog for EMAgent exiting. -----
----- Fri Mar 11 13:54:30 2016::344::Wrote WD_START_TIME=1457660882 WD_THRASH_COUNT=1 to C:\tsoms/sysman/log/srvc_e
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
So I have the agent working, the issue was name resolution, so now I have an issue where the target is not seen in OMS under hosts, I can see the server under all targets and am able to click on it and see some metrics on that page, the only issue at this point is I don't see it is the summary or the hosts pages, any ideas?
here is the status result on the agent on the Windows target
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
-------------------------- ---------- ---------- ---------- -------
Agent Version : 12.1.0.5.0
OMS Version : 12.1.0.5.0
Protocol Version : 12.1.0.1.0
Agent Home : C:/mydomain
Agent Log Directory : C:/mydomain\sysman\log
Agent Binaries : C:\mydomain\core\12.1.0.5. 0
Agent Process ID : 3120
Parent Process ID : 2940
Agent URL : https://adc2.mydomain.int:3872/emd/main/
Local Agent URL in NAT : https://adc2.mydomai.int:3872/emd/main/
Repository URL : https://em12.mydomain.int:4903/empbs/upload
Started at : 2016-03-13 11:12:25
Started by user :
Operating System : Windows version 6.2 (amd64)
Last Reload : (none)
Last successful upload : 2016-03-13 11:27:34
Last attempted upload : 2016-03-13 11:27:34
Total Megabytes of XML files uploaded so far : 0.01
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 66.45%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2016-03-13 11:28:39
Last successful heartbeat to OMS : 2016-03-13 11:28:39
Next scheduled heartbeat to OMS : 2016-03-13 11:29:39
-------------------------- ---------- ---------- ---------- -------
Agent is Running and Ready
here is the status result on the agent on the Windows target
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
--------------------------
Agent Version : 12.1.0.5.0
OMS Version : 12.1.0.5.0
Protocol Version : 12.1.0.1.0
Agent Home : C:/mydomain
Agent Log Directory : C:/mydomain\sysman\log
Agent Binaries : C:\mydomain\core\12.1.0.5.
Agent Process ID : 3120
Parent Process ID : 2940
Agent URL : https://adc2.mydomain.int:3872/emd/main/
Local Agent URL in NAT : https://adc2.mydomai.int:3872/emd/main/
Repository URL : https://em12.mydomain.int:4903/empbs/upload
Started at : 2016-03-13 11:12:25
Started by user :
Operating System : Windows version 6.2 (amd64)
Last Reload : (none)
Last successful upload : 2016-03-13 11:27:34
Last attempted upload : 2016-03-13 11:27:34
Total Megabytes of XML files uploaded so far : 0.01
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 66.45%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2016-03-13 11:28:39
Last successful heartbeat to OMS : 2016-03-13 11:28:39
Next scheduled heartbeat to OMS : 2016-03-13 11:29:39
--------------------------
Agent is Running and Ready
Sorry but I'm not sure what screens you are referring to. I don't do much with OEM of any of the GUIs.
I do see where there hasn't been anything uploaded and nothing pending. Something on the agent side isn't collecting anything.
I do see where there hasn't been anything uploaded and nothing pending. Something on the agent side isn't collecting anything.
This should be under the sysman\log folder where you installed Oracle.