Tomcat Agent Deployment Failing
Hello,
My tomcat Plug-In installed fine, but when I go to deploy it, it fails with a very non descriptive error:
Undeployment operation failed on the agent with an error status
That's it! Any ideas and/or help? Thanks!
Dave
Abercrombie & Fitch
I am trying to deploy the tomcat plugin on RH 4.0 and getting this error
oracle.sysman.emSDK.emd.fetchlet.FetchletException: oracle.sysman.emSDK.emd.fetchlet.FetchletException: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
I have preferred credentials for the Agent set to root.. I am trying use remote management agent..
Any help would be appreciated
Similar Messages
-
Cloud Control 12c Manual Agent deployment failed
Agent Deployment fails
• EMCC 12c OMS Server node1 with os-username oemgrid
• Created the same os account on target server and granted it the same OS privs i.e., (dba os role).
• Initialization Phase -> Successful
• Remote Prerequisite check -> Successful
• Agent Deployment Failed
ERROR: Execution of command /u01/emcc/agent12c/ADATMP_2011-10-22_23-50-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=rac1.respecti.com AGENT_BASE_DIR=/u01/emcc/agent12c OMS_HOST=emcc.respecti.com EM_UPLOAD_PORT=1159 AGENT_INSTANCE_HOME=/u01/emcc/agent12c/agent_inst b_doDiscovery=false b_startAgent=false 2>/u01/emcc/agent12c/ADATMP_2011-10-22_23-50-30-PM/logs
CAUSE: Error Message Not Available. Exit Code 1.
Agent Directory on Target is /u01/emcc/agent12c Owner:Group is oemgrid:dba from “/emcc/agent12c” . The “/u01” is owned by username “rac”.
Red Hat Linux 5.6 64bit
Any ideas on how to resolve this issue?
AGENT_BASE_DIR=/u01/emcc/agent12c
Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command : /u01/emcc/agent12c/core/12.1.0.1.0/jdk/bin/java -classpath /u01/emcc/agent12c/core/12.1.0.1.0/jlib/agentInstaller.jar:/u01/emcc/agent12c/core/12.1.0.1.0/oui/jlib/OraInstaller.jar oracle.sysman.agent.installer.AgentInstaller /u01/emcc/agent12c/core/12.1.0.1.0 /u01/emcc/agent12c/ADATMP_2011-10-22_23-50-30-PM /u01/emcc/agent12c -prereq
Validating oms host & port with url: http://emcc.respecti.com:1159/empbs/genwallet
Validating oms host & port with url: https://emcc.respecti.com:1159/empbs/genwallet
Return status:3
Unzipping the agentcoreimage.zip to /u01/emcc/agent12c ....
12.1.0.1.0_PluginsOneoffs_226.zip
Executing command : /u01/emcc/agent12c/ADATMP_2011-10-22_23-50-30-PM/unzip -o /u01/emcc/agent12c/ADATMP_2011-10-22_23-50-30-PM/12.1.0.1.0_PluginsOneoffs_226.zip -d /u01/emcc/agent12c
Checking the ownership of agent base directory:/u01/emcc/agent12c
Checking for proper ownership on the agent base directory.
Checks whether the agent base directory is owned by the agent user oemgrid and that its parent directory is owned by either the agent user or root.
Login name is : oemgrid & file owner is : oemgrid
ERROR : root dir is not owned by root user.Ensure that the root user owns the root directory. This is a prerequisite for installing an agent (in silent as well as GUI mode).
See the prerequisite about "Installation Base Directory Requirements"in the Prerequisites section of the install guide:
For Silent Instal (row 11): http://download.oracle.com/docs/cd/E24628_01/install.121/e22624/install_agent.htm#BABCFEGE
For GUI Install (row 17) : http://download.oracle.com/docs/cd/E24628_01/install.121/e24089/install_agent_usng_rsp.htm#CEGIAADH
Thanks!
Edited by: user765751 on Oct 27, 2011 8:12 PM -
Mass Agent Deployment, fails when install
After trying to install, sometimes not only one, the Mass Agent Deployment, release 10.1.0.3, in Linux RED HAT 3 ES/AS, when trying to run runInstaller, I have ever the same response, 'TMP directory is full or cannot write files in Orainst<timestamp> directory, needing 60 MB of free space.
I have 16 GB of free space.
Any help?
thanks in advanced.
regards.I solved it by doing following steps on the OMS server:
# unzip <OMS_HOME>/agent_download/10.2.0.1.0/hpunix/prereqs/prereq_hpunix.jar
# cd /oracle/product/oms10g/sysman/agent_download/
# cd 10.2.0.1.0/hpunix/prereqs/prereqs/agent
# vi oui_refhost.xml
In this file replace the <PACKAGE VALUE= lines for something you have already installed, I used the secure shell package, which you must have installed to use agent deployment:
<OPERATING_SYSTEM>
<VERSION VALUE="B.11.11"/>
<ARCHITECTURE VALUE="PA_RISC2.0"/>
<NAME VALUE="HP-UX"/>
<VENDOR VALUE="HP Corp"/>
<PACKAGES>
<PACKAGE VALUE="T1471AA" VERSION="0.0" />
<PACKAGE VALUE="Secure_Shell" VERSION="0.0" />
</PACKAGES>
# zip -r prereqs.zip META-INF
# zip -r prereqs.zip prereqs
# mv prereqs.zip prereq_hpunix.jar
After doing this retry the procedure. -
J2EE agent deployment failed due to authentication error
Hi All,
I had deployed java agent long back in weblogic domain, and was able to connect and execute odi scenarios using this java agent.
Recently i have changed masterrepository password and as well SUPERVISOR password. While starting agent application in weblogic domain geting following error.
I have placed encoded password of these two in odiparams.sh also.
[HTTP:101216]Servlet: "AgentServlet" failed to preload on startup in Web application: "oracledi". ODI-1404: Agent OracleDiAgent start failure: an authentication error occurred while connecting to the master repository, at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:233) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) :oracle.odi.agent.logging.logFramework.OdiAgentException:ODI-1404: Agent OracleDiAgent start failure: an authentication error occurred while connecting to the master repository,
Please help me,
Thanks in Advance,
Kumbar.Hi Guru,
In weblogic domain ,for the data source odiMasterRepository the password is corrected and restarted itmes required.where else i can correct the masterreposiry credentails.
Whle adding domain credeintals into weblogic ,i had run followings
connect('weblogic1','weblogic88','t3://localhost:7001')
createCred(map="oracle.odi.credmap", key="SUPERVISOR", user="SUPERVISOR", password="sunopsis", desc="ODI SUPERVISOR Crendential")
createCred(map="oracle.odi.credmap", key="odidomain", user="weblogic1", password="weblogic88", desc="WLS credentials")
exit()
Now my master repository password and supervisor password got changed,
How to correct the supervisor password in WLS credmap. if any command is there plz share me.
Thanks,
Kumbar -
Hi everyone,
Been trying to install an agent on a solaris box for a couple days now. It errors out on agentConfig.sh complaining the gent port (3872) is busy. The agent port is not in use. I've run the installer with while loops doing netstat -a|grep 3872 and lsof as well and they show nothing on that port at any time. I've tried this through the GUI and the manual way with the same result. Anyone have any idea?
I'm stumped. Below is some of the logfile
Thanks in advance....Brien
Executing command: /u00/app/oracle/agent/core/12.1.0.1.0/oui/bin/runConfig.sh ORACLE_HOME=/u00/app/oracle/agent/core/12.1.0.1.0 RESPONSE_FILE=/u00/app/oracle/agent/core/12.1.0.1.0/agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true
Configuration Log Location:/u00/app/oracle/agent/core/12.1.0.1.0/cfgtoollogs/cfgfw/CfmLogger<timestamp>.log
ERROR: Agent Configuration Failed SEVERE: Agent port passed by user is busy and cannot proceed with the configuration. Pass a free port and retry the configuration.
and from CfmLogger_2012-01-27_12-15-10-PM.log:
1.ORACLE_HOME=/u00/app/oracle/agent/core/12.1.0.1.0
2.AGENT_PORT=3872
3.ORACLE_HOSTNAME=ddbpr01.servicemagic.com
4.b_doDiscovery=true
5.AGENT_BASE_DIR=/u00/app/oracle/agent
6.AGENT_INSTANCE_HOME=/u00/app/oracle/agent/agent_inst
7.s_hostname=ddbpr01.servicemagic.com
8.OMS_HOST=smcloudpr001.servicemagic.com
9.b_startAgent=true
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=4890
14.b_forceAgentDefaultPort=false
15.s_staticPorts=
INFO: oracle.sysman.top.agent:Validating OMS_HOST and EM_UPLOAD_PORT
INFO: oracle.sysman.top.agent:Validating with http protocol ...
INFO: oracle.sysman.top.agent:URL framed is:http://smcloudpr001.servicemagic.com:4890/empbs/genwallet
INFO: oracle.sysman.top.agent:Validating with https protocol ...
INFO: oracle.sysman.top.agent:URL framed is:https://smcloudpr001.servicemagic.com:4890/empbs/genwallet
SEVERE: oracle.sysman.top.agent:Connection refusedUnrecognized SSL message, plaintext connection?
INFO: oracle.sysman.top.agent:EM Protocol Switch determined: http
INFO: oracle.sysman.top.agent:Performing free port detection..
SEVERE: oracle.sysman.top.agent:Agent port passed by user is busy and cannot proceed with the configuration. Pass a free port and retry the configuration.
INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
1. state_dir=/u00/app/oracle/agent/agent_inst
2. agentBaseDir=/u00/app/oracle/agent
3. oraHome=/u00/app/oracle/agent/core/12.1.0.1.0
INFO: oracle.sysman.top.agent:Parent directory of agent instance home:/u00/app/oracle/agent
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: done waiting for Action from 12:15:13.121Hi,
This seems to be similar issue addressed in the following bug:
Bug 13652664: AGENT DEPLOY FAILS WITH AGENT PORT PASSED BY USER IS BUSY
Issue is not with the PORT, but IP Address for the server in file /etc/hosts file is incorrect.
Best Regards,
Venkat -
How to recover from failed 12c agent deployment
Greetings,
I am in the process of upgrading to OEM 12c using the 2-System method and I am slowly making progress. Using the OEM 12c Upgrade Console I was able to get the Deploymnet/Configuration step to succeed but the Check Agent Readiness Step failed. I found the error in the <Agent_Instance_Home>/sysman/log/gcagent.log file on the target machine - ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
Once I resolve that is it simply a matter of going to the Upgrade Console -> Deploy and Configure Agents page, select the cleanup failed deployments tab and go from there or is there something else I must do. I haven't been able to find specific instructions on how to proceed in such a situation.
Thank you.
Bill WagmanHi Bill,
Yes your understanding is correct, just slect the option " cleanup failed deployments " while doing the agent deployment and it will take care of everything.
I also see that you have posted few queries in the forum about EM upgrade , i suggest you open an SR with oracle support , so that they can guide you through the upgrade process and help you in case of any issues. In case you have already opened an SR with support then pls ignore this suggestion. :)
Regards
Akanksha -
Agent deployment from EM 12.1.0.2 to Linux agent failing pre-req checks
Trying to deploy the agent software from EM to a Linux host running Oracle Enterprise Linux version 5.8 I am failing one of the pre-requisite checks indicating that the root / is not owned by the root. From the install log
INFO: --------------------------------------------------------------------------------
INFO: Checking AgentBaseDirCheck
This is a prerequisite condition to test whether the agent base directory is owned by the install user, all the parent directories are owned by either the install user or root user and the root directory (that is '/') is owned by root user.
INFO: The value of AGENT_BASE_DIR is:/opt/EM_Agent.
INFO: The value of ORACLE_HOME is:/opt/EM_Agent/ADATMP_2012-12-10_09-37-31-AM/prereq_stage/core/12.1.0.2.0
INFO: The command that is getting executed as part of this prereq is:/opt/EM_Agent/ADATMP_2012-12-10_09-37-31-AM/prereq_stage/core/12.1.0.2.0/perl/bin/perl /opt/EM_Agent/ADATMP_2012-12-10_09-37-31-AM/prereq_stage/core/12.1.0.2.0/sysman/install/CheckDirPermission.pl /opt/EM_Agent
INFO: Checking for proper ownership on the agent base directory.
INFO: Checks whether the agent base directory is owned by the agent user oracle and that its parent directory is owned by either the agent user or root.
INFO: ....
INFO: Login name is : oracle & file owner is : oracle
INFO: ....
INFO: ERROR : root dir is not owned by root user.
INFO: Check complete. The overall result of this check is: Failed <<<<
INFO: --------------------------------------------------------------------------------
Not sure how the / can not be owned by root.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
220G 63G 146G 30% /
/dev/sda1 99M 23M 72M 24% /boot
tmpfs 2.0G 620M 1.4G 32% /dev/shm
[root@tomintoul mapper]# ls -al
total 0
drwxr-xr-x 2 root root 100 Dec 4 11:42 .
drwxr-xr-x 13 root root 7180 Dec 10 06:59 ..
crw------- 1 root root 10, 62 Dec 4 11:42 control
brw-rw---- 1 root disk 253, 0 Dec 4 11:42 VolGroup00-LogVol00
brw-rw---- 1 root disk 253, 1 Dec 4 11:42 VolGroup00-LogVol01
Any help would be appreciated.Hi,
Please follow the document provided below which explains the issue.
EM 12c: Agent Installation Fails With Error 'root dir is not owned by root user' (Doc ID 1380296.1)
Regards,
Venkat -
Get Profile Attributes with Tomcat Agent
Hello,
I have configured the Tomcat Agent on a Solaris machine.
The URL policy enforcement works perfect.
But now, I need to retrieve some values from the logged on user, and set this parameters:
com.sun.am.policy.amFilter.ldapattribute.map[cn]=CUSTOM-Common-Name
and
com.sun.am.policy.amFilter.ldapattribute.mode = HEADER
in AMAgent.properties.
But as soon as these parameters are set, requests fail with this
message in the agent logfile:
<---------------->8-------------------->8------------------------>
ERROR: AmFilter: An error occured while processing request. Access will be denied.
[AgentException Stack]
com.sun.identity.agents.arch.AgentException: HttpServletRequestHelperFactory.getAttributesForUser(...) failed
<---------------->8-------------------->8------------------------>
Anything I have missed to configure?
I already read the "Troubleshooting the Agent Deployment"-
appendix.
Thanks to anyone who can help,
JuergenJuergen
Sorry to post from another forum, but do you have an answer to this:
http://swforum.sun.com/jive/thread.jspa?threadID=47920&tstart=0
thank you -
==============>deploy log information:
2015-04-27_14-50-42:INFO:Install Args AGENT_PORT=3872
2015-04-27_14-50-42:INFO:Action description 在主机 expquery03 上执行命令 /bin/sh -c '/u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872'
2015-04-27_14-50-42:INFO:Attempt :1 pty required false with no inputs
2015-04-27_15-11-47:INFO:/bin/sh -c '/u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872' execution failed on host expquery03
2015-04-27_15-11-47:INFO:Pattern ERROR: found in file /opt/app/oem12c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-04-27_14-18-30-PM/logs/expquery03/install.log Line ERROR: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
2015-04-27_15-11-47:INFO:Error Message found Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
2015-04-27_15-11-47:INFO: ACTION 在主机 expquery03 上执行命令 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872
2015-04-27_15-11-47:INFO: OUT null
2015-04-27_15-11-47:INFO: ERR Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
2015-04-27_15-11-47:INFO: EXIT CODE1
2015-04-27_15-11-47:INFO:InvocationTargetException Exception
2015-04-27_15-11-47:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:1924)
at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:59)
at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by: CommandException: err: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install. out: null exitcode: 1
stacktrace:
null
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1204)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1050)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:644)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:593)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:484)
oem@oragc12c bin]$ more /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log
/u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log: No such file or directory
[oem@oragc12c bin]$ more /opt/app/oem12c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-04-27_14-18-30-PM/logs/expquery03/install.log
-e Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command : /u01/app/agent_12c/core/12.1.0.4.0/jdk/bin/java -classpath /u01/app/agent_12c/core/12.1.0.4.0/jlib/agentInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/OraInstaller.jar oracle.s
ysman.agent.installer.AgentInstaller /u01/app/agent_12c/core/12.1.0.4.0 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM /u01/app/agent_12c -prereq
Validating oms host & port with url: http://oragc12c.yto.net.cn:4903/empbs/genwallet
Validating oms host & port with url: https://oragc12c.yto.net.cn:4903/empbs/genwalletReturn status:3-oms https port is passedUnzipping the agentcoreimage.zip to /u01/app/agent_12c ....12.1.0.4.0_PluginsOneof
fs_197.zip
Executing command : /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/unzip -o /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/12.1.0.4.0_PluginsOneoffs_197.zip -d /u01/app/agent_12cExecuting command : /u01/
app/agent_12c/core/12.1.0.4.0/jdk/bin/java -d64 -classpath /u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/OraInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/xmlparserv2.jar:/u01/app/agent_12c/core/12
.1.0.4.0/oui/jlib/srvm.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/emCfg.jar:/u01/app/agent_12c/core/12.1.0.4.0/jlib/agentInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/share.jar oracle.sysman
.agent.installer.AgentInstaller /u01/app/agent_12c/core/12.1.0.4.0 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM /u01/app/agent_12c /u01/app/agent_12c/agent_inst AGENT_BASE_DIR=/u01/app/agent_12c
Failed to read the inventory
Failed to read the inventory=====================>but the inventory no problem
Cloning the agent home...
Executing command: /u01/app/agent_12c/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/u01/app/agent_12c/core/12.1.0.4.0 AG
ENT_BASE_DIR=/u01/app/agent_12c ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=f
alse b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872 -noconfig ORACLE_HOME_NAME=agent12c1 -force b_noUpgrade=true
ERROR: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
Agent Deploy Log Location:/u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log
============>agent client privage and "/tmp" information at hp-unix
$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 5242880 384784 4820160 7% /
/dev/vg00/lvol1 1835008 376272 1447400 21% /stand
/dev/vg00/lvol7 20971520 8977200 11902024 43% /var
/dev/vg00/lvol9 7864320 3213136 4614904 41% /usr
/dev/vg00/lvol6 85983232 63055260 21527575 75% /u01
/dev/vg00/lvol5 10485760 2268216 8153768 22% /tmp===============>
/dev/vg00/lvol8 10354688 6536024 3788952 63% /opt
/dev/vg00/lvol4 52428800 13319488 38803816 26% /home
$ ls -lt
total 6
drwxr-xr-x 2 oem oinstall 1024 Apr 27 15:14 agent_12c
drwxrwx--- 5 grid oinstall 1024 Apr 27 15:11 oraInventory
drwxr-xr-x 3 oem oinstall 96 Apr 22 16:16 agent
drwxrwxr-x 8 grid oinstall 1024 Apr 21 14:58 grid
drwxrwxr-x 6 grid oinstall 96 Aug 7 2013 oracle
drwxr-xr-x 3 root oinstall 96 Aug 2 2013 11.2.0
$ cd oraInventory
$ ls -lt
total 44
drwxrwx--- 2 grid oinstall 16384 Apr 27 15:10 logs
drwxrwx--- 3 grid oinstall 2048 Apr 22 10:36 backup
drwxrwx--- 2 grid oinstall 1024 Apr 3 2014 ContentsXML
-rwxrwx--- 1 grid oinstall 1686 Aug 6 2013 orainstRoot.sh
-rw-rw---- 1 grid oinstall 56 Aug 6 2013 oraInst.loc
$ cd ContentsXML
$ ls
comps.xml inventory.xml libs.xml
$ ls -lt
total 6
-rw-rw---- 1 grid oinstall 842 Apr 21 10:31 inventory.xml
-rw-rw---- 1 grid oinstall 329 Apr 20 17:32 comps.xml
-rw-rw---- 1 grid oinstall 292 Apr 20 17:32 libs.xml
I view some oms document ,don't know the caseagent client's apeloy log:
$ more /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_16-22-23-PM.log
INFO: /u01/app/agent_12c/core/12.1.0.4.0
INFO: /u01/app/agent_12c/ADATMP_2015-04-27_15-33-29-PM
INFO: /u01/app/agent_12c
INFO: /u01/app/agent_12c/agent_inst
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: -ignorePrereqs
INFO: ORACLE_HOSTNAME=expquery03
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: OMS_HOST=oragc12c.yto.net.cn
INFO: EM_UPLOAD_PORT=4903
INFO: AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst
INFO: b_doDiscovery=false
INFO: b_startAgent=false
INFO: b_forceInstCheck=true
INFO: AGENT_PORT=3872
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: ORACLE_HOSTNAME=expquery03
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: OMS_HOST=oragc12c.yto.net.cn
INFO: EM_UPLOAD_PORT=4903
INFO: AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst
INFO: b_doDiscovery=false
INFO: b_startAgent=false
INFO: b_forceInstCheck=true
INFO: AGENT_PORT=3872
INFO: Setting the system property ORACLE_HOSTNAME to:expquery03
INFO: Setting the system property oracle.installer.oui_loc to:/u01/app/agent_12c/core/12.1.0.4.0/oui
INFO: Agent Base Directory is : /u01/app/agent_12c
INFO: Agent Home is : /u01/app/agent_12c/core/12.1.0.4.0
INFO: Sbin Home is : /u01/app/agent_12c/sbin
INFO: Logs Location is : /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy
SEVERE: User has specified -ignorePrereqs when invoking the installer. All pre-requisite checks will be ignored for this installation session. Configuration failures may result if proper pre-requisites are
not satisfied.
INFO:
Setting system property CUSTOM_INVENTORY to /u01/app/oraInventory
INFO: Clone start time:2015-04-27_16-22-24-PM
INFO: Executing command: /u01/app/agent_12c/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/u01/app/agent_12c/core/12.1.0.4.
0 -noconfig ORACLE_HOME_NAME=agent12c1 -force
INFO: Starting Oracle Universal Installer...
INFO:
INFO: Checking swap space: must be greater than 500 MB. Actual 61440 MB Passed
INFO: Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-27_04-22-24PM. Please wait ...Oracle Universal Installer, Version 11.1.0.12.0 Production
INFO: Copyright (C) 1999, 2014, Oracle. All rights reserved.
INFO:
INFO: org.xml.sax.SAXParseException: <Line 1, Column 38>: XML-20100: (Fatal Error) Expected '?>'.
INFO: at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
INFO: at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:345)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
INFO: at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:150)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:88)
INFO: at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:708)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:766)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:811)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:582)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1965)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1929)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.setAreaControls(OiicCloneSession.java:1309)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.<init>(OiicCloneSession.java:932)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:878)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:189)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:511)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:967)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
INFO: org.xml.sax.SAXParseException: <Line 1, Column 38>: XML-20100: (Fatal Error) Expected '?>'.
INFO: at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
INFO: at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:345)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
INFO: at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:150)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:88)
INFO: at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:708)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:766)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:811)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:582)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1965)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1929)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.setAreaControls(OiicCloneSession.java:1309)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.<init>(OiicCloneSession.java:932)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:878)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:189)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:511)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:967)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
INFO: OUI-10053:Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
INFO: SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
INFO: Plugin homes:
INFO:
INFO: LD_LIBRARY_PATH environment variable :
INFO: -------------------------------------------------------
INFO: Total args: 42
INFO: Command line argument array elements ...
INFO: Arg:0:/tmp/OraInstall2015-04-27_04-22-24PM/jre/bin/java:
INFO: Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-04-27_04-22-24PM/oui/lib/hpia64:
INFO: Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-04-27_04-22-24PM/oui:
INFO: Arg:3:-Doracle.installer.bootstrap=TRUE:
INFO: Arg:4:-Doracle.installer.startup_location=/u01/app/agent_12c/core/12.1.0.4.0/oui/bin:
INFO: Arg:5:-Doracle.installer.jre_loc=../../jre:
INFO: Arg:6:-Doracle.installer.nlsEnabled="TRUE":
INFO: Arg:7:-Doracle.installer.prereqConfigLoc= :
INFO: Arg:8:-Doracle.installer.unixVersion=B.11.31:
INFO: Arg:9:-d64:
INFO: Arg:10:-mx96m: -
SCOM agent install fails Error 80070035 - the network path was not found
I have deployed SCOM 2012 agents to most servers (2008, 2008 R2, 2012, 2012R2) in our estate but some either fail to install or are not monitored. I assume the two problems are related, but for now I am concentrating on the servers that fail completely.
Installation is from the Discovery Wizard and I have about 20 servers that fail of various server versions.
So looking at one specific server that is failing to install the agent - a 2008 standard service pack 2
The firewall in on and file and printer sharing is enabled for domain, remote administration is enabled for domain
I added a specific rule to allow TCP 5723 and 5724
DCOM is enabled
I can Ping the target server from the SCOM server by both name and FQDN - both return the same IP and our DNS server has only one entry for this server
I can browse to the admin share \\server\C$ from the SCOM Server, using the same account that I specify for the agent install that is a domain admin with rights on this server (and on the other servers the agent
did install to) and the server has plenty of disk space available
I am not sure what else to look at so would welcome any ideas
ThanksHi Petro,
I have a Agent installation failure cheat sheet, For your error 80070035 it is said to perform a manual installation.
So i would like to understand which version of SCOM is this ? 2007 R2 or 2012 or 2012 r2 ?
Also check if your agents have the WMI service started and enabled ?
Also if yours is a SCOM 2007 R2 do you have a RMS & MS in your management group ? If yes then Pushing the agent installation from MS may cause such issue. So would suggest you push the installation from RMS.
Also check if your Network connectivity meets the minimum requirement as recommended by SCOM. Below is applicable for Both SCOM 2007 R2 & SCOM 2012 & 2012 R2.
Component A
Component B
Minimum Requirement
Root management server or management server
Agent
64 Kbps
Root management server or management server
Agentless
1024 Kbps
Root management server or management server
Database
256 Kbps
Also check if you have any Anti virus / Firewall which is blocking the install / communication. If yes disabe or add the "Monitoringhost.exe to the safe list or what your feature is.
Check if you have another IP assigned to the NIC card and remove it tempraurly andchecl.
Also post the event logs of the Agents which are in not monitored state for analysis.
SCOM Agent installation failure error codes
Error
Error Code(s)
Remediation Steps
The MOM Server could not execute WMI Query "Select * from Win32_Environment where
NAME='PROCESSOR_ARCHITECTURE'" on computer server.domain.com
Operation: Agent Install
Install account: domain\account
Error Code: 80004005
Error Description: Unspecified error
80004005
1. Check the PATH environment variable. If the PATH statement is very long, due to lots of installed third party software - this can
fail. Reduce the path by converting any long filename destinations to 8.3, and remove any path statements that are not necessary.
2. The cause
could be corrupted Performance Counters on the target Agent.
To rebuild all Performance counters including extensible and third party counters in Windows Server 2003, type the following commands at a command
prompt. Press ENTER after each command.
cd
\windows\system32
lodctr /R
Note /R is uppercase.
Windows Server 2003 rebuilds all the counters because it reads all the .ini files in the C:\Windows\inf\009 folder for the English operating system.
How to manually rebuild Performance Counter Library values
http://support.microsoft.com/kb/300956
3. Manual agent install.
The MOM Server could not execute WMI Query "Select * from Win32_OperatingSystem" on
computer “servername.domain.com”
Operation: Agent Install
Install account: DOMAIN\account
Error Code: 800706BA
Error Description: The RPC server is unavailable.
8004100A
800706BA
1. Ensure agent push account has local admin rights
2. Firewall is blocking NetBIOS access
3. Inspect WMI health and rebuild repository if necessary
4. Firewall is blocking ICMP (Live OneCare)
5. DNS incorrect
The MOM Server failed to open service control manager on computer "servername.domain.com". Access is Denied
Operation: Agent Install
Install account: DomainName\User Account
Error Code: 80070005
Error Description: Access is denied.
80070005
80041002
1. Verify SCOM agent push account is in Local Administrators group on target computer.
2. On Domain controllers will have to work with AD team to install agent manually if agent push account is not a domain admin.
Disable McAfee antivirus during push
The MOM Server failed to open service control manager on computer "servername.domain.com".
Therefore, the MOM Server cannot complete configuration of agent on the computer.
Operation: Agent Install
Install account: DOMAIN\account
Error Code: 800706BA
Error Description: The RPC server is unavailable.
800706BA
1. Firewall blocking NetBIOS ports
2. DNS resolution issue. Make sure the agent can ping the MS by NetBIOS and FQDN. Make sure the MS can ping the agent by NetBIOS
and FQDN
3. Firewall blocking ICMP
4. RPC services stopped.
The MOM Server failed to acquire lock to remote computer servername.domain.com. This means there is already an agent management operation proceeding
on this computer, please retry the Push Agent operation after some time.
Operation: Agent Install
Install account: DOMAIN\account
Error Code: 80072971
Error description: Unknown error 0x80072971
80072971
This problem occurs if the LockFileTime.txt file is located in the following folder on the remote computer:
%windir%\422C3AB1-32E0-4411-BF66-A84FEEFCC8E2
When you install or remove a management agent, the Operations Manager 2007 management server copies temporary files to the remote computer. One
of these files is named LockFileTime.txt. This lock file is intended to prevent another management server from performing a management agent installation at the same time as the current installation. If the management agent installation is unsuccessful and
if the management server loses connectivity with the remote computer, the temporary files may not be removed. Therefore, the LockFileTime.txt may remain in the folder on the remote computer. When the management server next tries to perform an agent installation,
the management server detects the lock file. Therefore, the management agent installation is unsuccessful.
http://support.microsoft.com/kb/934760/en-us
The MOM Server detected that the following services on computer "(null);NetLogon" are not running. These services are required for push
agent installation. To complete this operation, either start the required services on the computer or install the MOM agent manually by using MOMAgent.msi located on the product CD.
Operation: Agent Install
Remote Computer Name: servername.domain.com Install account: DOMAIN\account
Error Code: C000296E
Error Description: Unknown error 0xC000296E
C000296E
1. Netlogon service is not running. It must be set to auto/started
The MOM Server detected that the following services on computer
"winmgmt;(null)" are not running
C000296E
1. WMI services not running or WMI corrupt
The MOM Server detected that the Windows Installer service (MSIServer) is disabled on computer "servername.domain.com". This service is
required for push agent installation. To complete this operation on the computer, either set the MSIServer startup type to "Manual" or "Automatic", or install the MOM agent manually by using MOMAgent.msi located on the product CD.
Operation: Agent Install
Install account: DOMAIN\account
Error Code: C0002976
Error Description: Unknown error 0xC0002976
C0002976
1. Windows Installer service is not running or set to disabled – set this to manual or auto and start it.
The Agent Management Operation Agent Install failed for remote computer servername.domain.com.
Install account: DOMAIN\account
Error Code: 80070643
Error Description: Fatal error during installation.
Microsoft Installer Error Description:
For more information, see Windows Installer log file "C:\Program Files\System Center Operations Manager 2007\AgentManagement\AgentLogs\servernameAgentInstall.LOG
C:\Program Files\System Center Operations Manager 2007\AgentManagement\AgentLogs\servernameMOMAgentMgmt.log" on the Management Server.
80070643
1. Enable the automatic Updates service…. Install the agent – then disable the auto-updates service if desired.
Call was canceled by the message filter
80010002
Install latest SP and retry. One server that failed did not have Service pack installed
The MOM Server could not find directory \\I.P.\C$\WINDOWS\. Agent will not be installed on computer "name". Please verify the required
share exists.
80070006
1. Manual agent install
Possible locking on registry?
http://www.sysadmintales.com/category/operations-manager/
Try manual install.
Verified share does not exist.
The network path was not found.
80070035
1. Manual agent install
The Agent Management Operation Agent Install failed for remote computer "name". There is not enough space on the disk.
80070070
1. Free space on install disk
The MOM Server failed to perform specified operation on computer "name". The semaphore timeout period has expired.
80070079
NSlookup failed on server. Possible DNS resolution issue.
Try adding dnsname to dnssuffix search list.
The MOM Server could not start the MOMAgentInstaller service on computer "name" in the time.
8007041D
80070102
NSlookup failed on server. Possible DNS resolution issue.
Verify domain is in suffix search list on management servers.
The Agent Management Operation Agent Install failed for remote computer "name"
80070643
1. Ensure automatic updates service is started
2. Rebuild WMI repository
3. DNS resolution issue
The Agent Management Operation Agent Install failed for remote computer "name". Another installation is already in progress.
80070652
Verify not in pending management. If yes, remove and then attempt installation again.
The MOM Server detected that computer "name" has an unsupported operating system or service pack version
80072977
Install latest SP and verify you are installing to Windows system.
Not discovered
Agent machine is not a member of domain
Ping fails
1. Server is down
2. Server is blocked by firewall
3. DNS resolving to wrong IP.
Fail to resolve machine
1. DNS issue
The MOM Server failed to perform specified operation on computer "name". Not enough server storage…
8007046A
1. This is typically a memory error caused by the remote OS that the agent is being installed on.
There are currently no logon servers available to service the logon request.
8007051F
1. Possible DNS issue
This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version
of the Windows Installer service.
8007064D
1. Install Windows Installer 3.1
The network address is invalid
800706AB
Possible DNS name resolution issue.
Tried nslookup on server name and did not get response.
Verify domain is in suffix search list on management servers.
The MOM Server failed to perform specified operation on computer servername.domain.com
80070040
1. Ensure agent push account has local admin rights
The MOM Server detected that the actual NetBIOS name SERVERNAME is not same as the given NetBIOS name provide for remote computer SERVERNAME.domain.com.
80072979
1. Correct DNS/WINS issue.
2. Try pushing to NetBIOS name
Gautam.75801 -
Oracle Enterprise Manager Agent deployment (Installation and Configuration) Error
Hello,
I am trying to create an agent on a linux server using Oracle Enterprise Manager 12.1.0.3. The user is created with root privilege on the server, by change /etc/sudoers entry username the same as the root entry. After that I tried to add host target by clicking Setup->Add Target->Add target Manually->Add Host Targets in the Oracle Enterprise Manager.
In the Add Target view: I clicked on add, then I entry host and platform information. After that I click next. Then I provided the Linux x86-64 : Installation Details for
Installation Base Directory, Instance Directory, Name Credential ... then click next. then click Deploy Agent.
In the Add Host Status view: stages Initialization and Remote Prerequisite Check successfully passed, but in the stage Agent Deployment, it failed in the Installation and Configuration phrase of the Agent Deployment stage.
The log content is shown below. There are numerous SEVERE Errors. But I don't have much experience in dealing with these type of problems. I thank you in advance for all the helps.
lf
WARNING: Validation of XML schema is disabled because AggregateDescriptions.xsd could not be found
INFO: Creating new CFM connection
INFO: Creating a new logger for oracle.sysman.top.agent
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/oracle.sysman.top.agent.12_1_0_3_0.xml
INFO: Creating a new logger for OuiConfigVariables
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/OuiConfigVariables.1_0_0_0_0.xml
INFO: Aggregate Description oracle.sysman.top.agent:12.1.0.3.0:common successfully loaded
INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
INFO: Successfully returning from CfmFactory.connect()
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:12.1.0.3.0:common:family=CFM:oh=/users/ncgf/em_agent/core/12.1.0.3.0:label=1}
INFO: Framework waiting for Action to complete at 15:08:10.272
INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=0 stepIndex=0 microStep=0
WARNING: Skipping environment variable line: "}": oracle.sysman.emCfg.common.CfwException: A non-empty environment line must contain "=": }
WARNING: Failed to read environment variable file /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties: java.io.FileNotFoundException: /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties (No such file or directory)
INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.agent.config.AgentConfiguration
INFO: oracle.sysman.top.agent:Classpath = /users/ncgf/em_agent/core/12.1.0.3.0/oui/jlib/srvm.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/agentConfig.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/emConfigInstall.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/emagentSDK.jar:/users/ncgf/em_agent/core/12.1.0.3.0/modules/oracle.http_client_11.1.1.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/log4j-core.jar
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration has been started
INFO: oracle.sysman.top.agent:Parametes passed to agent configuration are:
1.ORACLE_HOME=/users/ncgf/em_agent/core/12.1.0.3.0
2.AGENT_PORT=3872
3.ORACLE_HOSTNAME=nsn175-89.us.oracle.com
4.b_doDiscovery=false
5.AGENT_BASE_DIR=/users/ncgf/em_agent
6.AGENT_INSTANCE_HOME=/users/ncgf/em_agent/agent_inst
7.s_hostname=nsn175-89.us.oracle.com
8.OMS_HOST=nsn175-105.us.oracle.com
9.b_startAgent=false
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=4904
14.b_forceAgentDefaultPort=false
15.s_staticPorts=
16.PROPERTIES_FILE=
b_skipValidation=false
INFO: oracle.sysman.top.agent:Validating OMS_HOST and EM_UPLOAD_PORT
INFO: oracle.sysman.top.agent:Validating with http protocol ...
INFO: oracle.sysman.top.agent:URL framed is:http://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:Connection refusedUnexpected end of file from server
INFO: oracle.sysman.top.agent:Validating with https protocol ...
INFO: oracle.sysman.top.agent:URL framed is:https://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:The EM_UPLOAD_PORT passed is a secure port. Hence AGENT_REGISTRATION_PASSWORD or s_encrSecurePwd should be passed
INFO: oracle.sysman.top.agent:EM Protocol Switch determined: https
INFO: oracle.sysman.top.agent:Performing free port detection..
INFO: oracle.sysman.top.agent:Trying for host : nsn175-89/10.134.175.89 and port : 3872
INFO: oracle.sysman.top.agent: Trying for host : /127.0.0.1 and port : 3872
INFO: oracle.sysman.top.agent:** Agent Port Check completed successfully.**
INFO: oracle.sysman.top.agent:Agent Port from User Passed Port3872
INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
1. state_dir=/users/ncgf/em_agent/agent_inst
2. agentBaseDir=/users/ncgf/em_agent
3. oraHome=/users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Parent directory of agent instance home:/users/ncgf/em_agent
INFO: oracle.sysman.top.agent:AgentConfiguration:perform:AgentPortHandler for /users/ncgf/em_agent/core/12.1.0.3.0 and hosts=nsn175-89.us.oracle.com returned Port to Use=3872
INFO: oracle.sysman.top.agent:Instantiating emctl.template file #DEFAULT_EMSTATE# with /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Writing the following contents into /users/ncgf/em_agent/core/12.1.0.3.0/install/oragchomelist
INFO: oracle.sysman.top.agent:/users/ncgf/em_agent/core/12.1.0.3.0:/users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
INFO: oracle.sysman.top.agent:Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:AgentConfiguration: Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:Executing the command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com
INFO: oracle.sysman.top.agent:Creating shared install...
INFO: oracle.sysman.top.agent:Source location: /users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Destination (shared install) : /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Secure Mode: No
INFO: oracle.sysman.top.agent:DeployMode : agent
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Creating directories...
INFO: oracle.sysman.top.agent:Creating private.properties...
INFO: oracle.sysman.top.agent:Creating blackouts.xml...
INFO: oracle.sysman.top.agent:Creating targets.xml...
INFO: oracle.sysman.top.agent:Creating emctl control program...
INFO: oracle.sysman.top.agent:Creating emtgtctl control program...
INFO: oracle.sysman.top.agent:Agent will not be secured.
INFO: oracle.sysman.top.agent:Secure REPOSITORY_URL found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Secure emdWalletSrcUrl found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is missing from /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties. Updating it...
INFO: oracle.sysman.top.agent:An agentTZregion of 'US/Pacific' is installed in /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties.
INFO: oracle.sysman.top.agent:The command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com completed with status=0
SEVERE: oracle.sysman.top.agent:Securing of agent step will be skipped because of the following reasons:
1. Agent Registration Password was not passed.
2. b_secureAgent was passed as false
3. The flag -forceConfigure was assed from agentDeploy.sh
INFO: oracle.sysman.top.agent:Plugin File:/users/ncgf/em_agent/plugins.txt
INFO: oracle.sysman.top.agent:Plugin Homes found.
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/core/12.1.0.3.0/perl/bin/perl /users/ncgf/em_agent/core/12.1.0.3.0/bin/AgentPluginDeploy.pl -oracleHome /users/ncgf/em_agent/core/12.1.0.3.0 -agentDir /users/ncgf/em_agent -pluginIdsInfoFile /users/ncgf/em_agent/plugins.txt -action configure -emStateDir /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:The Agent emStateDir location passed is /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent: The log file is /users/ncgf/em_agent/agent_inst/install/logs/agentplugindeploy_2013_10_16_15_08_11.log
INFO: oracle.sysman.top.agent: The temp file created to check R/W permissions in Oraclehome: /users/ncgf/em_agent/core/12.1.0.3.0 is /users/ncgf/em_agent/core/12.1.0.3.0/rwFile
INFO: oracle.sysman.top.agent:Plugin command completed with status=0
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/agent_inst/bin/emctl listplugins agent -type all
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
SEVERE: oracle.sysman.top.agent:ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log /users/ncgf/em_agent/agent_inst/install/logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: done waiting for Action from 15:08:10.272
Thank you for your help AkankshaSheoranKaler. I have executed the following command based on your request. If there is any issue, please let me know. Thanks!
"Can you run this command to make sure that the agents bits were downloaded correctly : oms home /bin /emcli verify_updates
Share the output of the command. I am suspecting this is a know issue (Bug 17300008) but i will wait for your output. Also if you can open an SR with oracle support to track this issue and its resolution. "
[ncgf@nsn175-105 bin]$ ./emcli setup -url=https://nsn175-105.us.oracle.com:7803/em -u sername=SYSMAN
Oracle Enterprise Manager 12c 3.
Copyright (c) 1996, 2013 Oracle Corporation and/or its affiliates. All rights reserve d.
The configuration directory "/users/ncgf" may not be local. See the "dir" option in t he help for the setup command.
Do you want to continue using this directory? [yes/no] yes
Enter password
Emcli setup successful
[ncgf@nsn175-105 bin]$ ./emcli verify_updates
Verifying updates. Starting validation...
Type : Plug-in
Description: Demo Hostsample Test Plugin
Attributes
Version: 1201000100
Revision: 0
OS Platform: Generic Platform
Plug-in Name: Demo Host Sample Plugin
Archives are missing from the Software Library. Unable to determine the URL for downloading the update. The update might not have come from Oracle Enterprise Manager Store.
For each update with missing archives, emcli import_update can be used with a -force option to re-upload the archives to the Software Library.Hello AkankshaSheoranKaler
We have done the following, but we aren't able to resolve this issue. Thank you for your help!
lf
“This happen if the software library is not accessible, readable or unmounted (if it is in shared file system).”
On Enterprise Manager server [nsn175-105], we did the following:
1. we modified /etc/exports to include this line: /export *(rw,no_root_squash,sync)
we start nfs service by executing command “service nfs start”.
On Management Agent server (nsn175-89), we verified that we are able to mount /export directory of EM server.
On Management Agent server, we started firefox browser and were able to run successfully https://nsn175-105.us.oracle.com:4904/empbs/genwallet
After making this change, we ran agent deployment again. We encountered the same error as shown above.
“You can fix the software library or you can download the agent bits in offline mode.”
For fixing the software library, select Setup->Provision and Patching->Offline Patching, then select Offline Patching radio button, download: https://updates.oracle.com/download/em_catalog.zip. Next upload this zip file.
“Try downloading the bits again”
We are not sure what agent bits are. Would you please explain this and provide procedure how we can download this?
(Here I have attempted to fix the software library, but I am new to Enterprise Manager and not sure how to interpret this). -
SCOM 2012 R2 agent upgrade fails crippling agents
Running into a large amount of SCOM agents that are failing the upgrade from 2012 SP1 to R2 and would appreciate any feedback from my SCOM community colleagues. Warning this issue is not for the faint of heart.
Plan:
I am in the process of upgrading 1900 manually installed SCOM 2012 SP1 agents to R2. I am using SCCM to deliver the upgrade using the standard sanctioned upgrade parameters.
Momagent.msi /qn /l*v %SystemDrive%\SCOM2012AgentUpgrade.log AcceptEndUserLicenseAgreement=1
Problem:
I have run into a problem where on a larger group of systems, 165 servers, where the upgrade fails and leaves the agent in a crippled state. At this point the agent cannot be removed cleanly via add remove, nor can a straight install of the agent
be done. What is required is a manual removal of registry keys and then a clean install of the agent can be performed to remediate. This is no problem and I am able to do this. (Note: all other methods of agent removal did not work ie:
Cleanmom.exe utility or add remove)
Task:
Seeing that we need to do agent upgrades in the future it would be great to know why this happened so we can plan for this in the future.
Notes:
Seems like a random sample of servers (2003/2008) with different applications running on them so that doesn't help in narrowing things down.
Looking at the MSI log, I see a common issue among systems that had this problem.
******* Product: {387306D9-78CE-4E0E-B952-28A50CC8B3EE}
******* Action:
******* CommandLine: **********
MSI (s) (7C:7C) [08:08:43:668]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (7C:7C) [08:08:43:668]: User policy value 'DisableMedia' is 0
MSI (s) (7C:7C) [08:08:43:668]: Machine policy value 'AllowLockdownMedia' is 0
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Media enabled only if package is safe.
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Looking for sourcelist for product {387306D9-78CE-4E0E-B952-28A50CC8B3EE}
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Adding {387306D9-78CE-4E0E-B952-28A50CC8B3EE}; to potential sourcelist list (pcode;disk;relpath).
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Now checking product {387306D9-78CE-4E0E-B952-28A50CC8B3EE}
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Media is enabled for product.
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Trying source C:\WINDOWS\SysWOW64\CCM\Cache\LFG00446.1.System\i386\.
MSI (s) (7C:7C) [08:08:43:668]: Note: 1: 2203 2: C:\WINDOWS\SysWOW64\CCM\Cache\LFG00446.1.System\i386\MOMAgent.msi 3: -2147287037
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
MSI (s) (7C:7C) [08:08:43:668]: Note: 1: 1706 2: -2147483647 3: MOMAgent.msi
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Processing net source list.
MSI (s) (7C:7C) [08:08:43:668]: Note: 1: 1706 2: -2147483647 3: MOMAgent.msi
MSI (s) (7C:7C) [08:08:43:668]: SOURCEMGMT: Processing media source list.
MSI (s) (7C:7C) [08:08:44:744]: Note: 1: 2203 2: 3: -2147287037
MSI (s) (7C:7C) [08:08:44:744]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
MSI (s) (7C:7C) [08:08:44:744]: Note: 1: 1706 2: -2147483647 3: MOMAgent.msi
MSI (s) (7C:7C) [08:08:44:744]: SOURCEMGMT: Processing URL source list.
MSI (s) (7C:7C) [08:08:44:744]: Note: 1: 1402 2: UNKNOWN\URL 3: 2
MSI (s) (7C:7C) [08:08:44:744]: Note: 1: 1706 2: -2147483647 3: MOMAgent.msi
MSI (s) (7C:7C) [08:08:44:744]: Note: 1: 1706 2: 3: MOMAgent.msi
MSI (s) (7C:7C) [08:08:44:744]: SOURCEMGMT: Failed to resolve source
MSI (s) (7C:8C) [08:08:44:744]: Note: 1: 1714 2: Microsoft Monitoring Agent 3: 1612
CustomAction returned actual error code 1612 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (7C:8C) [08:08:44:744]: Product: Microsoft Monitoring Agent -- Error 1714.The older version of Microsoft Monitoring Agent cannot be removed. Contact your technical support group. System Error 1612.
Error 1714.The older version of Microsoft Monitoring Agent cannot be removed. Contact your technical support group. System Error 1612.
Action ended 8:08:44: RemoveExistingProducts. Return value 3.
Action ended 8:08:44: INSTALL. Return value 3.
Ok so the obvious is that the installer is looking for original source installation files and not able to find them. What is surprising to me however is that the product references a 32 bit scom agent guid
387306D9-78CE-4E0E-B952-28A50CC8B3EE, however this is a 64 bit machine. Our build process dictates that a 64 bit machine only receive a 64 bit SCOM agent.
Doing a search on this product guid I realized I skipped some other references at the top of the MSI log that might offer some more explanation...
MSI (s) (7C:8C) [08:08:11:896]: PROPERTY CHANGE: Adding OM_OM12_SP1_AGENT_FOUND property. Its value is '{8B21425D-02F3-4B80-88CE-8F79B320D330}'.
MSI (s) (7C:8C) [08:08:11:896]: PROPERTY CHANGE: Modifying OM_OM12_SP1_AGENT_FOUND property. Its current value is '{8B21425D-02F3-4B80-88CE-8F79B320D330}'. Its new value: '{8B21425D-02F3-4B80-88CE-8F79B320D330};{387306D9-78CE-4E0E-B952-28A50CC8B3EE}'.
MSI (s) (7C:8C) [08:08:11:896]: Skipping action: _StopCoreServices.80B659D9_F758_4E7D_B4FA_E53FC737DCC9 (condition is false)
MSI (s) (7C:8C) [08:08:11:896]: Skipping action: _KillOMProcesses.80B659D9_F758_4E7D_B4FA_E53FC737DCC9 (condition is false)
MSI (s) (7C:8C) [08:08:11:896]: Doing action: _Set_OM_AGENT_FOUND
Action ended 8:08:11: FindRelatedProducts. Return value 1.
MSI (s) (7C:8C) [08:08:11:896]: PROPERTY CHANGE: Adding OM_AGENT_FOUND property. Its value is '{8B21425D-02F3-4B80-88CE-8F79B320D330};{387306D9-78CE-4E0E-B952-28A50CC8B3EE}'.
Action start 8:08:11: _Set_OM_AGENT_FOUND.
MSI (s) (7C:8C) [08:08:11:896]: Doing action: _Set_MOMV3_AGENT_FOUND
Action ended 8:08:11: _Set_OM_AGENT_FOUND. Return value 1.
MSI (s) (7C:8C) [08:08:11:896]: PROPERTY CHANGE: Adding MOMV3_AGENT_FOUND property. Its value is '{8B21425D-02F3-4B80-88CE-8F79B320D330};{387306D9-78CE-4E0E-B952-28A50CC8B3EE}'.
Action start 8:08:11: _Set_MOMV3_AGENT_FOUND.
Well that is interesting, seems to me that in the first line the MSI installer reads the OM_OM12_SP1_AGENT_FOUND property and identifies this with a 64 bit agent guid (8B21425D-02F3-4B80-88CE-8F79B320D330), but then appends
the 32 bit guid at the end (387306D9-78CE-4E0E-B952-28A50CC8B3EE). This is the point of my confusion and my suspicion as the cause of the problem I am having.
Concluding thoughts:
Why does the installer seems to first recognizes a 64 bit agent, but then later changes it's property to include a 32 bit agent guid. Could a 32 bit agent have got on this 64 bit server based on the details of this log? Would this
cause my agents to fail the upgrade? I think so, but looking to bounce this over to another fellow SCOM colleague who may have wrestled with this before.
Thanks in advance if you took the time to read this and think about it. Extra points if you have any extra thoughts!
KeithHi,
Have you used Requirement to limit the platform when you deploy application with SCCM.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Today I tried to configure JAVA APM on a CentOS 6.4 server with tomcat6 installed through the normal RPM package. Adding this server to SCOM was no problem and it shows itself as a 'Deep Monitored Configuration'. The last part of enabling
JAVA APM fails. I have followed the following process:
1. Imported the JAVA APM MP's
2. Extracted the JAVA APM Files
3. Copied those files to my CentOS server
4. Added the JAVA_OPTS to my tomcat configuration file
5. Restarted Tomcat
When I look for the log file which needs to be created through the installation of the APM agent it cannot be find. When I look into my Catalina.out file I see the following errors:
Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
com.microsoft.ManagementServices.APMAgent.Exception.ApmException: SEAgent.config.xml does not have a valid event sender configured
at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
... 15 more
Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
... 15 more
Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
... 19 more
Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
Caused by: java.lang.InstantiationException: Monitor initialization failed: SEAgent.config.xml does not have a valid event sender configured
at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
... 12 more
Does anyone have seen this error before? Can someone help me with this one?
Thnx,I'm running tomcat on a CentOS release 6.4 (Final) server. I installed Tomcat 6 through an RPM from the CentOS sources. I have installed Apache Tomcat/6.0.24 wit JVM version 1.7.0_09-icedtea-mockbuild_2013_01_16_18_52-b00, the JVM Vendor is Oracle Corporation.
My tomcat configuration needs to be done in '/etc/tomcat6/tomcat6.conf'
I installed the APM Agent in the path '/opt/apm/' with the rights 40755 (root/root). The files have the following rights:
-rw-rw-r-- 1 root tomcat 32046 Mar 3 15:38 apm_facade.jar
-rw-rw-r-- 1 root tomcat 244819 Mar 3 15:38 apm_monitor.jar
-rw-rw-r-- 1 root tomcat 38110 Mar 3 15:38 apm_producers.jar
-rw-rw-r-- 1 root tomcat 207006 Mar 3 15:38 asm-all-3.3.1.jar
-rw-rw-r-- 1 root tomcat 4157 Mar 3 15:38 ASM_Third_Party_Notices.txt
-rw-rw-r-- 1 root tomcat 241368 Mar 3 15:38 DispatcherStub.dll
-rw-rw-r-- 1 root tomcat 36880 Mar 3 15:38 pmonitor.config.xml
-rw-rw-r-- 1 root tomcat 2625 Mar 3 15:38 SEAgent.config.xml
-rw-rw-r-- 1 root tomcat 830 Mar 5 15:19 Starter.properties
The above rights are equal to the /etc/tomcat6 directory with the tomcat configuration files.
In the tomcat6.conf I have added the following entries:
#Microsoft SCOM APM
JAVA_OPTS="${JAVA_OPTS} -Djava.library.path=/opt/apm"
JAVA_OPTS="${JAVA_OPTS} -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar"
When I look into the running tomcat process I see the following:
tomcat 17401 1 0 Mar05 ? 00:00:39 /usr/lib/jvm/jre/bin/java -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar
-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
-classpath :/usr/share/tomcat6/bin/bootstrap.jar:/usr/share/tomcat6/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat6/temp
-Djava.util.logging.config.file=/usr/share/tomcat6/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
My Starter.Properties looks like this:
# Jars to load by inner classloader.
# Use semicolons to separate the JAR entries
ClassPath=apm_monitor.jar;asm-all-3.3.1.jar;apm_producers.jar
# Path to pmonitor.config
MonitorConfigFileName=pmonitor.config.xml
# Path to SEAgent.config
AgentConfigFileName=SEAgent.config.xml
# Log file name
# Example for full-path location:
# LogFileName=c:\\tracelog\\apm-java-agent.log
# Example for relative path (to agent jar files):
# LogFileName=apm-java-agent.log
LogFileName=apm-java-agent.log
# Log level (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST)
# A level of FINER or FINEST may expose Personally identifiable
# information (PII) in the log file. The levels below INFO are
# intended for debugging and diagnostic use only.
LogLevel=FINEST
The 'apm-java-agent.log' is not created on the system. The only logging is done in the catalina.out. When restarting tomcat I see the following entries in te log file:
INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
INFO: Java APM Agent loading succeeded (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger warning
WARNING: Failed registering the COUNTER MBean
Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
Hope this gives your some more background around my problem, I double checked the permissions.. -
Hi,
I am trying to install 12c agent on windows 7 64 bit server by following m.note .
It is failing with Agent Configuration failed, please see below error message.
INFO: length of temp is2
INFO: Return value:C:\/Oracle/12.1.0.3.0_AgentCore_233/core
INFO: ** Agent Port Check completed successfully.**
INFO: ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log C:\Oracle\12.1.0.3.0_AgentCore_233\core\install\logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
INFO:
INFO: perform - mode finished for action: configure
INFO:
INFO: You can see the log file: C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\cfgtoollogs\oui\configActions2014-10-03_08-48-15-AM.log
INFO:
INFO: C:\Oracle\12.1.0.3.0_AgentCore_233>exit /b 3
INFO: Plugin homes:
INFO: Plugin homes:
INFO: C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\oui\bin\runConfig.bat ORACLE_HOME=C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0 RESPONSE_FILE=C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true completed with status=3
SEVERE: ERROR: Agent Configuration Failed
Thanks,Looks like , J2EE is having a problem connecting to the DB.Pls. chk. the following
-If you have configured the loop-back adapter , if installing on a local system & updated the /etc/host file with your ip address and host name.
or if the system is part of some n/w group and has ip address assigned ?
-Jdk 1.4 version is installed in your system
-Enough free Disk space available in the system
-How much RAM your system has which windows version you are using ?
-Is the DB is coming up properly ? its error related to this. check the logs.
-If the ports used by sap install / run used by other services running on the system ? & user have admin. privileges on the system .
Pls. update with your findings on above same , for the step next ...
Thanks ,
Uppal -
Install agent on solaris 10 using agent deploy application?
Hi all,
I have installed 10g grid control on solaris 10 with new repository database on same machine.
The OMS, and agent is running on grid host.
Now I want to add other hosts (targets) into grid. For this, I have to install agent on target hosts. I am using agent deploy application method for installation of agent.
It is giving error
Istall --> Failed
"Pre-Install Script is Not Executed, Install is Failed, Run root.sh is Not Executed, Post-Install Script is Not Executed, Collection of Logs is Success"
version for agent and OMS is 10.2.0.1 and for repository database is 10.1.04
any idea, how to troubleshoot this?Did you get answer? I had same problem on agent 10.2.0.4 deployment on linux 2.6.9-55.ELsmp.
Maybe you are looking for
-
Cannot Sync All Songs In My iTunes Library to My iPhone 6 and iPad Air 2
I have over 10,000 songs in my iTunes library--about 7,000 are songs I ripped from CDs and about 3000 are songs purchased through the iTunes store. I am able to sync all the songs to my iPod Classic without any problem. However, only about 7,000 so
-
Unable to download new apps on iPad, iPhone, and in iTunes
I download LOTS of apps and they are all still working fine. Last weekend I tried to download a few new apps and they wouldn't download. (This also happens with updates.) On my iPad they would load 3/4 of the way and start over...and over again. On m
-
Trackpad will not swipe or scroll
Today is the first day my trackpad won't swipe or scroll. The cursor will move and I can click, but it won't perform any other options. I have changed the batteries, shutdown the computer, when I look at preferences and trackpad, it says no tr
-
Time Machine question--please help!
I bought an external hard drive. Western Digital MY BOOK. I got it set up appropriately & formatted correctly. The thing I can't figure out is how I mirror (copy) what I have on my IMAC to the external hard drive. I basically want to copy everything
-
AIP-SSM 40 Inline vs Promiscuous
Have been running new sensor for about a week now. I implemented in promiscuous mode as the documentation seemed to indicate that inline will tend to bottleneck internet traffic. My questions are : Are you running in inline mode and what can I expec