8091 not available, answer on 8092
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!
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
Hello.
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.
2- Can you access the memcached protol
> in a terminal do a telnet 127.0.0.1 11211
No
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!
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
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.
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.
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
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
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
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...
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.
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
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 ?
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- 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 ?
sorry, I meant tried:
http://localhost:8092/
and got:
{"couchdb":"Welcome","version":"1.2.0a-be4fa61-git","couchbase":"2.0.0-1976-rel-community"}