OracleAS Install Error When Configuring AS Console Agent..._386308.1

rongshiyuan發表於2014-08-08

OracleAS Install Error When Configuring AS Console Agent - "oracle.sysman.emcp.agent.AgentPlugIn has failed" (Doc ID 386308.1)


In this Document
  Symptoms
  Cause
  Solution


Applies to:

Oracle Fusion Middleware - Version: 10.1.2.0.2 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.
Oracle Application Server 10g Enterprise Edition - Version: 10.1.2.0.2
Checked for relevance on 22-Feb-2011

Symptoms

  • During an OracleAS 10g Rel 2 install the AS Console Agent Configuration Assistants fails with the following errors in the InstallActions log file:
Command = oracle.sysman.emcp.agent.AgentPlugIn has failed 
Exception : java.lang.Exception: Failed to allocate port = Failed to allocate free Enterprise 
Manager Central Console Port from Default Range 1830 to 1849. Please free a port from the Range 
and re-try the installation. 
  • The following errors are also found in the oraInstall.err:
java.lang.NullPointerException at oracle.sysman.oii.oiin.OiinNetOps.addNICInfo(OiinNetOps.java:143) 
at oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:108) 
at oracle.sysman.oii.oiin.OiinNetOps.(OiinNetOps.java:75) 
at oracle.sysman.oii.oiin.OiinNetOps.getNetOps(OiinNetOps.java:89) 
at oracle.sysman.oii.oiif.oiifw.OiifwHostNameWCDE.initialize(OiifwHostNameWCDE.java :111) 
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:15 2) 
at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:424) 
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:17 1) 
at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1274) 
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:28 9) 
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547) 
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935) 
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872) 
Failed to allocate port = Failed to allocate free Enterprise Manager Central Console Port from Default Range 1830 to 1849. Please free a port from the Range and re-try the installation.
  • The output from a 'netstat' command suggests that all the ports in the range specified by the error are open and available.

Cause

The error can occur if there is an incorrect entry or IP address in the machine's hosts file. The installer tries to resolve the incorrect entry and in failing to do so simply reports back (a little misleadingly) that it cannot allocate a port for the AS Console Agent.

Solution

Check the contents of the hosts of file and ensure that every entry is correct. All hostname / ip addresses have to be valid.

Assuming the Oracle Installer is still up and running, retry the failed assistant from the Oracle Installer. If you have exited the Installer, it should be possible to retry the failed assistant by running the $OH/cfgtoollogs/configToolCommands script




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

相關文章