3 Replies Latest reply: Jun 4, 2013 12:18 PM by user468360 RSS

    Oracle XE installation failed

    Ivan_D
      Hello,

      Little clumsy on Windows 7 32 bit Oracle XE installation.
      Please help.

      Initial installation is failing because netca component is failed. And after netca also netdbca failed.

      After failed whole installation try to repeat netca and dbca on hand.

      dbca does not complete because it sensed netca did not configure listener.

      When try to launch netca error below appeared.

      Any hint or your succesfull experience most apreciated.




      C:\WINDOWS\system32>netca
      oracle.net.ca.NetCAFatalException: Environmental error detected: Oracle Home
      set to "C:\oracle\11.2.0" in the environment is different from Oracle Net Con
      uration Assistant installed Oracle Home.

      Verify that the ORACLE_HOME environment variable or registry setting is set t
      orrect value and relaunch Oracle Net Configuration Assistant.


      at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:236)
      at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:21
      at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
      at oracle.net.ca.NetCA.main(NetCA.java:408)

      Error: Environmental error detected: Oracle Home is set to "C:\oracle\11.2.0"
      the environment is different from Oracle Net Configuration Assistant install
      Oracle Home.

      Verify that the ORACLE_HOME environment variable or registry setting is set t
      orrect value and relaunch Oracle Net Configuration Assistant.


      Oracle Net Services configuration failed. The exit code is 1
        • 1. Re: Oracle XE installation failed
          clcarter
          Should not be any need to run dbca or netca for an XE install, the installer program takes care of all those chores, if it runs successfully.

          Sometimes it doesn't. Try the deinstall steps and run the installer again with a right click/run as Administrator.

          Win7? Is it x64? The download pages specify that XE is not for x64 OSs. So ... might work, might not. Lots of folks have trouble trying x64, many do not have success.
          • 2. Re: Oracle XE installation failed
            user468360
            Are you installing on a clean machine? It sounds like the machine you are installing to may have a previous version of Oracle installed. I don't think Oracle XE even includes netca, so the fact that you can run it from a command line and get an error implies there are remnants of a previous version of Oracle.

            Check your environment PATH variable, and see if it includes another Oracle home. If the other home is no longer viable, you should remove it from the environment PATH.

            If you want to configure your TNS for XE 11, you should edit the files directly - tnsnames.ora, sqlnet.ora, and listener.ora. They are located in <XE 11 Home>\network\admin folder. Changes to listener.ora require a restart of the listener service to take effect.
            • 3. Re: Oracle XE installation failed
              user468360
              I just verified that the XE 11 install does NOT have either dbca or netca. So either your install package is not XE 11, or there is a previous version of Oracle on the machine where you are doing the install.