2 Replies Latest reply: May 4, 2014 11:33 AM by 817202 RSS

    INS-20802 Oracle net configuration assistant failed

    817202

      During the installation of new oracle 11g R2 (11.2.0.1.0) on RHEL5 on VMWARE Workstation 9
      but there is error prompt During the Network Configuration assistant
      INS-20802 Oracle net configuration assistant failed
      Cause:the plug-in failed in its perform method

       


      I go to the log installActions2014-05-04_12-35-49PM.log

       

      INFO: This variable PROD_HOME is not added to the global context map
      INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
      INFO: passing params to cf done
      INFO: done saving info by cf
      INFO: This is a shared oracle home or remote nodes are null. No copy required.
      INFO: Checkpoint:Failed Checkpoint found returning it for getAllFailedCheckPoints.
      INFO: Checkpoint:Failed Checkpoint found returning null for getLastFailedCheckPoint.
      INFO: Checkpoint:Index file written and updated
      INFO: Checkpoint:Transfer of file done from remote node
      INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
      INFO: Updating the global context
      INFO: Path To 'globalcontext.xml' = /u01/app/oracle/product/11.2.0/db_1/install/chainedInstall/globalcontext
      INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
      INFO: Number of root scripts to be executed = 2
      INFO: isSuccessfullInstallation: true
      INFO: isSuccessfullRemoteInstallation: true
      INFO: Adding ExitStatus SUCCESS to the exit status set
      INFO: Completed setting up InstallDB
      INFO: Performing Configuration
      INFO: Entering ConfigClient.init method
      INFO: ConfigClient.init sOracleHomeLoc=/u01/app/oracle/product/11.2.0/db_1, sTopAggId=oracle.server
      INFO: Entering ConfigClient.initClientAndSession method
      INFO: ConfigClient.initClientAndSession status : connected to the config framework
      INFO: ConfigClient.initClientAndSession session begun oracle.sysman.emCfg.client.CfwSession@990de2
      INFO: ConfigClient.initClientAndSession m_oAggregate=[Loracle.sysman.emCfg.common.IAggregate;@5e70bc
      INFO: Configuration log directory - /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs
      INFO: Exiting ConfigClient.init method
      INFO: Calling event ConfigSessionInitialized
      INFO: ConfigClient.registerOutErrStream method called
      INFO: Entering ConfigClient.getToolsList method
      INFO: Created config job for Oracle Net Configuration Assistant
      INFO: Created config job for Oracle Database Configuration Assistant
      INFO: Updating Transient Parameters in the Aggregates
      INFO: Updating Transient Parameters for oracle.server
      INFO: Updating Transient Parameters for oracle.assistants.netca.client
      INFO: Updating Transient Parameters for oracle.assistants.server
      INFO: Setting value to transient variable s_dbcaArgs
      INFO: Setting value to transient variable S_SYSMANPASSWORD
      INFO: Setting value to transient variable s_systemPasswordFlag
      INFO: Setting value to transient variable s_sysmanPasswordFlag
      INFO: Setting value to transient variable S_HOSTUSERPASSWORD
      INFO: Setting value to transient variable s_dbcaArgsOverride
      INFO: Setting value to transient variable windows_commandline_prefix
      INFO: Setting value to transient variable s_sysPasswordFlag
      INFO: Setting value to transient variable S_SYSPASSWORD
      INFO: Setting value to transient variable s_asmsnmpPasswordFlag
      INFO: Setting value to transient variable S_DBSNMPPASSWORD
      INFO: Setting value to transient variable s_dbsnmpPasswordFlag
      INFO: Setting value to transient variable S_ASMSNMPPASSWORD
      INFO: Setting value to transient variable S_SYSTEMPASSWORD
      INFO: Setting value to transient variable s_hostUserPasswordFlag
      INFO: Updating Transient Parameters for OuiConfigVariables
      INFO: Updating Transient Parameters for oracle.sysman.ccr
      INFO: Updating Transient Parameters for oracle.sysman.console.db
      INFO: Successfully updated Transient Parameters in the Aggregates
      INFO: Configuration log directory - /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs
      INFO:
      The Runconfig command constructed is /u01/app/oracle/product/11.2.0/db_1/oui/bin/runConfig.sh ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 MODE=perform ACTION=configure RERUN=true $*
      INFO: Created a new file /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/configToolAllCommands
      INFO: Since the option is to overwrite the existing /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/configToolAllCommands file, backing it up
      INFO: The backed up file name is /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/configToolAllCommands.bak
      INFO: Entering ConfigClient.executeToolsInAggregate method
      INFO: ConfigClient.executeToolsInAggregate oAggregate=oracle.server:oracle.server:11.2.0.1.0:common
      INFO: Entering ConfigClient.assignAction method
      INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@741322
      INFO: ConfigClient.assignAction action is of type :configuration
      INFO: Exiting ConfigClient.assignAction method
      INFO: ConfigClient.executeToolsInAggregate action assigned
      INFO: Started Plugin named: Oracle Net Configuration Assistant
      INFO: Found associated job
      INFO: Starting 'Oracle Net Configuration Assistant'
      INFO: Starting 'Oracle Net Configuration Assistant'
      INFO: Parsing command line arguments:
      INFO: Parameter "orahome" = /u01/app/oracle/product/11.2.0/db_1
      INFO: Parameter "orahnam" = OraDb11g_home1
      INFO: Parameter "instype" = typical
      INFO: Parameter "inscomp" = client,oraclenet,javavm,server,ano
      INFO: Parameter "insprtcl" = tcp
      INFO: Parameter "cfg" = local
      INFO: Parameter "authadp" = NO_VALUE
      INFO: Parameter "responsefile" = /u01/app/oracle/product/11.2.0/db_1/network/install/netca_typ.rsp
      INFO: Parameter "silent" = true
      INFO: Done parsing command line arguments.
      INFO: Oracle Net Services Configuration:
      INFO: Profile configuration complete.
      INFO: Oracle Net Listener Startup:
      INFO: Running Listener Control:
      INFO: /u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER
      INFO: Listener Control complete.
      INFO: Listener start failed.
      INFO: Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDb11g_home1-14050412PM4322.log
      INFO: Oracle Net Services configuration failed. The exit code is 1
      INFO:
      WARNING:
      INFO: Completed Plugin named: Oracle Net Configuration Assistant

       


      When I press retry, the problem is passed, but later another error prompt and the log is

       

      04-May-2014 16:44:41 oracle.sysman.emcp.EMConfig perform
      SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
      Refer to the log file at C:\app\TeamC\cfgtoollogs\dbca\orcl\emConfig.log for more details.
      04-May-2014 16:44:41 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],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
      at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2682)
      at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:864)
      at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:282)
      at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:195)
      at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
      at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
      at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
      at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
      at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
      at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
      at java.lang.Thread.run(Thread.java:595)
      04-May-2014 16:44:41 oracle.sysman.emcp.EMConfig restoreOuiLoc
      CONFIG: Restoring oracle.installer.oui_loc to C:\app\TeamC\product\11.2.0\dbhome_1\oui

       


      I already check the hostname which is

       

      [root@localhost ~]# cat /etc/hosts
      # Do not remove the following line, or various programs
      # that require network functionality will fail.
      127.0.0.1 localhost.localdomain localhost
      #::1 localhost6.localdomain6 localhost6

       

      192.168.0.101 orcl.localdomain orcl

       

      [root@localhost ~]# ifconfig -a
      eth0 Link encap:Ethernet HWaddr 00:0C:29:0A:9D:76
      inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
      inet6 addr: fe80::20c:29ff:fe0a:9d76/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:3028 errors:0 dropped:0 overruns:0 frame:0
      TX packets:4093 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:239252 (233.6 KiB) TX bytes:767436 (749.4 KiB)
      Interrupt:75 Base address:0x2000

       

      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING MTU:16436 Metric:1
      RX packets:5211 errors:0 dropped:0 overruns:0 frame:0
      TX packets:5211 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:8996736 (8.5 MiB) TX bytes:8996736 (8.5 MiB)

       

      sit0 Link encap:IPv6-in-IPv4
      NOARP MTU:1480 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

       


      [root@localhost ~]# ping 192.168.0.101
      PING 192.168.0.101 (192.168.0.101) 56(84) bytes of data.
      64 bytes from 192.168.0.101: icmp_seq=1 ttl=64 time=0.029 ms
      64 bytes from 192.168.0.101: icmp_seq=2 ttl=64 time=0.038 ms

       


      I know that the problem is sill or i do sme silly mistake. Kindly advice over the same.

        • 1. Re: INS-20802 Oracle net configuration assistant failed
          Srini Chavali-Oracle

          INFO: /u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER

          INFO: Listener Control complete.

          INFO: Listener start failed.

          INFO: Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDb11g_home1-14050412PM4322.log

          INFO: Oracle Net Services configuration failed. The exit code is 1

          SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]

          Refer to the log file at C:\app\TeamC\cfgtoollogs\dbca\orcl\emConfig.log for more details.

          Pl post the contents of the two log files. Which exact version of RHEL 5 ?

          • 2. Re: INS-20802 Oracle net configuration assistant failed
            817202

            Thanks for immediate reply. The problem is sorted out as i forget to change the ORACLE_HOSTNAME in .bash_profile file.