Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When run zookeeper-server-start.bat, always get the error: The filename, directory name, or volume label syntax is incorrect. #77

Open
kelvingao2020 opened this issue Nov 29, 2021 · 3 comments

Comments

@kelvingao2020
Copy link

To start zookeeper, I used the following command in Windows:
kafka>.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties

But I got the follow error:
The filename, directory name, or volume label syntax is incorrect.

What is wrong with that?

Thanks!

@nitinsonker78
Copy link

to start zookeeper the "zookeeper-server-start.bat " file have to run with "zookeeper.properties" and generally "zookeeper-server-start.bat" file stored in "kafka/bin/zookeeper-server-start.bat" and "zookeeper.properties" stored in "kafka/config/zookeeper.properties".
and for running zookeeper run this command:

bin/zookeeper-server-start.sh config/zookeeper.properties

@SaifJava575
Copy link

@nitinsonker78 bin/zookeeper-server-start.sh config/zookeeper.properties this will be run linux or mac os not windows

@ankit029akgec
Copy link

Hi @kelvingao2020 did you get any solution for the above error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants