I think it's strange if the procces wat not running but u still got the exception if the address already used. Maybe u can try to restart your machine and try to start zookeeper again On Oct 24, 2015 10:12 PM, "researcher cs" <[email protected]> wrote:
> no it's empty > > On Sat, Oct 24, 2015 at 5:09 PM, Youzha <[email protected]> wrote: > >> Can u check with netstat command again. Is the proccess still running? >> On Oct 24, 2015 9:45 PM, "researcher cs" <[email protected]> >> wrote: >> >>> i killed it but when i tried to restart zookeeper problem still ! >>> >>> On Sat, Oct 24, 2015 at 4:40 PM, Youzha <[email protected]> wrote: >>> >>>> Like angkur said. >>>> Then kill with command >>>> Kill -9 2243 >>>> On Oct 24, 2015 9:39 PM, "researcher cs" <[email protected]> >>>> wrote: >>>> >>>>> tcp6 0 0 :::2181 :::* LISTEN 0 14885 2243/java like this ! >>>>> >>>>> On Sat, Oct 24, 2015 at 4:34 PM, researcher cs < >>>>> [email protected]> wrote: >>>>> >>>>>> Thanks for replying , but the last command kill -9 what ? >>>>>> >>>>>> On Sat, Oct 24, 2015 at 4:08 PM, Youzha <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Maybe u can try this command. >>>>>>> >>>>>>> Netstat -netulp | grep 2181 >>>>>>> >>>>>>> Then check the pid and kill with kill -9 pid. >>>>>>> Cmiiw >>>>>>> On Oct 24, 2015 8:53 PM, "researcher cs" <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> I'm new to zookeeper and tried to start server by using >>>>>>>> >>>>>>>> ./zkServer.sh start >>>>>>>> >>>>>>>> but got this >>>>>>>> >>>>>>>> binding to port 0.0.0.0/0.0.0.0:2181 2015-10-23 22:08:09,952 - FATAL >>>>>>>> [main:ZooKeeperServerMain@62] - Unexpected exception, exiting >>>>>>>> abnormally >>>>>>>> java.net.BindException: Address already in use >>>>>>>> >>>>>>>> is there any port which i can use it ? >>>>>>>> >>>>>>>> or is there any solution to solve this problem ? >>>>>>>> >>>>>>>> i tried to kill process in the port 2181 by using this >>>>>>>> >>>>>>>> sudo fuser -k 2181/tcp >>>>>>>> >>>>>>>> but problem is still >>>>>>>> >>>>>>>> my zoo.cfg is >>>>>>>> >>>>>>>> tickTime=2000 >>>>>>>> initLimit=10 >>>>>>>> syncLimit=5 >>>>>>>> dataDir=/var/zookeeper >>>>>>>> clientPort=2181 >>>>>>>> >>>>>>>> >>>>>> >>>>> >>> >
