eclipse / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
8.63k stars 2.33k forks source link

mosquitto_passwd -b /mosquitto/config/pwdfile.conf admin command failed #2617

Open donny2003 opened 1 year ago

donny2003 commented 1 year ago

2.0.15, 2.0, 2, latest mosquitto_passwd doesnt work with anything, respond "Killed" to everything.

command: /mosquitto/config # mosquitto_passwd -b /mosquitto/config/pwdfile.conf admin Public /mosquitto/config # Killed pwdfile.conf add user failed

ralight commented 1 year ago

What platform are you running on? I have no problems using the command on Linux x86-64. The image is:

eclipse-mosquitto   2                429daab969ad   23 hours ago   11.9MB
donny2003 commented 1 year ago

My platform is docker images of Synology NAS , which is based on X86,Thank you! eclipse-mosquitto latest 429daab969ad 26 hours ago 11.9MB

ralight commented 1 year ago

x86 as in 32-bit? Seems unlikely :) I don't have hardware to test against if that's the case.

baumnkz commented 1 year ago

I have the same issue on the same platform :(

mosquitto_passwd respond "Killed" and returns 137 code

My platform: Linux south 3.10.108 #42661 SMP x86_64 GNU/Linux synology_braswell_916+

celicajames commented 1 year ago

I have exactly the same on Synology, any solution yet?

celicajames commented 1 year ago

For anyone else with this issue, I found the solution here: https://youtu.be/ABb-63y0Em4 You're welcome!