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
Stopped working on Pi when running via systemctl #825
Comments
Hi, I have this problem too! |
It looks as though a default has changed. Previously, I specified the settings for the standard listener in my local config file. Now, when that happen, it tries to reopen the default listener. If I disable the local config, it works.
As a work around, comment out the I think this is going to cause issues for people. |
Thanks man! This fixes it for now. |
I've got the same problem while updating my Armbian Jessie server; it was trying to open another server at 1883. Commenting out the listener as mentioned by @TotallyInformation works Unfortunately that's not the only problem I had. I had the following other issues after the update:
|
In mosquitto 1.5 on a Pi, I don´t specify a listener on port 1883 in my config (since I instead configure WS, WSS, and TLS). in version
So it appears that, as theorized above, some default settings got changed, that auto-specify a standard MQTT port listener... Should a separate issue be filed, or is this existing one good enough? |
I also have this problem, as a result of the update I have problems between my raspberry and arduinos (esp8266 and mega). Is there any way to remove it and go back to the previous version? Can someone describe how to install a specific version manually? regards |
I had the same trouble. |
I was stuck on the same problem. But the docs say:
So it looks like there will always be this default port for the default listener. But you can change it or only allow localhost on it. And with the help of google groups: # default listener only on localhost
bind_address localhost # or 127.0.0.1
port 1883 # default port, could be omitted or changed to another port.
# TLS listener
listener 8883
... So as @TotallyInformation wrote: commenting out |
This should have been fixed in version 1.5.1. @iBaff , could you check which version you were using? |
to solve this problem you need terminate mosquitto that maybe you suspend only. To terminate mosquitto you should open activity monitor and find mosquitto among processes in the disk. finally you should doing double click on mosquitto(among processes) and click on exit. |
I've just updated my Pi which is running Rasbian Jesse. I guess I got v1.5 at that point.
However, I now always get the following error when booting the Pi:
As you can see, it appears to be trying to open twice. The result is that no connections are possible.
I removed Mosquitto and reinstalled after manually deleting
/etc/mosquitto
and weirdly, I still get the same problem even though I now have no config file at all.When I run it manually from the command line, everything works as expected. Importantly, running without a config file means that I don't get websockets on port 9001 which is what I expect so I can't work out what is causing that configuration to still be active when running via systemctl.
Confused!! Can anyone help? Thanks.
The text was updated successfully, but these errors were encountered: