Recently i tried installing Apache CouchDB on Windows Server 2012 Standard Edition (x64) system. Our observations:
Apache CouchDB service was not starting when started from Windows Service Control Manager. When we see the CouchDB logs, we see below logs, getting logged continuously. [Fri, 10 Apr 2015 19:11:34 GMT] [error] [<0.166.0>] Unable to load crypto library. Failed with error: “load_failed, Failed to load NIF library c:/CouchDB/lib/crypto-2.1/priv/lib/crypto: ‘Unspecified error’” OpenSSL might not be installed on this system.
When we start Apache CouchDB using couchdb.bat file present in /bin, it starts properly as a console application.
I understand that service is not able to start, probably because its failing to resolve the dependencies. Hence gave the /bin in the PATH enviroment variable and even after this it failed to start.
Finally to resolve i had to copy all the *.dll files under “/bin” to “/erts-5.9/bin” and then restarted and it worked fine.
Any idea, if this is a know issue and is there any way to overcome this in a better way. I’m using currently using Apache CouchDb (setup-couchdb-1.2.0_otp_R15B).
Also we would like to know if Apache CouchDb (setup-couchdb-1.2.0_otp_R15B) is supported on Windows 2012 R2 Standard Edition?
I could see a similar issue reported for Ubuntu, but nothing specifically for Windows.
– Regards,
Avadhut.