Skip to Main Content

Oracle Database Express Edition (XE)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle XE installation issue - rollback

4198092Feb 25 2020 — edited Aug 25 2020

I'm trying to install an Oracle DB 18c XE locally on a Win10 Pro machine.

So far I'm experiencing the same issue as described here: https://stackoverflow.com/questions/54989134/oracle-xe-installation-aborts-with-no-error-explanation

Can anyone provide a way out of this? I mean, there's no log anywhere, no error message - it just starts a rollback action after copying some of the files and then it exits the installation.

Comments

rober584812

Hi. Restart Windows SO. If this no work, try the next:

https://community.oracle.com/thread/4209481

Raj__K

Hi,

Are you trying the installation with user having Admin privileges. If not try with it.

The following Oracle links has the details about the logs location(18c). Could you check any Errors information is there in that and share?

    https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinw/installing-oracle-database-xe.html#GUID-7BF9ACDC-1281-494C-AF96-77A25B1BD67D

Regards!

4198092

- restart didn't solve anything

- I have admin rights and I am running the setup as admin

- there are no logs whatsoever (neither in the Program Files or anywhere else). So there are no errors for me to check. In addition, the files which get created during the are deleted during rollback action.

Christian.Shay -Oracle

Check to see if ORACLE_HOME and TNS_ADMIN is set in the environment (type "set" at the command prompt).

Unset them if they are set.

4198092

No ORACLE_HOME or TNS_ADMIN are among the environment variables. That was the first thing I checked..

4198092 wrote:

No ORACLE_HOME or TNS_ADMIN are among the environment variables. That was the first thing I checked..

Ok.

Here's a few other things that caused people issues:

4) On your network adapter that you are using, check (enable) "Client for Microsoft Networks" and "File and Printer Sharing for Microsoft Networks".

5) Check to see if Netbios is enabled on your network connection:

See this link for more info:

http://ecross.mvps.org/howto/enable-netbios-over-tcp-ip-with-windows.htm

6) In some cases, antivirus has interfered with an installation.  Try disabling antivirus.

7) Try creating a local user and adding to local administrator group and then log in and install as that user.

4198092

Here's a few other things that caused people issues:

4) On your network adapter that you are using, check (enable) "Client for Microsoft Networks" and "File and Printer Sharing for Microsoft Networks".

5) Check to see if Netbios is enabled on your network connection:

See this link for more info:

http://ecross.mvps.org/howto/enable-netbios-over-tcp-ip-with-windows.htm

6) In some cases, antivirus has interfered with an installation. Try disabling antivirus.

7) Try creating a local user and adding to local administrator group and then log in and install as that user.

Tried all except for the last one. I really don't think that's a valid one. I mean - I am already using a local administrator user...

The Netbios was indeed disabled for the active network connection, so I turned it on, but unfortunately there's no change concerning the OracleXE installation.

Dude!

Have you tried disabling your antivirus, etc. ?

Christian.Shay -Oracle

Another thing to check - make sure you are running setup.exe rather than the .MSI file.

Also, please type "SET" at the command prompt and look for other Oracle related environment variables. Do you see NLS_LANG? If you find any Oracle related variables, unset them as they can cause network configuration and db configuration to fail. If you are unsure you can paste the list here.

Finally you can look at your logs here:

%Program Files%\Oracle\Inventory\logs

Depending on how far the install went you might find logs here also:

<INSTALL_DIR>\cfgtoollogs\dbca\XE\XE.log

4198092

The only thing remotely related to Oracle is the JAVA_HOME path which has the string "Oracle" in it's file path.

So no - no Oracle related environment variables (NLS_LANG either).

BTW - this would be the first Oracle DB application installed on the machine together with this Windows instance - so no use in looking for other reminiscence from previous install.

L. Fernigrini

I know it is not the same behavior (rollback) that you mention, but the only issue I remember having during install in my company was when a user wanted to install while working remotely and he was not connected to the VPN, since the user was a Domain user the installer kept mentioning that it was not an administrator (which in fact was). Once connected to the VPN the installation continued with no errors.

4198092

Thanks ! But I've already wen through all of that. All requirements/prerequisites are met.

4198092

I just tried both (with and without VPN connection). There's no difference (issue is still the same).

Dude!

