Skip to content
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 does not start on Synology DSM 6.0 #409

Closed
RobertOliverIT opened this issue Mar 29, 2017 · 1 comment
Closed

Mosquitto does not start on Synology DSM 6.0 #409

RobertOliverIT opened this issue Mar 29, 2017 · 1 comment

Comments

@RobertOliverIT
Copy link

RobertOliverIT commented Mar 29, 2017

I have installed version 1.4.9-5 on DSM version 6.0.2-8451 Update 9, but Mosquitto does not start.

I have tried the solution:

======
The problem is that the "su" command used in the start-stop-status script fails to change the user to the "mosquitto" user. That is because the "adduser" command from the installer script does not seem to add an entry for the mosquitto user in the /etc/shadow file -- Solve that by executing:

echo "mosquitto:*:10933:0:99999:7:::" >> /etc/shadow

======

But this does not work: -sh: /etc/shadow: Permission denied

And I also have tried the solution:

=======

uninstall package
make a new user MOSQUITTO - give Admin privileges (use VERY tough password)
log in AS MOSQUITTO
Install package

=======

But this also does not work.

Can you provide the solution?

@RobertOliverIT RobertOliverIT changed the title Moquitto does not start on Synology DSM 6.o Mosquitto does not start on Synology DSM 6.0 Mar 29, 2017
@RobertOliverIT
Copy link
Author

After restart NAS Mosquitto could be started!

@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant