Gary Dusbabek <gdusbabek <at> gmail.com> writes:
> > On Tue, Nov 3, 2009 at 15:44, <mobiledreamers <at> gmail.com> wrote: > > 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 > > You will see that error if <StoragePort> is being used by other system > processes. Try using a different port. If you're using a unixy > system, you can get a good idea if the port is in use from netstat: > > E.g. see if port 7000 is being listened on: > > netstat -an | grep 7000 > > Cheers, > > Gary. > > I am using 0.6.9 version. I am able to run it successfully on my windows machine. On ubuntu I get Cannot assign requested address error. I checked whether storage port (7000) and thriftport(9160) is being used by running the command u mentioned. They are not being used. I even tried using different ports but am getting same error. I also tried putting 0.0.0.0 in Thrift Address.