Nobody here will be able to tell you what's wrong with your Windows installation. Windows itself is a miracle that it works and unless you are able to provide more info, how to you expect anyone to help you what's wrong? If all the requirements are met and there is nothing special about your installation then the installation of Oracle XE will work.

Have you disabled your anti-virus, anti-spyware, anti-malware, anti-whatever and uninstaller helper software? Perhaps the installation is failing to install the services. Is there any virtualization involved? The later may not provide enough resources at the physical layer. Again, what exactly do you have installed?

Dude!

There's absolutely nothing special with the installation attempt, or with the operating system.

Windows 10 64 bit, no virtualization involved, Oracle XE 18c, 16 GB RAM, 300+ GB free space. Tell me, what other info would you consider worth mentioning?

If  there was absolutely nothing special with the installation attempt, as you wrote, then it should work. You need to troubleshoot your Windows installation, not the Oracle installer and give us more technical details. Nobody here can look over your shoulder or will be able to convey years of general Windows and Oracle troubleshooting experience.

Have you disabled your virus and other protection software?

Have you checked the documentation for the location logs?

Are you sure you're not using HOME edition?

Anything in the Windows Event viewer?

Anything reported by your security software?

Do you run Setup or Oracle Database 18c Express Edition.msi?

If there are no logs of the installation then your account has no privileges or something is blocked the installation. Please review some older threads:

oracle 18c Express edition setup rollback during installation

Installation Failure of Oracle 18c XE - Windows 10 Enterprise

Christian.Shay -Oracle

Christian.Shay -Oracle wrote:

Another thing to check - make sure you are running setup.exe rather than the .MSI file.

Also, please type "SET" at the command prompt and look for other Oracle related environment variables. Do you see NLS_LANG? If you find any Oracle related variables, unset them as they can cause network configuration and db configuration to fail. If you are unsure you can paste the list here.

Finally you can look at your logs here:

%Program Files%\Oracle\Inventory\logs

Depending on how far the install went you might find logs here also:

<INSTALL_DIR>\cfgtoollogs\dbca\XE\XE.log

Can you please let me know if:

1) You disabled antivirus?

2) Are there any logs provided in the Program files path listed above?

4198092

1). Yes - I disabled antivirus, Bitlocker or anything else that might interfere

2). There is no mention of Oracle in the Program Files.

Christian.Shay -Oracle

4198092 wrote:

1). Yes - I disabled antivirus, Bitlocker or anything else that might interfere

2). There is no mention of Oracle in the Program Files.

Can you please check under "Program Files (x86)" as well?

4198092

No Oracle content under neither of the Program Files (x86 included).

Dude!

Did you verify the checksum of your download with the checksum provided by the Oracle installer?

https://www.oracle.com/database/technologies/xe-downloads.html

Any notes in the Windows Event viewer?

Let's try doing a silent install with the log file specified to try to get an error logged.

See this section in the doc for more info:

https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinw/installing-oracle-database-xe.html#GUID-E6A7B665-134…

An example silent install command is:

c:\xe_temp> setup.exe /s /v"RSP_FILE=c:\xe_temp\response\XEInstall.rsp" /v"/L*v c:\xe_temp\setup.log" /v"/qn"

Please try this and then attach the log file to a reply.

meande hamdaoui

I am experiencing the same issue that you had before.

please advise if you come around this problem

Thanks you

https://stackoverflow.com/questions/54989134/orac...

Ogi33

check your remote desktop is ON

user5513157
Here it also occurred. After I the "setup" file run as administrator and avg antivirus disabled it worked.
Win10 HOME and oracle 18c xe
Markus Flechtner

Please keep in mind that Oracle 18c XE is not certified on Win10 Home, so you may run into other issues in the future.

d94300ec-8817-433f-99a2-3d84b6456875

For what it's worth, I ran into the same issue.

Resolved it by:

1. Open a command prompt with administrator rights(right click and select run with administrator rights).

2. Change directory in the command prompt to that holding the Oracle XE installation files.

3. Type setup.exe.

I got one request to "Allow Access" from Windows Defender (I think), then the installation proceeded as expected.

If I tried running from File Explorer, kept getting this issue.

Billy Verreynne

Thanks for the feedback.

Windows is a very complex operating system - and not as elegant as Linux.

Simplicity is the ultimate form of elegance.

1 - 28

Post Details

Added on Feb 25 2020
28 comments
18,405 views