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
Not able to reload mosquitto on Ubuntu 16.04 #1424
Comments
Is this a Raspberry Pi? Others have been having problems with Pi 1 and Pi 2 devices. |
No, this is a server that runs on Ubuntu 16.04 Server. |
What version of mosquitto, and where did you install from? |
Mosquitto Version 1.6.6 This is an example of how do I install mosquitto MQTT broker. |
Hi railight Thank for respond. Currently, the main issue is that mosquitto service is not able to reload. However, it still can run as usual. Even when I restart the services. Just that it couldn't reload... |
I understand. Are all files in /etc/mosquitto accessible by the mosquitto user? It shouldn't crash, but that is a possible cause for problems. |
Are you able to debug on this machine? If so, could you If you aren't able to debug on this machine, then could you please share more of your configuration? I haven't been able to reproduce this so far on a 16.04 machine. |
Hi ralight, I will get back on you once I tested on what you have suggested. Thanks! |
the server only run in root user, temporary no other super user |
Mosquitto will try to change to the |
Hi railight, I failed to debug by using the valgrind, It will stop the services, I will send you the vglog. And I wasn't able to install the This will be my configuration /etc/mosquitto/conf.d/default.confGeneral Configuration Default Listener Listener 8884 (Third Party Customer) WebSocket Insecure Connection 1883 /etc/mosquitto/mosquitto.confpid_file /var/run/mosquitto.pid persistence true log_dest file /var/log/mosquitto/mosquitto.log include_dir /etc/mosquitto/conf.d' |
Could you please try updating, this should be fixed. |
Hi Ralight Thank You for your support and help. I have updated on the servers and yes I am able to manual reload the mosquitto. For another question is that, will also affect other versions of Mosquitto? As I have some cloud servers that used another version (I believe is 1.4.8). Once again, thank for your help. |
The other versions should be unaffected. |
Hi ralight, one question as our end customer come to us and ask me on it. I would like to know about the issue, could you specify what kind of issue we were faced before? Once again, thank for your help With Regards |
It was something like if you had a TLS listener and non-TLS listener configured, and had a persistent client that was disconnected at the time the reload occurred, then an incomplete check could cause a null pointer to be derefenced. |
Hi,
This case happened on yesterday morning (GMT + 08). and it doesn't restart/start the mosquitto service. I get this issue from my syslog.
// This when I do /etc/init.d/mosquitto reload
As I understand that
Please help and I wouldn't hesitate to give out what information you need...
The text was updated successfully, but these errors were encountered: