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

8091 not available, answer on 8092

13 replies [Last post]
  • Login or register to post comments
Wed, 12/12/2012 - 14:39
mdurli
Offline
Joined: 12/12/2012
Groups: None

Hello, just installed latest (just downloaded) community version on win7 64. Never had couchbase before installed on this system.
Service appears to be running, no firewall running, microsoft security central disabled, but can't access http://localhost:8091/ (unable to connect).
Checked listening ports and I found 8092 listening, so I tried
http://localhost:8091/
and got:
{"couchdb":"Welcome","version":"1.2.0a-be4fa61-git","couchbase":"2.0.0-1976-rel-community"}

any suggestion on why the console is not working?
Thanks!

Top
  • Login or register to post comments
Wed, 12/12/2012 - 14:40
mdurli
Offline
Joined: 12/12/2012
Groups: None

sorry, I meant tried:
http://localhost:8092/
and got:
{"couchdb":"Welcome","version":"1.2.0a-be4fa61-git","couchbase":"2.0.0-1976-rel-community"}

Top
  • Login or register to post comments
Thu, 12/13/2012 - 06:08
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

As you probably know Couchbase Server 2.0 opens different ports, that are document here:
- http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-network-por...

So the Couchbase API Port is working properly in your environment but the Console is not.

Here some question to help the community solve your issue:

