Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

"Failed to start service CouchbaseServer" on Windows 7

3 replies [Last post]
  • Login or register to post comments
Tue, 02/19/2013 - 23:49
AshwinJay
Offline
Joined: 02/19/2013
Groups: None

Hi, I just installed Couchbase 2.0 on my Win 7 laptop. Installation went fine and at the end it popped open a browser window but there was nothing on localhost:8091.

I even created an explicit firewall rule to allow port 8091. I started/stopped/restarted the service, still no luck.

I had to search on Google to look for the command lines (2.0 docs are missing this?) to explicitly start the service (http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-admin-basic...). This is what I see:

C:\Programs1\Couchbase\Server\bin>service_start.bat
 
C:\Programs1\Couchbase\Server\bin>set NS_BIN=C:\Programs1\Couchbase\Server\bin\
 
C:\Programs1\Couchbase\Server\bin>set NS_ROOT=C:\Programs1\Couchbase\Server\bin\..
 
C:\Programs1\Couchbase\Server\bin>set NS_ERTS=C:\Programs1\Couchbase\Server\bin\..\erts-5.8.5\bin
 
C:\Programs1\Couchbase\Server\bin>"C:\Programs1\Couchbase\Server\bin\..\erts-5.8.5\bin\erlsrv.exe" start CouchbaseServer
C:\Programs1\Couchbase\Server\bin\..\erts-5.8.5\bin\erlsrv.exe: Failed to start service CouchbaseServer.
Error: Access is denied.

There is only 1 user on my laptop and I'm the admin/current user. So, what's wrong here?

There seems to be a related issue on CentOS - http://www.couchbase.com/issues/browse/MB-4121

Regards.

Top
  • Login or register to post comments
Wed, 02/20/2013 - 00:04
AshwinJay
Offline
Joined: 02/19/2013
Groups: None

I also did a netstat when the CouchBaseService claimed to be running. There was nothing running on 8091.

Top
  • Login or register to post comments
Thu, 02/21/2013 - 00:05
AshwinJay
Offline
Joined: 02/19/2013
Groups: None

Guess it's already been answered:

http://www.couchbase.com/forums/thread/community-edition-does-not-work-w...

http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractic...

Not very obvious though. Changed the ip to 127.0.0.1

Top
  • Login or register to post comments
Thu, 02/21/2013 - 06:03
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

This issue will be fixed in 2.0.1, this is also why I have created this blog post:
http://tugdualgrall.blogspot.fr/2012/12/what-to-do-if-your-couchbase-ser...

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker