Cannot connect to localhost on port 8091 to complete install


#1

I went through the install process. When it opens my browser to have me complete the installation process, I cannot seem to connect to the admin via port 8091. Thoughts?


#2

I’m not sure I will be able to help you but to shorten your time to solution by the experts I suggest you to provide the following:

  1. Operation system and version
  2. Couchbase version
  3. What kind of error or result do you get when you are trying to get localhost on port 8091

Regards


#3

You are correct. I should have included that info…

Windows 7
Couchbase 3.0
The error just says connection refused


#4

Just curious if anyone else out there has run into this and has a solution. I ran a netstat and it does not even list port 8091.

I am simply confused as to why I am receiving ERR_CONN_REFUSED


#5

The most common cause is a firewall. Does the Couchbase service show as running in the services control panel? If not, there may be some other problem.

When you say you ran a netstat, you mean that something like netstat -an doesn’t show LISTEN on port 8091? That’d be an indication that the process isn’t even running.


#6

Yes, when run netstat, port 8091 does not even display. I did check my services and the couchbase server is running.

FYI, I tried to upload screenshots, but forum would not allow me to do so since I am new here.


#7

We’ll need to look at logs to see why it’s not able to start. Couchbase Server ships with tool called cbcollect_info that is able to grab all the logs and diagnostics and pack it into .zip file. Please use that tool and pass resultant .zip file to us.

Best way to do that is via jira ticket (http://www.couchbase.com/issues/secure/Dashboard.jspa).


Cannot complete install. localhost refused to connect
#8

There are several ways that you can do to diagnosis what’s going on here:

  1. From Windows Task Manager, go to process tab and click “Show processes from all users”. Check if there are any processes named as erl.exe, memcached.exe and moxi.exe.
  2. go to your root installation directory, say, c:\test, then go to c:\test\etc\couchbase, and open static_config. check if all path_configs point to valid directory path.
  3. run cbcollect_info.exe under c:\test\bin directory and upload the zip file for further analysis.

#9

I put in a ticket after running cbcollect. Jira will not allow me to attach the zip file.


#10

Check Task Manager…

Found two erl.exe
no memcached.exe or moxi.exe

Checked static_config…no tmp directory or couchbase-server.node file

Ran cbcollect…could not upload due to Jira hindering.

Let me know if there is anything else I can do or that you need.


#11

Sorry for that jira problem. But note that you can still upload somewhere else. Like google drive. And post link.


#12

Here is the cbcollect zip off of Google Drive…

https://drive.google.com/file/d/0B172bOzSeQ7vOHplZFdTYXpqNVk/view?usp=sharing


#13

May I ask where you installed the binary installation package from? In looking at the logs, I see the local installation at:

c:/Jenkins/workspace/cs_301_win6408/couchbase/couchdb/src/couchdb

Did you build this from source, or install from the installation package at:

http://packages.couchbase.com/releases/3.0.1/couchbase-server-enterprise_3.0.1-windows_amd64.exe

Choose “Run as Administrator” when running the executable installer.

Also, did you have it running previously by chance, and needed to reinstall?


#14

I simply downloaded the package form couchbase.com and installed it. I did not ‘run as administrator’. I have admin rights on my machine, but I can try that.

I did not have it running previously.


#15

So you explicitly installed it to c:/Jenkins/workspace/cs_301_win6408/couchbase/couchdb/src/couchdb ? Can you see what is at that location? Or is that just the directory structure for this class. Is it possible that this machine already has the source installed? Can you test in a Virtual Machine on this box? Can you test on another system?


#16

Also, what is the specific download location and filename that you used?


#17

Filename - couchbase-server_3.0.0-beta-windows_amd64.exe
Location - http://www.couchbase.com/nosql-databases/downloads (Community Edition)