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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Windows could not start the OracleServiceXE service on Local Computer

anishjpMay 15 2022

Hi Guys
I installed Oracle Database Express edition 18c on my Windows11 few weeks ago and started using the hr schema to practice some sql commands. Everything was just fine.
After few days I changed my device name from the default "DESKTOP-U*********" to a more meaningful one "DESKTOP-WINDOWS11".
After that I cant get the OracleServiceXE to start.
I keep getting the below error.
OracleServiceXE.pngDo I have to re-install the database to fix this?

Comments

You don't technically HAVE to, but it will be much easier if you simply do a deinstall, and then reinstall.
By the way, we currently have version 21 so you might want to use that instead.

I get the same error with version 21.

Christian.Shay -Oracle

Lisa, is this a fresh install or did you change the machine name or users name like the original poster did?
If it is a fresh install, did you receive any errors during the installation?
For a fresh install, it is most likely a failed installation.
Let me know what OS you are using: Windows 10, 11 etc.

Fresh install Windows 10. The software install completes OK, but fails to create the database service. The VSS service doesn't start unless I change it to run under the windows system account, but I've been unable to get the database service to create/start.

anishjp

I think, it was just a matter of fixing the hostname in ORACLE_HOME\OraDB18Home\network\admin\listner.ora
Anyway I uninstalled XE 18c and downloaded the XE 21c and tried to install it but was also complaining about cannot configure database due to some issues.
After googling a lot, found out that it could be due to the long hostname of my computer.
I then changed the hostname to less than 16 characters (DESKTOP-WIN11).
I then downloaded Enterprise 21c and tried to install it but it gave an architectural error.
Finaly I tried to install XE 21c again and it went through.
With every version of Oracle database, the pre-requisites are becomming harder and harder.
I really do not understand the need for making it stringent when the database is installed for personal use.
Oh I forgot to say that, I installed XE 21c in Fedora which was far more easier than installing in a windows machine.

Christian.Shay -Oracle

Sorry about the hassle. None of this is an intentional "pre-req" (eg the machine name size). They are essentially bugs. If you get past the pre-req screen with XE or EE, the install is supposed to go though without further problems.
We are still trying to reproduce the various issues that seem to be coming in more frequently lately. It is a bit of a mystery why the reported problems are becoming more frequent.

1 - 6

Post Details

Added on May 15 2022
6 comments
5,158 views