Reputation: 146
I have installed CouchDB on my Windows machine but while starting the CouchDB service, I am getting a message like:
Windows could not start the Apache CouchDB service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, please contact your system administrator.
As the service is not running, I am unable to access Fauxton too.
I am using Windows 7. CouchDB is 2.0.0. Port 5984 is not in use.
Upvotes: 2
Views: 5994
Reputation: 1
i just met the same problem. the cause is space, you have to install CouchDB in a path without any space, even Program Files folder, because there is a space between Program and Files...
Upvotes: 0
Reputation: 18034
I don't think your question is a duplicate of https://stackoverflow.com/a/44107335/219187 because you are on Windows 7, and the problem described there is for Windows 10 with the creators update.
But maybe the solution fixes your problem as well? Here is the procedure:
nssm.exe
in <CouchDbInstallDir>\bin
with the one from the downloaded ZIP file (make sure you pick the right version 32 bit / 64 bit)Upvotes: 4
Reputation: 103
Issue it's happening since the last updates released by Microsoft. I'm not completely aware of what's causing it, but I think it's something related to CouchDB service not been able to start using Local Administrator rights. However I've managed to start the service manually, by doing so:
Keep in mind that you have to leave the cmd opened in order the service to be working as expected. As far as I saw no information was lost, so it's all good. This is a temporary solution though, as we are waiting a relase from either Microsoft or Apache to solve the issue, or at least give us more explanation about it.
Upvotes: 0