- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Access is denied error while starting KAFKA first time
- Labels:
-
Apache Kafka
Created on
‎06-10-2021
01:14 AM
- last edited on
‎06-10-2021
10:01 PM
by
VidyaSargur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting following error. I correctly put the path in server.properties, zookeeper.properties and zoo.cfg
cmd>C:\kafka_2.11-2.0.0> .\bin\windows\kafka-server-start.bat .config\server.properties
Access is denied.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \logs\server.log (The system cannot find the path specified)
Created on ‎06-10-2021 05:05 AM - edited ‎06-10-2021 05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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\zookeeper.properties
C:\kafka_2.11-2.0.0> bin\kafka-server-start.bat config\server.properties
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\zookeeper.properties
> C:\kafka_2.11-2.0.0\bin\kafka-server-start.bat C:\kafka_2.11-2.0.0\config\server.properties
