Soner
Soner

Reputation: 1282

Kafka server start is not working on command line

If i try to run below command in order to start kafka server on CMD (Command Propmt)

C:\kafka_2.12-0.11.0.0\bin\windows\kafka-server-start.bat ..\..\config\server.properties

I get error as below

enter image description here

Question:

I just started to learn kafka so if i try to run above command i can not start kafka server.Where i miss exactly ? I still get error despite i delete log files.How can i start kafka server ?

Any help will be appreciated.

Thanks.

Upvotes: 1

Views: 7498

Answers (2)

ViV
ViV

Reputation: 2118

I had the same problem. I restarted my machine thinking the file in contention will be cleared after restart. That didn't help. So, I cleared out the entire tmp\kafka-logs directory and restarted the kafka server and it worked fine.

Upvotes: 0

yaozhong
yaozhong

Reputation: 11

See if the log.dirs configuration is wrong

Upvotes: 1

Related Questions