if i leave it empty i get the error if i give 0.0.0.0 it works On Tue, Nov 3, 2009 at 2:58 PM, Sammy Yu <[email protected]> wrote:
> Hi, > I would check to see the ListenAddress in storage-conf.xml to see > if it's an address that assigned to this machine. > > Cheers, > Sammy > > On Tue, Nov 3, 2009 at 2:44 PM, <[email protected]> wrote: > > I get the following error when i try to start cassandra from the latest > git. > > If it is very obvious on what is going wrong here, Please point out > > thanks > > > > bin/cassandra -f > > Listening for transport dt_socket at address: 8888 > > DEBUG - Loading settings from bin/../conf/storage-conf.xml > > DEBUG - Syncing log with a period of 1000 > > DEBUG - opening keyspace Keyspace1 > > DEBUG - adding Super1 as 0 > > DEBUG - adding Standard2 as 1 > > DEBUG - adding Standard1 as 2 > > DEBUG - adding StandardByUUID1 as 3 > > DEBUG - adding LocationInfo as 4 > > DEBUG - adding HintsColumnFamily as 5 > > DEBUG - opening keyspace system > > > > > > INFO - Saved Token not found. Using > 169157697452904505324380333709918946833 > > ERROR - Exception encountered during startup. > > java.net.BindException: Cannot assign requested address > > at sun.nio.ch.Net.bind(Native Method) > > at > > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) > > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) > > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) > > at > > > org.apache.cassandra.net.MessagingService.listen(MessagingService.java:235) > > at > > > org.apache.cassandra.service.StorageService.start(StorageService.java:285) > > at > > > org.apache.cassandra.service.CassandraServer.start(CassandraServer.java:73) > > at > > > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:94) > > at > > > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:166) > > Exception encountered during startup. > > java.net.BindException: Cannot assign requested address > > at sun.nio.ch.Net.bind(Native Method) > > at > > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) > > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) > > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) > > at > > > org.apache.cassandra.net.MessagingService.listen(MessagingService.java:235) > > at > > > org.apache.cassandra.service.StorageService.start(StorageService.java:285) > > at > > > org.apache.cassandra.service.CassandraServer.start(CassandraServer.java:73) > > at > > > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:94) > > at > > > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:166) > > > > > -- Bidegg worlds best auction site http://bidegg.com
