-
Notifications
You must be signed in to change notification settings - Fork 4
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 doesn't start (can't open pwfile) #67
Comments
Please run
Please show us the output of that (it ought to be yellow or green). After bootrap, please check with |
The file is there. It has r--r----- permissions and is owned by root.
|
The file belongs to user Would you please, as a quick fix, change their ownership:
(The colon behind the username is no mistake; the group will automatically be chosen from the user's You should then be able to launch mosquitto:
Should that be the fix, we'll fix permanently in our setup obviously. I think Mosquitto is tightening down on their security. Please also then show content of |
Also doesn't work.
Even after giving those 2 files "full" permissions (so
The only difference I could see; " Content of
Output of
|
Please try restarting mosquito as earlier and show the errors in the last 20 or so lines of /var/log/mosquitto/mosquitto.log
|
@timocarnill a side note if I may: please note that giving files permissions 0777 ( |
Sorry @timocarnill and @amrul-jamrul are having trouble. I'm quite sure it's a permission / ownership problem. If either of you could please, shortly after attempting a Mosquitto start show the last lines of the mosquitto log, I'm sure we'll find it: (Something must have recently changed) $ sudo systemctl restart mosquitto
$ sudo tail -30 /var/log/mosquitto/mosquitto.log |
I think it's now solved, and apologies for the error which I introduced (or rather: didn't properly fix) in #66 If you would both please: $ git pull
$ sudo ./bootstrap.sh the ownership / permissions of
|
The setup script works for me now, thank you. |
Still not working for me after |
Sorry to hear you're still having trouble. I do hope you ran the You can double-check the pull worked:
To answer your question: the issue being Mosquitto, we can wipe that installation with these commands:
The former will uninstall the package, and the latter will clear the directory completely. Re-run |
Should that still not work, which would surprise me a bit, please provide the tail 30 lines of the |
I'm at a loss... Still doesn't work. output of
|
Is that the complete output of |
please show |
When I run quicksetup, it all seems to run well, but at the last part mosquitto won't start, seemingly because it's not able to open a password file. (my hostname is wireguard-vpn because that's what I used to use this VPS for, but wireguard is removed now. I do have tailscale installed and running if that's relevant)
/var/log/mosquitto/mosquitto.log
The last 4 lines repeat a few times
Output of
doas systemctl status mosquitto.service
Output of
doas journalctl -xeu mosquitto.service
my configuration.yaml: (sensitive information replaced with #)
The text was updated successfully, but these errors were encountered: