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
Mosquitto sometime automatically stop ....!!!! #509
Comments
Hello,
With this, you have a chance/lucky to find the problem of stop mosquitto broker ;) |
Which version of mosquitto are you using, and where did you get it from? |
already added in mosquitto.conf file this two line log_dest file /home/mosquitto/mosquitto.log Version 1.4.14 currently get the https://mosquitto.org/ website Thanks!!!!... |
Could you please give the few last line of logs before your Mosquitto stop ? |
here just we get the status about the mosquitto write this command sudo systemctl status mosquitto.service mosquitto.service - LSB: mosquitto MQTT v3.1 message broker Jan 08 11:58:40 DemoServer systemd[1]: Stopped LSB: mosquitto MQTT v3.1 message |
why mosquitto server is stop automatically ??? Active: active (exited) since Tue 2018-04-03 04:59:29 UTC; 7h ago Thanks!!!.... |
Could you show your reproducing procedure from installing mosquitto-broker on a clean Ubuntu? I cannot reproduce your issue. |
On ubuntu 18.04 I install mosquitto using apt-get install mosquitto and ran into a similar issue. It turned out the process was unable to write to the logfile. I discovered this because I wanted to tail -f the logfile as I was starting mosquitto to determine what was going on. It turned out I did not have the permission to read the file.
also notice the unusual owner and groups. I did a chmod a+rw on this file, which allowed me to run mosquitto as a systemd service. hope this helps. |
Wierd. I have a similar problem since some time. I'm running my mosquitto installation (via apt) since long time (on armbian) with auto start (systemctl). As mentioned by @marcwagner I also checked my logfile and see what: it's also empty!
EDIT: Looks like doing a "chmod a+rw" on the file does work it out (looks like normal now after a system reboot). Thank's to @marcwagner for pointing me there! 👍 |
for me the same, thanks for the hint. |
Even I am facing the same issue. @vishuPPatel : How did you resolve this issue ? @toast-uz @ralight @fcarlier @PierreF : Please suggest a work around. |
Hi mosquitto devs, Active: active (exited) This latter and all these are, I must confess, very annoying. The problem seems to lie in the log file permissions, since changing /var/log/mosquitto/mosquitto.log to 666 solves the issue. Can somebody, please fix this? Thank you, |
hello....Friends
Today one of the major problem is staving
mosquitto install on ubuntu16.04 but some time stop mosquitto automatically ????
and after disconnect the mosquitto how to set automatically auto connect??
Can you help me how to track the what reason throw stop the mosquitto.
Thanks in Advance :)
The text was updated successfully, but these errors were encountered: