Support Questions

Find answers, ask questions, and share your expertise

Access is denied error while starting KAFKA first time

New Contributor

I am getting following error. I correctly put the path in, and zoo.cfg

cmd>C:\kafka_2.11-2.0.0> .\bin\windows\kafka-server-start.bat .config\
Access is denied.
log4j:ERROR setFile(null,true) call failed. \logs\server.log (The system cannot find the path specified)





try this: open your cmd: change directory with : cd C:\kafka_2.11-2.0.0 

if you change directory you will do this

C:\kafka_2.11-2.0.0> bin\zookeeper-server-start.bat   config\

C:\kafka_2.11-2.0.0> bin\kafka-server-start.bat   config\

if you don't change directory do this.

>C:\kafka_2.11-2.0.0\bin\zookeper-server-start.bat  C:\kafka_2.11-2.0.0\config\

> C:\kafka_2.11-2.0.0\bin\kafka-server-start.bat   C:\kafka_2.11-2.0.0\config\