The following are the workaround steps, that worked for me, when installing Couchbase (Enterprise Edition) under a Windows 8 operating system. After following these steps I’ve been able to get a healthy instance running.
The workarounds in which this article is based can be found online, so here I’m going to keep it simple and just write a list of steps (you can refer to these articles, found at the end of this post, if you need more information). So after install the package you downloaded, a CouchbaseServer service (Windows Service) instance should be running as shown below:
Execute the following steps in order to get a working instance (if it’s not working yet):
- Stop the service
- Edit the your Windows hosts file with Administrator rights
- Add the following line: 127.0.0.1 couchbase-node1
- Save and close the hosts file
- Now relative to the root folder where you installed Couchbase edit the .\Server\bin\service_register.bat with Administrator rights
- Update the line that is setting the NS_NAME var to be: set NS_NAME=ns_1@couchbase-node1
- Update the line next to it to also set NS_NAME=ns_1@couchbase-node1
- Save and close the file
- From your Couchbase root folder delete the contents of .\Server\var\lib\couchbase\mnesia
- Now run the .\Server\bin\service_unregister.bat as Administrator (from your root folder)
- Next run the .\Server\bin\service_register.bat file you edited
- At this point if you run the service and check the listening sockets (netstat -a) you should seen ports 8091 & 8092
- To run the memcached healthy replace the libtcmalloc_minimal-4.dll (at .\Server\bin) with an previous version (this works for me)
- And finally, start the service
After all these steps have been performed you should have access to your administrative console under IE (http://localhost:8091/) and see everything running OK as shown below:
Related articles: