4

if I run mosquitto manually mosquitto

i can connect to it and everything works perfectly

but if I run mosquitto as a service sudo service mosquitto start

then it doesen't respond and nothing works even though sudo service mosquitto status says its active

am I doing something wrong?

  • How are you testing it? How do youi know it does not work? – Steve Robillard Jun 1 '17 at 7:22
  • node-red says it cant connect to broker and my esp's using mqtt cant connect to it either – cTurtle98 Jun 5 '17 at 5:53
1
cd /var/lib/mosquitto
sudo rm mosquitto.db
sudo reboot

--> and everything was fine again...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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