Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 238 Big Data Appliance
- 1.9K Data Science
- 450.2K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 154 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 437 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Windows could not start the OracleServiceXE service on Local Computer

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.
Do I have to re-install the database to fix this?
Answers
-
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.
-
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.
-
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.
-
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.