Hi,

Could you Post your zookeeper.properties and server.properties file details?

Thanks,

On 9 August 2017 at 07:08, shyla deshpande <deshpandesh...@gmail.com> wrote:

> I have even tried deleting the contents of log.dirs and dataDir before
> starting the zookeeper and kafka server, still no success. I appreciate any
> help.
>
> On Tue, Aug 8, 2017 at 10:43 PM, shyla deshpande <deshpandesh...@gmail.com
> >
> wrote:
>
> > I was successfully using it for many months, and now I am unable to.
> > I have used lsof -i tcp:9092 to see any process using 9092 port and I
> > don't see any process using 9092.
> >
> > On Tue, Aug 8, 2017 at 10:28 PM, shyla deshpande <
> deshpandesh...@gmail.com
> > > wrote:
> >
> >> Hello all,
> >>
> >> I am trying to use kafka locally on my Mac. When I am trying to start
> the
> >> kafka server I get the following error. Please help. Thanks.
> >>
> >> [2017-08-08 22:16:37,319] FATAL [Kafka Server 0], Fatal error during
> >> KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
> >> kafka.common.KafkaException: Socket server failed to bind to
> 0.0.0.0:9092:
> >> Address already in use.
> >> at kafka.network.Acceptor.openServerSocket(SocketServer.scala:327)
> >> at kafka.network.Acceptor.<init>(SocketServer.scala:252)
> >> at kafka.network.SocketServer$$anonfun$startup$1.apply(SocketSe
> >> rver.scala:91)
> >> at kafka.network.SocketServer$$anonfun$startup$1.apply(SocketSe
> >> rver.scala:83)
> >> at scala.collection.mutable.ResizableArray$class.foreach(Resiza
> >> bleArray.scala:59)
> >> at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
> >> at kafka.network.SocketServer.startup(SocketServer.scala:83)
> >> at kafka.server.KafkaServer.startup(KafkaServer.scala:222)
> >> at kafka.server.KafkaServerStartable.startup(KafkaServerStartab
> >> le.scala:38)
> >> at kafka.Kafka$.main(Kafka.scala:65)
> >> at kafka.Kafka.main(Kafka.scala)
> >> Caused by: java.net.BindException: Address already in use
> >> at sun.nio.ch.Net.bind0(Native Method)
> >> at sun.nio.ch.Net.bind(Net.java:433)
> >> at sun.nio.ch.Net.bind(Net.java:425)
> >> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelI
> >> mpl.java:223)
> >> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> >> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
> >> at kafka.network.Acceptor.openServerSocket(SocketServer.scala:323)
> >> ... 10 more
> >>
> >
> >
>

Reply via email to