OEM agent deployment : Status=255

Hi,
I am deploying OEM Agent 10.2.0.2.0 on Linux (32-bit). As first installation was failed because of permission issue, I tried to reinstall it. I ended with this error :
Initializing Java Virtual Machine from /tmp/OraInstall2007-02-26_03-45-43PM/jre/1.4.2/bin/java. Please wait...
Completed with Status=255
I tried to delete old installed folder but still same.
Can anyone help in resolving this?
Thanks in adv.

I am following the orale documentation, the link is following:
http://download-west.oracle.com/docs/cd/B14099_19/manage.1012/b16228/deploying_the_management_agent.htm#CIHEJIJC
I installed agents on 3 other Linux (64 bit) successfully. But this time it is giving error. This time I have applied OEM plug-in where OEM is installed to monitor Oracle Application server and after that tried to deploy an agent on host. First time the link, setup was successful but at the end it suggested to change the permission os an .xml file. after doing that I end up with the error. It seems some cleanup issue. Pl. give your suggestions...
Thanks

Similar Messages

  • OEM Agent Deploy installation fails

    Hi,
    I'm having a problem doing a new full agent push install 10.0.2.0 to a Linux box from a windows OMS.
    I'm really after any suggestions of what to investigate next to resolve this problem.
    Last successful message appears to be:
    INFO: File to process: D:\OracleHomes\oms10g\\sysman\agent_download\10.2.0.2.0\agentdeployroot.sh
    The file does exist in the specified location.
    The appserver returns
    Application Error
    Message: Internal Application Error. Click Home to go to application home page
    The EMAgentPush logfile contains
    INFO: UIBEAN is [UserInputsBean: fixupUserInputBean: null sourceShiphomeChoice: 1 sourceShiphomeLocation: null remoteHostNamesStr: Centos5 clusterInstallChoice: null clusterNodesStr: null clusterName:  oneNode: Centos5 isPathShared: false installbaseDir: /u01/app/oracle/agent username: oracle passwd: *** secure value not to be logged *** confirmPassword: *** secure value not to be logged *** omsPassword: *** secure value not to be logged *** confirmOmsPassword: *** secure value not to be logged *** additionalParams: null preInstallScript:  postInstallScript:  portValue:  version: 10.2.0.2.0 platform: 46 platformDirName: linux nfsAgentLoc: null stateDir: null oldAgentHome: null timeStamp: null action: null isPasswdEncrypted: null params:  preInstSudo: null postInstSudo: null runRootSh: null isDefSH: true isClusterInstall: false remoteHosts: [[Node: name: Centos5 prereqStatus: null prereqMsg: null installStatus: null installMsg: null startStopStatus: null startStopMsg: null prereqStatusMap: null]] origHostsList: [[Node: name: Centos5 prereqStatus: null prereqMsg: null installStatus: null installMsg: null startStopStatus: null startStopMsg: null prereqStatusMap: null]] restHosts: [] oneNodeList: [[Node: name: Centos5 prereqStatus: null prereqMsg: null installStatus: null installMsg: null startStopStatus: null startStopMsg: null prereqStatusMap: null]] clusterNodes: [] passedNodes: [] failedNodes: [] timezone: platformDirName: linuxntTempDir: C:/tmpunixTempDir: /tmp]
    INFO: BaseServiceHandler.process Action code: 48
    INFO: File to process: D:\OracleHomes\oms10g\\sysman\agent_download\10.2.0.2.0\linux\agentDownload.linux
    INFO: File to process: D:\OracleHomes\oms10g\\sysman\agent_download\10.2.0.2.0\agentdeployroot.sh
    INFO: Exception : [Message:] null [Exception:] java.lang.NullPointerException
         at oracle.sysman.prov.agentpush.services.FormatConversion.executeCmd(FormatConversion.java:300)
         at oracle.sysman.prov.agentpush.services.FormatConversion.doConversion(FormatConversion.java:112)
         at oracle.sysman.prov.agentpush.services.GenericInstaller.<init>(GenericInstaller.java:179)
         at oracle.sysman.prov.agentpush.services.prereq.PrereqCCRServicehandler.processRequest(PrereqCCRServicehandler.java:140)
         at oracle.sysman.prov.agentpush.services.BaseServiceHandler.process(BaseServiceHandler.java:172)
         at oracle.sysman.prov.agentpush.services.BaseServiceHandler.doPost(BaseServiceHandler.java:110)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Regards,
    Peter

    I have now - the problem I described above occured due to SSH not being installed properly via cygwin on windows.
    So thank you very much DBMS Direct for your suggestion.

  • OEM Agent mass deployment issue

    I installed Oracle OEM Grid 11g on Red Hat Linux 5.2. And I want to monitor all my databases which is in HP-UX server. So I was trying to install Agent using Agent deployment wizard.
    - I downloaded Agent using Grid control its stored under "<OMS_HOME>/sysman/agent_download/11.1.0.1.0/" (default location), but in the document it says the default location would be "<OMS_HOME>/sysman/agent_download/11.1.0.1.0/<platform>", but i don't see the version here.
    - when i try to install the agent, in platform dropdown menu only Linux is there, I am not seeing HP-UX.
    can some one help me to understnad what i am missing.
    - Mano

    Hi,
    Plz go to edelivery.oracle.com and select product oracle enterprize manager and select product hp unix and you will find oem download over there.
    Hope this might help you.
    Thanks,
    Vishal Joshi
    Oracle Apps DBA

  • 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).

  • When starting oem Agent ir error out with java.lang.NoClassDefFoundError: o

    Hi ,
    Facing below error when starting oem agent with comand

    ./emctl start oms
    Oracle Enterprise Manager 10g Release 4 Grid Control
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    opmnctl: opmn is already running
    93938978
    ADMN-202045
    An exception occurred while constructing the OracleAS Repository API, a DCM dependent component.
    Resolution:
    This exception may be occurring because the ias.properties file is misconfigured.
    Check the exception thrown by the OracleAS Repository API for any additional resolution information.
    Base Exception:
    java.lang.NoClassDefFoundError
    oracle/security/jazn/util/JAZNSecurityManager
    java.lang.NoClassDefFoundError: oracle/security/jazn/util/JAZNSecurityManager
    at oracle.ias.sysmgmt.persistence.SeedDbAccess.<init>(Unknown Source)
    at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDbAccess(Unknown Source)
    at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDbAccess(Unknown Source)
    at oracle.ias.sysmgmt.clustermanagement.ComponentTypeFactory.init(Unknown Source)
    at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
    at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.checkInit(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    Starting HTTP Server ...
    Starting Oracle Management Server ...
    Checking Oracle Management Server Status ...
    Oracle Management Server is Down.

  • SCOM 2012 R2 Agent Deployment - Uninstall Old and Install New

    By chance anyone come up with a scripted method for removing an existing SCOM 2012 SP1 agent and installing a new 2012 R2 agent? While I've come across a few scripts I'm trying to kill a few birds with one stone. This is a cross-domain attempt where the
    SCOM servers sit in one domain and the member servers are scattered across multiple domains. Member servers range from Windows Server 2003, 2008, and 2012. In most cases the servers have the 2012 SP1 agent installed and in some cases there are multiple management
    groups from previous SCOM standups. In addition there's a separate DEV SCOM 2012 R2 environment to manage DEV/QA servers. Active Directory Integration is configured and I have the necessary security groups created. There is a group policy created which is
    filtered to just that security group. So the plan is to simply drop the servers into the correct group and have the agent installed via group policy start up script. ADI should have DEV servers appear in DEV SCOM and PROD in PROD SCOM.
    Although there are ways to facilitate agent deployment via the console I need to perform a staged migration against a ton of server so as to not impact the existing production environment. So I'd rather do this remotely to pre-selected servers. This process
    should involve removing the existing agent, installing the new one, and if possible removing any existing management groups. So far I've come up with the following:
    Uninstall SCOM Agent:
    %WinDir%\System32\msiexec.exe /x <path>\MOMAgent.msi /qb
    Install SCOM Agent:
    msiexec.exe /i \\path\Directory\MOMAgent.msi /qn /l*v \logs\MOMAgent_install.log USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=<MG_Name> MANAGEMENT_SERVER_DNS=<MSDNSName> ACTIONS_USE_COMPUTER_ACCOUNT=0 ACTIONSUSER=<AccountUser> ACTIONSDOMAIN=<AccountDomain>
    ACTIONSPASSWORD=<AccountPassword>
    Remove Management Group via Script
    http://gallery.technet.microsoft.com/Remove-a-Management-group-336c849a/view/Discussions#content
    I'm guessing this wheel has already been invented or maybe there's a better way. So I'm open to ideas or suggestions.
    Any responses appreciated.

    Wow! 4 days and no responses, not good Microsoft SCOM Community. So here's a status on this issue.
    As stated I have Active Directory Integration configured which means:
    I see the OperationsManager container in AD: dev_scom
    I see the HealthService SCP and separate OU's for each of my management servers.
    I have an ADI security group containing my management servers and scom action account.
    I have an Agent security group which will contain servers the scom agent will be deployed via group policy.
    I also have an AD LDAP query set to target the SCOM agent group.
    (&(objectCategory=group)(name=DSCOM_ADI))
    I finally get the script to install via the following steps:
    Reference:
    http://technet.microsoft.com/en-us/library/cc754995.aspx
    http://technet.microsoft.com/en-us/library/cc770556.aspx
    http://blog.coretech.dk/msk/install-a-scom-2012-agent-silent/
    1. Launch Notepad ++ and enter the following:
    msiexec /i
    \\server.yourdomain.com\opsmgragent\%Processor_Architecture%\MOMAgent.msi USE_SETTINGS_FROM_AD=1 MANAGEMENT_GROUP=DEV_SCOM MANAGEMENT_SERVER_DNS=YourSCOMsrvr1.yourdomain.com ACTIONS_USE_COMPUTER_ACCOUNT=0 USE_MANUALLY_SPECIFIED_SETTINGS=0 ACTIONSUSER=svc_dscom
    ACTIONSDOMAIN=yourdomain ACTIONSPASSWORD=YourPassword! AcceptEndUserLicenseAgreement=1 /qn /l*v c:\scom2012r2mmainstall.log
    2. Save the script to a name of your choice. For me it's installdopsmgragent.cmd. Watch the extensions as you may end up saving it as installdopsmgragent.cmd.txt.
    Note: Make note of this steps in the reference articles listed above:
    "In the Add a Script dialog box, do the following:
    In the Script Name box, type the path to the script, or click Browse to search for the script file in the Netlogon shared folder on the domain controller."
    It's been a while since having to use a startup script so it took me a minute to figure this out. "getting too old 'fer this..."
    3. Copy the script to the Netlogon folder which is located in the following directory on my Windows 2012 server: E:\SYSVOL\sysvol\yourdomain.com\scripts
    4. Launch the group policy management console, create a new policy, edit it, and navigate to the following location:
    Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown)
    5. Double-click Startup to open the Startup Properties window.
    6. Click Add and browse to the location of the script which you copied to the Netlogon share.
    7. Click OK to close the Startup Properties window.
    8. Close the Group Policy Management Editor.
    9. Link the policy to an OU containing the servers.
    10. Add the SCOM Agent group to the Security Filtering area of the group policy. I also remove Authenticated Users.
    Note: make sure you have a few test servers in your Agent security group.
    11. Drop to a command line and run gpupdate /force. You can also use gpupdate /force /sync but you will have to reboot the box you're running this from.
    12. Log into one of the servers you have slated to deploy the agent to, drop to a command line, and run the same gpupdate command.
    13. Follow this with a gpresult /r command to ensure that you see the policy applied in the Computer Settings area.
    14. Reboot the server and you should see the startup script run.
    15. Log into the server and launch the Control Panel.
    16. If all went well you'll see the "Microsoft Monitoring Agent" icon.
    17. Launch Event Viewer, navigate to the Operations Manager events node located under Applications and Services Logs and validate the logs.
    17. If all didn't go well check the error log located, for me, on the C:\scom2012r2mmainstall.log
    My issue: I don't see the management info in the Agent properties.
    I installed this last night and waited until the next day still no changes. Event logs show the following:
    Event ID: 2011 The Health Service did not find any policy in Active Directory
    Event ID: 2003 No management groups were started.  This may either be because no management groups are currently configured or a configured management group failed to start.  The Health Service will wait for policy from Active Directory configuring
    a management group to run.
    I see the HealthService is Running in Task Manager on this server and of course I don't see anything listed in the Management Groups registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\
    I don't want to manually add the management group info. Checking as I may have missed something in one of the switches. 
    Any responses appreciated.

  • 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 Wagman

    Hi 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

  • Multiple OEM agents installed

    Good morning all,
    Our test database is a single node db in Sun Microsystems Inc. (SunOS 5.10). The database version is 10.2.0.4. We have an oem agent (10.2.0.4) installed in this db server communicate with a 10g grid control. Everything is working fine. Now we are trying to migrate this db server under 11g grid control. So what we did is installing new version of agent (10.2.0.5) into a different directory and configure this agent to talk to 11g grid control. So basically we have two agents installed in this db server. One is 10.2.0.4 agent which is talking to 10g grid control and another agent 10.2.0.5 which is talking with 11g grid control. Although both agents are running but we experience some issues: First, we noticed that all listeners in the server are in “Status Pending” in 11g grid control but actually all listeners are up. Second, a notification rule has been setup in 11g grid control to monitor one db instance and I purposely set the threshold very low so I can receive the alert email. But the all the alert emails actually comes from 10g grid instead of 11g where I set threshold very low. I am not sure how agent works internally so I am not sure if multiple agents will ever be work in one db server. Does anybody have any thoughts on this? Any insights to share?
    Greatly appreciate your help!
    Shirley

    Hi,
    You not there are most of the things about a target which are stored locally on the target rather than on the GC itself. For example, if you set t matrix value for a database target, it is stored on the database itself whether you use 10g or 11g GC . Here in your case, i think your both GC are fighting together to monitor a single target which is configured on both and i think it will not be supported (you can confirm from MOS). So my advise will be to configure your targets with only one GC (either 10g or 11g)
    Salman

  • OEM Agent 10g

    HI,
    Can any one help me to understand the use of OEM agent 10g? Is it different from OEM (dbconsole in single instance). Please provide some document link.
    Thanks,
    Gulshan

    Hi;
    That means while use Oracle Management console for monitoring all of our databases from centralized OEM console then on each database we have to install >OEM agent. I will check the links and will be back if have more query.Correct
    Now the usage of OEM agent is clear to me. Could you please let me know that how OEM agent communicate with OMS and is the repository stores locally of on the server where OMS installed.
    If possible, then please provide me the good link.Please see below link
    Master Note for 10g Grid Control Agent Process Control (Start, Stop & Status) & Configuration [ID 1082009.1]
    Regard
    Helios

  • OEM displaying False status

    hi,
    We are using OEM10g 10.2.0.2 to monitor Database as well as Application servers.
    Since today morning it displays false status of AS. But, when i check the status from the OPMNCTL console, all the components are Alive.
    After restarting the Agent on the machine, it comes back to normal.
    This is repeately happening in an interval of 20 minutes.
    Can somebody throw some light on this ?

    Seems like maybe your agent might be having troubles communicating with the OMS. It may be worth while to try to reconfigure the agent on that node. In $AGENT_HOME/bin run "agentca -f". See if that helps resolve the problem. I have also noted that the OEM only reports status from the last time the agent has checked in with the OMS, so it may take some time for the OEM console to properly display the status of your system.

  • OEM agent restarts frequently

    Hi,
    I have an OEM agent monitoring RAC database,agent is getting restarted 2-3 times a day.
    Agent:10gR5 with latest PSU
    OMS:10gR5 PSU4
    OS: Solaris 5.10
    Agent log shows below error
    emagent.trc
    2011-08-23 00:13:53,462 Thread-26796 ERROR scheduler: Collection rac_database:dbname:aq_monitoring_alerts has not finished in 721 minutes (allowed: 720).
    Exiting agent.
    2011-08-23 00:13:53,711 Thread-26796 ERROR : Signalled to Exit with status 3. Hung collection
    2011-08-23 00:13:53,748 Thread-1 ERROR main: EMAgent abnormal terminating
    2011-08-23 00:14:10,558 Thread-1 WARN upload: Merging leftover data file named rawdata3.dat
    2011-08-23 00:14:10,687 Thread-1 WARN upload: Merging leftover data file named rawdata4.dat
    2011-08-23 00:14:10,810 Thread-1 WARN upload: Merging leftover data file named rawdata5.dat
    2011-08-23 00:14:10,945 Thread-1 WARN upload: Merging leftover data file named rawdata6.dat
    2011-08-23 00:14:11,136 Thread-1 WARN command: Job Subsystem Timeout set at 600 seconds
    2011-08-23 00:14:11,350 Thread-1 WARN upload: Upload manager has no Failure script: disabled
    emagent.nohup
    (pid=17814): emagent now exiting abnormally - exiting abnormally Consult '.trc' and '.log' files.
    ----- Tue Aug 23 17:04:14 2011::Checking status of EMAgent : 17814 -----
    ----- Tue Aug 23 17:04:24 2011::Checking status of EMAgent : 17814 -----
    ----- Tue Aug 23 17:04:24 2011::EMAgent exited at Tue Aug 23 17:04:24 2011 with return value 3. -----
    ----- Tue Aug 23 17:04:24 2011::EMAgent has requested a restart. Will be restarted. -----
    ----- Tue Aug 23 17:04:25 2011::Restarting EMAgent. -----
    ----- Tue Aug 23 17:04:32 2011::Agent Launched with PID 22499 at time Tue Aug 23 17:04:32 2011 -----
    ----- Tue Aug 23 17:04:32 2011::Execing EMAgent process is taking longer than expected 120 secs. -----
    ----- Tue Aug 23 17:04:32 2011::Time elapsed between Launch of Watchdog process and execing EMAgent is 149662 secs -----
    (pid=22499): starting emagent version 10.2.0.5.0
    (pid=22499): emagent started successfully
    Thanks in advance....

    On June the 8'th last year you had the same issue with a 10.2.0.4 agent. See EM agent restarts with error host_storage has not finished in 721 minutes (
    Did you ever solve that one?
    I think it is best to create a Service Request.
    Eric

  • OEM DB control has no oem agent, right?

    I am new to this 10g OEM things, can I understand that oem agent is installed in each db that will be monitored by GRID control, for individual db, there is DB control that doesn't need agent , right?
    Thanks a lot.

    Hi,
    E:\>set oracle_sid=orcl1
    E:\>emctl start agent
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
    The service name is invalid.
    More help is available by typing NET HELPMSG 2185.
    E:\>net helpmsg 2185
    The service name is invalid.
    EXPLANATION
    You tried to start a service that is not configured on this system.
    ACTION
    Check the spelling of the service name or check the configuration information fo
    r the service using the Services option from Server Manager.
    E:\>net start oracleserviceorcl1
    The OracleServiceORCL1 service is starting...
    The OracleServiceORCL1 service was started successfully.
    E:\>set oracle_sid=orcl1
    E:\>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
    http://alwarid-taj.fakhruddin.local:5501/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleor
    cl1 service is starting........................................
    The OracleDBConsoleorcl1 service was started successfully.
    E:\>emctl status agent
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
    Agent Version     : 10.1.0.2.0
    OMS Version       : 10.1.0.2.0
    Protocol Version  : 10.1.0.2.0
    Agent Home        : C:\oracle\product\10.1.0\Db_1\alwarid-taj.fakhruddin.local_o
    rcl1
    Agent binaries    : C:\oracle\product\10.1.0\Db_1
    Agent Process ID  : 2960
    Agent Process ID  : 2960
    Agent URL         : http://alwarid-taj.fakhruddin.local:1830/emd/main
    Started at        : 2007-01-13 16:48:27
    Started by user   : SYSTEM
    Last Reload       : 2007-01-13 16:48:27
    Last successful upload                       : (none)
    Last attempted upload                        : (none)
    Total Megabytes of XML files uploaded so far :     0.00
    Number of XML files pending upload           :      160
    Size of XML files pending upload(MB)         :     3.23
    Available disk space on upload filesystem    :    59.73%
    Agent is Running and Ready
    E:\>regards
    Taj

  • 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

  • Update:: New OTN Mass Agent Deployment page

    Hello Everyone,
    We have been seeing lot of customers downloading wrong Agent software from the OTN for the respective platforms and then in turn the installation fails.
    So we have revamped the OTN mass agent deployment page and came up with new page(http://www.oracle.com/wocportal/page/wocprod/ver-DRAFT/ocom/technology/software/products/oem/htdocs/agent/test-otn_0.html), which is Live now.
    The new page classifies the Agent software based on the platforms names (32 / 64 bit) and further classifies based on the Agent releases.
    This will leave us with no gap of downloading the wrong agent software for a 32 or 64 bit platform.
    Thanks and Regards
    Akanksha

    I don't know if it is possible to uninstall the agent from the GUI. We don't have the provisioning pack. I guess it may be possible to create a job that would run the installer in silent mode to do an un-install. We have just done them interactively on the target server - going under agent_home/oui/bin & running the installer. Then if there is anything left over from the agent_home, after the installer updates the central inventory file.
    If run the install interactively on the target server, you should get a meaningful error message. I would guess that it sees that the agent already exists from the inventory. You could try launching the installer from the oracle server software home & then remove the "orphaned" agent home.
    Thanks,
    Brian

  • Mass Agent Deployment

    Can I download and install Mass Agent Deployment 10.2.0.4 on my target host instead of install agent 10.2.0.2 then upgrade agent to 10.2.0.4?
    any diffrence?
    Thanks.

    if the agent is available for your platform for mass agent deployment (http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html) then this is possible.
    Best regards,
    Martin
    www.ora-solutions.net

Maybe you are looking for

  • Regarding content conversion parameter

    Hi I am doing content conversion in sender file adapter.I want to remove " " in target file. I used  row.enclosureSignEsc "" but its not working. can any one tell me how to use enclosure sign parameter. Source Flat file looks like: "A00",417,"SC9",20

  • Plugging camera in G5 via firewire showing up in Motion or FCP

    I have a camera that I would like to plug into Motion or Final Cut Pro via the Firewire plug in my G5. Is it possible to have this live feed show up in Motion or FCP? I would also like to know if I could put a Green background in back of a subject as

  • Downloading ppt and xls files

    I am a new mac user and absolutely LOVE it. However, as I am learning i am having a problem with downloads sent to me in emails. I have a Mac OS X Version 10.5.6. The files will download and I can even go to my Finder and see the file, but I am not a

  • Whats my FTP username and password?

    Hi, Im using Azure trial I found my ftp link but I dont know my ftp user name and password I couldn't find it anywehere

  • I have the plexiglass speakers from my old iMac can i use them on other devices?

    I have a pair of plexiglass speakers from my redundent iMac, having cleaned them up I would wish to reuse them, 2.5 jack -3.5mm jack not easy to find but not impossable however are there any other problems?