Forum: Installation

Post: Helloworld program throwing error

Helloworld program throwing error
bindas45
Oct 20, 2014
Hello there,

I am trying to run hello world application and getting below error.

When I tried to do voltadmin shutdown I get this. Please advice.

Status: -1
Information: Connection broken



Build: 4.7 voltdb-4.7-0-ge2560ad-local Enterprise Edition
Connecting to the VoltDB cluster leader localhost/127.0.0.1:3021
FATAL: Logging ports that are bound for listening, this doesn't include ports bound by outgoing connections which can also cause a failure to bind
FATAL: The PID of this process is 31713
FATAL: COMMAND     PID    USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
FATAL: rpcbind    2032     rpc    8u  IPv4    10729      0t0  TCP *:111 (LISTEN)
FATAL: rpcbind    2032     rpc   11u  IPv6    10734      0t0  TCP *:111 (LISTEN)
FATAL: rpc.statd  2050 rpcuser    9u  IPv4    10821      0t0  TCP *:50465 (LISTEN)
FATAL: rpc.statd  2050 rpcuser   11u  IPv6    10829      0t0  TCP *:43935 (LISTEN)
FATAL: sshd       2311    root    3u  IPv4    11664      0t0  TCP *:22 (LISTEN)
FATAL: sshd       2311    root    4u  IPv6    11666      0t0  TCP *:22 (LISTEN)
FATAL: java       8823    root   48u  IPv4  7338977      0t0  TCP 10.1.10.159:22021 (LISTEN)
FATAL: java       8823    root   53u  IPv4  7338982      0t0  TCP 127.0.0.1:22181 (LISTEN)
FATAL: java       8823    root   67u  IPv4  7338998      0t0  TCP *:22080 (LISTEN)
FATAL: java       8823    root   83u  IPv4  7339126      0t0  TCP 10.1.10.159:22212 (LISTEN)
FATAL: java       8823    root   84u  IPv4  7339127      0t0  TCP 10.1.10.159:22211 (LISTEN)
FATAL: java       8823    root   85u  IPv4  7339128      0t0  TCP *:22090 (LISTEN)
FATAL: java       8823    root   94u  IPv4  7339395      0t0  TCP *:22556 (LISTEN)
FATAL: java       8823    root   95u  IPv4  7339396      0t0  TCP *:22557 (LISTEN)
FATAL: java       8823    root   98u  IPv4  7339399      0t0  TCP *:22555 (LISTEN)
FATAL: cor       22315    root    9u  IPv4  9081567      0t0  TCP *:39659 (LISTEN)
FATAL: cor       22315    root   34u  IPv4  9081895      0t0  TCP *:49000 (LISTEN)
FATAL: cor       22315    root  284u  IPv4  9081662      0t0  TCP *:62432 (LISTEN)
FATAL: cor       22315    root  296u  IPv4  9081893      0t0  TCP 10.1.10.159:49001 (LISTEN)
FATAL: java      27287    root  208u  IPv4 10753430      0t0  TCP 10.1.10.159:15302 (LISTEN)
FATAL: java      27287    root  229u  IPv4 10753433      0t0  TCP 10.1.10.159:15300 (LISTEN)
FATAL: java      27287    root  236u  IPv4 10753434      0t0  TCP 10.1.10.159:15349 (LISTEN)
FATAL: java      27287    root  305u  IPv4 10753446      0t0  TCP 10.1.10.159:15351 (LISTEN)
FATAL: java      27287    root  547u  IPv4 10759772      0t0  TCP *:47464 (LISTEN)
FATAL: java      27287    root  554u  IPv4 10759794      0t0  TCP *:15160 (LISTEN)
FATAL: java      28173    root   93u  IPv4 10761449      0t0  TCP *:9090 (LISTEN)
FATAL: java      28962    root   43u  IPv4 10773121      0t0  TCP *:8081 (LISTEN)
FATAL: java      28962    root   44u  IPv4 10773122      0t0  TCP *:8009 (LISTEN)
FATAL: java      28962    root   50u  IPv4 10773125      0t0  TCP 127.0.0.1:8005 (LISTEN)
FATAL: nameserv  30375    root    5u  IPv4  5707307      0t0  TCP *:15149 (LISTEN)
FATAL: java      30391    root  229u  IPv4  5707345      0t0  TCP *:1522 (LISTEN)
FATAL: java      30391    root  254u  IPv4  5707389      0t0  TCP *:52510 (LISTEN)
FATAL: java      31203    root   48u  IPv4 10789683      0t0  TCP 127.0.0.1:3021 (LISTEN)
FATAL: java      31203    root   53u  IPv4 10789688      0t0  TCP 127.0.0.1:2181 (LISTEN)
FATAL: java      31203    root   67u  IPv4 10789700      0t0  TCP *:8084 (LISTEN)
FATAL: java      31203    root   91u  IPv4 10789822      0t0  TCP *:21212 (LISTEN)
FATAL: java      31203    root   92u  IPv4 10789823      0t0  TCP *:21211 (LISTEN)
FATAL: java      31203    root   98u  IPv4 10789969      0t0  TCP *:5556 (LISTEN)
FATAL: java      31203    root   99u  IPv4 10789970      0t0  TCP *:5557 (LISTEN)
FATAL: java      31203    root  102u  IPv4 10789973      0t0  TCP *:5555 (LISTEN)
FATAL: java      31428    root  232u  IPv4 10794517      0t0  TCP *:64036 (LISTEN)
FATAL: ZooKeeper service unable to bind to port : 2181
FATAL: java.net.BindException: Address already in use
VoltDB has encountered an unrecoverable error and is exiting.
The log may contain additional information.
jpiekos
Oct 20, 2014
> FATAL: ZooKeeper service unable to bind to port : 2181

You have a port collision. Another process is using port 2181.

John