virgil won't run with cassandra 2.1.1 on the same host

29 views
Skip to first unread message

bluet...@gmail.com

unread,
Oct 27, 2014, 11:58:39 PM10/27/14
to virgil...@googlegroups.com
Hey all,

 I'm trying to start virgil with cassandra 2.1.1 against the IP address I have set as the listen_address:

[root@beta-new:/var/www/admin/virgil] #grep -i listen_address /etc/alternatives/cassandrahome/conf/cassandra.yaml  | grep -v '#'
listen_address: 162.243.109.94

I'm starting virgil like this:

[root@beta-new:/var/www/admin/virgil] #./bin/virgil -host $(hostname -i)

But when I do that I keep getting a port conflict:

WARN  [2014-10-28 03:49:39,243] org.eclipse.jetty.util.component.AbstractLifeCycle: FAILED org.eclipse.jetty.server.Server@69ce2f62: java.net.BindException: Address already in use
! java.net.BindException: Address already in use
!       at java.net.PlainSocketImpl.socketBind(Native Method)
!       at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
!       at java.net.ServerSocket.bind(ServerSocket.java:375)
!       at java.net.ServerSocket.<init>(ServerSocket.java:237)
!       at java.net.ServerSocket.<init>(ServerSocket.java:181)
!       at org.eclipse.jetty.server.bio.SocketConnector.newServerSocket(SocketConnector.java:91)
!       at org.eclipse.jetty.server.bio.SocketConnector.open(SocketConnector.java:80)
!       at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
!       at org.eclipse.jetty.server.bio.SocketConnector.doStart(SocketConnector.java:151)
!       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
!       at org.eclipse.jetty.server.Server.doStart(Server.java:272)
!       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
!       at com.yammer.dropwizard.cli.ServerCommand.run(ServerCommand.java:61)
!       at com.hmsonline.virgil.cli.VirgilCommand.run(VirgilCommand.java:76)
!       at com.hmsonline.virgil.cli.VirgilCommand.run(VirgilCommand.java:1)
!       at com.yammer.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:70)
!       at com.yammer.dropwizard.cli.Command.run(Command.java:112)
!       at com.yammer.dropwizard.AbstractService.run(AbstractService.java:160)
!       at com.hmsonline.virgil.VirgilService.main(VirgilService.java:19)
ERROR [2014-10-28 03:49:39,250] com.yammer.dropwizard.cli.ServerCommand: Unable to start server, shutting down
! java.net.BindException: Address already in use
!       at java.net.PlainSocketImpl.socketBind(Native Method)
!       at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
!       at java.net.ServerSocket.bind(ServerSocket.java:375)
!       at java.net.ServerSocket.<init>(ServerSocket.java:237)
!       at java.net.ServerSocket.<init>(ServerSocket.java:181)
!       at org.eclipse.jetty.server.bio.SocketConnector.newServerSocket(SocketConnector.java:91)
!       at org.eclipse.jetty.server.bio.SocketConnector.open(SocketConnector.java:80)
!       at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
!       at org.eclipse.jetty.server.bio.SocketConnector.doStart(SocketConnector.java:151)
!       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
!       at org.eclipse.jetty.server.Server.doStart(Server.java:272)
!       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
!       at com.yammer.dropwizard.cli.ServerCommand.run(ServerCommand.java:61)
!       at com.hmsonline.virgil.cli.VirgilCommand.run(VirgilCommand.java:76)
!       at com.hmsonline.virgil.cli.VirgilCommand.run(VirgilCommand.java:1)
!       at com.yammer.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:70)
!       at com.yammer.dropwizard.cli.Command.run(Command.java:112)
!       at com.yammer.dropwizard.AbstractService.run(AbstractService.java:160)
!       at com.hmsonline.virgil.VirgilService.main(VirgilService.java:19)

I'm trying to run virgil on the same machine as the cassandra host. What am I getting wrong here?

Thanks
Tim

Brian O'Neill

unread,
Nov 6, 2014, 10:38:09 AM11/6/14
to virgil...@googlegroups.com
Tim,

Did you figure this out?
It looks like you have something else running on the same port Virgil is trying to use.

Check to see if you have anything else running on 8080.

-brian

---

Brian O'Neill

Chief Technology Officer


Health Market Science

The Science of Better Results

2700 Horizon Drive  King of Prussia, PA  19406

M: 215.588.6024 @boneill42    

healthmarketscience.com


This information transmitted in this email message is for the intended recipient only and may contain confidential and/or privileged material. If you received this email in error and are not the intended recipient, or the person responsible to deliver it to the intended recipient, please contact the sender at the email above and delete this email and any attachments and destroy any copies thereof. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipient is strictly prohibited.

 


--
You received this message because you are subscribed to the Google Groups "virgil-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virgil-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages