4

I installed mosquitto for Windows, and ran the following command from command prompt as administrator:

net start mosquitto

I get the following message:

The Mosquitto Broker service is starting. The Mosquitto Broker service could not be started.

The service did not report an error.

What could be the issue? Thanks!

1 Answer 1

4

When running Mosquitto Broker as a service on Windows, it will always look for a config file in the MOSQUITTO_DIR path.

If you do not have a config file there, it will fail. Usually the installer creates this for you, I suggest you to check if the configuration file is present.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.