Address already in use

Couchbase JIRA | Prerna Manaktala | 8 months ago
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    {noformat} 1. Start a local cluster: ./samples/local/bin/ java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) CLUSTERDIR=/opt/couchbase/cbas-install/samples/local INSTALLDIR=/opt/couchbase/cbas-install Waiting for cluster to start..done See output in /opt/couchbase/cbas-install/samples/local/logs/ 2. Issue curl command: curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode statement@file.txt http://localhost:8095/analytics/service Error received: { "requestID": "79492951-d037-4717-b9cd-69b6cbc860f3", "signature": "*", "errors": [{ "code": "1", "msg": " Asterix Cluster is in UNUSABLE state.\n One or more Node Controllers have left or haven't joined yet.\n" }], "status": "fatal", "metrics": { "elapsedTime": "60.008365743s", "executionTime": "60.007577309s", "resultCount": "0", "resultSize": "0" } } Error reported in cc.log: Address already in use at Method) at at at at at at org.apache.hyracks.ipc.impl.IPCConnectionManager.<init>( at org.apache.hyracks.ipc.impl.IPCSystem.<init>( at<init>( at 3. Result of jps: jps 7233 NCService 7234 NCService 7310 Jps 4. netstat -anp | grep -i "8095" tcp 0 0 :::8095 :::* LISTEN 32736/java -aef | grep -i 32736 root 7448 6179 0 11:50 pts/0 00:00:00 grep -i 32736 root 32736 1 0 Aug11 ? 00:07:26 /usr/java/jdk1.8.0_45//bin/java -Djava.rmi.server.hostname=localhost -classpath :/root/cbas-yingyi/etc:/root/cbas-yingyi/repo/* -Dapp.repo=/root/cbas-yingyi/repo -Dapp.home=/root/cbas-yingyi -Dbasedir=/root/cbas-yingyi -app-cc-main-class -config-file /root/cbas-yingyi/samples/local/conf/cc.conf 6. Basically above process was using the port, killed the process and curl command worked fine. 7. Running the startup script should have thrown some kind of connection error. {noformat}

    Couchbase JIRA | 8 months ago | Prerna Manaktala Address already in use
  2. 0
    samebug tip
    Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.
  3. 0
    samebug tip
    It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [WFLY-3659] Enable Digest authentication for web applications backed by JAAS security domains. by darranl · Pull Request #8176 · wildfly/wildfly · GitHub | 11 months ago org.jboss.msc.service.StartException in service WFLYSRV0083: Failed to start the http-interface service
  6. 0

    Bug 255381 – Netbeans doesn't connect to Wildfly 9.0.1.Final | 12 months ago
    jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

  1. jstrayer 1 times, last 3 weeks ago
  2. tomthomas 1 times, last 3 weeks ago
  3. tyson925 2 times, last 3 weeks ago
  4. Dunmer 3 times, last 3 weeks ago
  5. osvzs 1 times, last 3 weeks ago
49 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis


    Address already in use

  2. Java RT
    1. Method)
    6 frames
  3. org.apache.hyracks
    1. org.apache.hyracks.ipc.impl.IPCConnectionManager.<init>(
    2. org.apache.hyracks.ipc.impl.IPCSystem.<init>(
    4 frames