Enterprise manager configuration failed due to the following error -
Failed to allocate port(s) in the specified range(s) for the following
process(es):JMS[5540-5559],Database Control [5500-5519],EM
Agent [3938]|[1930-1849]
Referto the log file at/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl/emConfig.log for moredetails.
You can retry configuring this database with Enterprise Manager later 
by manually running /oracle/product/10.2.0/db_1/bin/emca script
以下附上日志文件内容Apr 19, 2012 5:29:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LOG_FILE value: /oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl/emConfig.log
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: HOST value: 202.102.110.206
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: orcl
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER value: LISTENER
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER_OH value: /oracle/product/10.2.0/db_1
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /oracle/product/10.2.0/db_1
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: orcl
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /oracle/product/10.2.0/db_1
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to false
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-backup' set to false
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to false
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/emca_2012-04-19_05-29-44-PM.log to /oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2012-04-19_05-29-44-PM.log
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl/emConfig.log.
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Apr 19, 2012 5:30:25 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYS
Apr 19, 2012 5:30:27 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:27 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: DBSNMP
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYS
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYS
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: 
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Apr 19, 2012 5:30:28 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: orcl
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYS
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 1308813085
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYSMAN
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Apr 19, 2012 5:30:40 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Apr 19, 2012 5:30:50 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYS
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.  
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: /oracle/product/10.2.0/db_1, and user: SYS
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: orcl
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /oracle/product/10.2.0/db_1/sysman/config/emd.properties to /oracle/product/10.2.0/db_1/sysman/config/emd.properties.emca.tmp
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /oracle/product/10.2.0/db_1/sysman/config/emd.properties has been copied to /oracle/product/10.2.0/db_1/sysman/config/emd.properties.emca.tmp
Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /oracle/product/10.2.0/db_1/sysman/config/emoms.properties.emca to /oracle/product/10.2.0/db_1/sysman/config/emoms.properties

解决方案 »

  1.   

    Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/product/10.2.0/db_1/sysman/config/emoms.properties.emca has been copied to /oracle/product/10.2.0/db_1/sysman/config/emoms.properties
    Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/product/10.2.0/db_1/sysman/emd/targets.xml to /oracle/product/10.2.0/db_1/sysman/emd/targets.xml.emca.tmp
    Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/product/10.2.0/db_1/sysman/emd/targets.xml has been copied to /oracle/product/10.2.0/db_1/sysman/emd/targets.xml.emca.tmp
    Apr 19, 2012 5:30:51 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Apr 19, 2012 5:31:02 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: This is expected, as we might be calling it from a non-rac home
    Apr 19, 2012 5:31:02 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Error retrieving the local node for the cluster
    Apr 19, 2012 5:31:02 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: PRKH-1010 : Unable to communicate with CRS services.
      [PRKH-1000 : Unable to load the SRVM HAS shared library
      [PRKN-1008 : Unable to load the shared library "/oracle/product/10.2.0/db_1/lib/libsrvmhas10.so"
      or a dependent library, from
      LD_LIBRARY_PATH="/oracle/product/10.2.0/db_1/lib"
      [java.lang.UnsatisfiedLinkError: Can't load library: /oracle/product/10.2.0/db_1/lib/libsrvmhas10.so]]]
    Apr 19, 2012 5:31:02 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster Error Message: PRKH-1010 : Unable to communicate with CRS services.
      [PRKH-1000 : Unable to load the SRVM HAS shared library
      [PRKN-1008 : Unable to load the shared library "/oracle/product/10.2.0/db_1/lib/libsrvmhas10.so"
      or a dependent library, from
      LD_LIBRARY_PATH="/oracle/product/10.2.0/db_1/lib"
      [java.lang.UnsatisfiedLinkError: Can't load library: /oracle/product/10.2.0/db_1/lib/libsrvmhas10.so]]]
    Apr 19, 2012 5:31:02 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to falseApr 19, 2012 5:31:02 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: orcl Host: 202.102.110.206 Node: null OH: /oracle/product/10.2.0/db_1 agentHome: null isCentral: false
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: orcl Host: 202.102.110.206 Node: null OH: /oracle/product/10.2.0/db_1 isDBC: false
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Apr 19, 2012 5:31:12 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Apr 19, 2012 5:31:23 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: orcl Host: 202.102.110.206 Node: null OH: /oracle/product/10.2.0/db_1 isDBC: false
    Apr 19, 2012 5:31:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_orcl.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_orcl.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_orcl.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_orcl.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /oracle/product/10.2.0/db_1/oui
    Apr 19, 2012 5:31:33 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /oracle/product/10.2.0/db_1/oui
    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.OUIInventoryUtil getInstallInventory
    CONFIG: Error accessing inventory.
    oracle.sysman.oii.oiii.OiiiInventoryDoesNotExistException: The inventory pointer location /etc/oraInst.loc is either not readable or does not exist
    at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1698)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:282)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:229)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:178)
    at oracle.sysman.emcp.util.OUIInventoryUtil.getInstallInventory(OUIInventoryUtil.java:117)
    at oracle.sysman.emcp.util.OUIInventoryUtil.getAllOracleHomeLoc(OUIInventoryUtil.java:168)
    at oracle.sysman.emcp.util.PortManager.AllUsedPorts(PortManager.java:1092)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
    at java.lang.Thread.run(Thread.java:534)
      

  2.   

    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.OUIInventoryUtil getInstallInventory
    CONFIG: Error accessing Install Area Control.
    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.OUIInventoryUtil getAllOracleHomes
    CONFIG: Error accessing Install Inventory.
    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.OUIInventoryUtil getInventoryDirLoc
    CONFIG: Unable to get inventory location.
    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Current ORACLE_HOME:/oracle/product/10.2.0/db_1 not included in ORACLE_HOMEs' from inventory.
    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Homes to scan for used ports: [/oracle/product/10.2.0/db_1]
    Apr 19, 2012 5:31:34 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/product/10.2.0/db_1
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Marking JMS port: null from /oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Marking RMI port: null from /oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Marking HTTP port: null from /oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Marking Agent port: null from /oracle/product/10.2.0/db_1/sysman/config/emd.properties
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.PortManager AllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Apr 19, 2012 5:31:35 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /oracle/product/10.2.0/db_1/install/staticports.ini
    Apr 20, 2012 8:42:02 AM oracle.sysman.emcp.util.PortManager isPortFree
    CONFIG: Cannot determine IP address
    Apr 20, 2012 8:49:07 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl/emConfig.log for more details.
    Apr 20, 2012 8:49:07 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace: 
    oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2266)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
    at java.lang.Thread.run(Thread.java:534)
      

  3.   

    EM没有创建成功,建议创建数据库的时候,可以先不创建EM,等数据库创建完成后,手动创建EM。