1- Is it a fresh install or you had an older release of Couchbase installed on your server?
> if this is the case please be sure you have delete the Couchbase data folder C:\Program Files\Couchbase\Server\var\lib\couchbase\data
on Windows by default (" see http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-data-files.... )
> and restart/install the server

2- Can you access the memcached protol
> in a terminal do a telnet 127.0.0.1 11211

3- Check the logs : http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-troubleshoo...
> any error?
> do not hesitate to post a part of the log if you see errors.

Regards
Tug

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Thu, 12/13/2012 - 08:03
mdurli
Offline
Joined: 12/12/2012
Groups: None

Hello.

tgrall wrote:

1- Is it a fresh install or you had an older release of Couchbase installed on your server?
> if this is the case please be sure you have delete the Couchbase data folder C:\Program Files\Couchbase\Server\var\lib\couchbase\data
on Windows by default (" see http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-data-files.... )
> and restart/install the server

Yes I know, but now is the console I'm trying to make it work.
Installation is fresh, never installed Couchbase before.

tgrall wrote:

2- Can you access the memcached protol
> in a terminal do a telnet 127.0.0.1 11211

No

tgrall wrote:

3- Check the logs : http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-troubleshoo...
> any error?
> do not hesitate to post a part of the log if you see errors.

I delete all the logs, restarted and tried to access the console.
I copy here just this:
[ns_server:warn,2012-12-13T15:47:53.902,ns_1@169.254.1.88:dist_manager<0.272.0>:dist_manager:is_good_address:81]Cannot listen on address `169.254.1.88`: eaddrnotavail
because this ip 169.254.1.88 seems a little bit strange.

Thanks!

Top
  • Login or register to post comments
Thu, 12/13/2012 - 13:47
tgrall
Offline
Joined: 09/05/2012
Groups: None

Ok, I think I understand the problem now.

Couchbase have issue when the IP address changed. The installer put the IP address in one file and depending of the OS, configuration this could be an issue when the computer address changes.
I am currently working on blog post that explains how to fix that, since it is not ready let me give you the basic instructions here :

As an administrator (based on your path, I guessed that you are on Windows)

Add computer hostname or address
0. Stop Couchbase Service

1. Open the
C:\Program Files\Couchbase\Server\bin\service_register.bat file with your favorite editor. To open the editor as Administrator you can use the approach described in the previous step.

2. Edit the line 9 to replace %IP_ADDR% by your hostname, the line should look like:
set NS_NAME=ns_1@couchbase-node1.mycompany.com

3. Save the file

4. Delete existing configuration and logs Using the file explorer, go into:
C:\Program Files\Couchbase\Server\var\lib\couchbase\mnesia

5. Delete its content

6. Run C:\Program Files\Couchbase\Server\bin

Your server should be accessible now.

Could you please confirm that is the issue?

regards
Tug

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Fri, 12/14/2012 - 04:26
mdurli
Offline
Joined: 12/12/2012
Groups: None

tgrall wrote:
Ok, I think I understand the problem now.

Couchbase have issue when the IP address changed. The installer put the IP address in one file and depending of the OS, configuration this could be an issue when the computer address changes.

Trying to help you fixing this, but I'm trying locally and my computer has static IP 192.168.0.87, it never changed address.

tgrall wrote:

I am currently working on blog post that explains how to fix that, since it is not ready let me give you the basic instructions here :

As an administrator (based on your path, I guessed that you are on Windows)

Add computer hostname or address
0. Stop Couchbase Service

1. Open the
C:\Program Files\Couchbase\Server\bin\service_register.bat file with your favorite editor. To open the editor as Administrator you can use the approach described in the previous step.

2. Edit the line 9 to replace %IP_ADDR% by your hostname, the line should look like:
set NS_NAME=ns_1@couchbase-node1.mycompany.com

3. Save the file

4. Delete existing configuration and logs Using the file explorer, go into:
C:\Program Files\Couchbase\Server\var\lib\couchbase\mnesia


can't find this directory
I have config, data, log directories at that path, emptied all of them.

tgrall wrote:

5. Delete its content

6. Run C:\Program Files\Couchbase\Server\bin

run what in that path?
tried service_register.bat and then restarted, but same problem, console is not accessible
UPDATE: run also reregister.bat, now is working.

Thanks, but I guarantee that there was no IP change, it was a fresh install on a static IP computer.

Best,
Mattia

Top
  • Login or register to post comments
Fri, 12/14/2012 - 10:17
tgrall
Offline
Joined: 09/05/2012
Groups: None

Just to be sure : you can now access the Web Admin Console? (after re-registering the service? sorry that I messed up my step 6)

If yes could you please (just to try to understand) tell me:
- which value did you put in the variable "NS_NAME" of the "service_register.bat" file?

- What do you see when you execute the following command?
C:\Program Files\Couchbase\Server\bin\ip_addr.bat (this is what is used by Couchbase to set the IP address during the installation)

Regards
Tug

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Fri, 12/14/2012 - 11:42
mdurli
Offline
Joined: 12/12/2012
Groups: None

Hello,

yes I can now access the web admin console.

Here's how modified the line:
set NS_NAME=ns_1@127.0.0.1

and the result of ip_addr.bat is:
169.254.1.88
(my ip is 192.168.0.87)

Best,
Mattia

Top
  • Login or register to post comments
Fri, 01/04/2013 - 09:09
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

I have created a blog post to explain how to work around this issue:

http://tugdualgrall.blogspot.fr/2012/12/what-to-do-if-your-couchbase-ser...

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Thu, 01/31/2013 - 09:07
eugen.torica
Offline
Joined: 01/31/2013
Groups: None

I think the installer is messed because my computer never had this IP address 169.254.68.67.
Installation is successful but Console does not start neither with community nor with enterprise edition.
ip_addr.bat returns this address: 169.254.68.67
Computer didn't change it's address. It's just clean install on the system.

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

Eugen,

You are right this is a know issue with Couchbase on Windows. This will be fixed into the Couchbase 2.0.1.
I have written this blogpost to work around the issue.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Wed, 05/01/2013 - 15:31
Kynao Yooky
Offline
Joined: 01/03/2013
Groups: None

tgrall wrote:
Eugen,

You are right this is a know issue with Couchbase on Windows. This will be fixed into the Couchbase 2.0.1.
I have written this blogpost to work around the issue.

Regards

Hi,

I've just installed 2.0.1 on windows.
It still didn't work (http://localhost:8091/) so :
- i went ot service, couchbase is started
- i used currports to see if 8091 is there (or whatever in the range or 8xxx) but nothing is available

Do you have an idea ?

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

Hello,

1- Which version of Windows are you using?
(if you are running Windows 8, not officially supported, take a look to http://blogs.southworks.net/mkrikorian/2013/02/06/installing-couchbase-u... )

2- Do you have anything in the logs? and "weird" process behavior?

regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Fri, 05/03/2013 - 06:55
Kynao Yooky
Offline
Joined: 01/03/2013
Groups: None

tgrall wrote:
Hello,

1- Which version of Windows are you using?
(if you are running Windows 8, not officially supported, take a look to http://blogs.southworks.net/mkrikorian/2013/02/06/installing-couchbase-u... )

2- Do you have anything in the logs? and "weird" process behavior?

regards

1. I use windows xp up to date and i tested on 2 computers, same result.
2. Where can i find theses logs so i can answer this question ?

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