Mosquitto failed on v7.8.2 with RPi B+

Hello,
i upgraded my RPi B+ dietpi (buster) from v7.6.2 to v7.8.2 and now the mosquitto service start failed.
(mosquitto is 2.0.13)

When tipping “mosquitto” in shell i get:
“Ungültiger Maschienenbefehl”

Testing blank ARMv6 installation with 2 different RPis and new dietpi-bullseye-img,
mosquitto installation with dietpi-software after dietpi installation/update completed:
RPi B+ failed with error (see above)
RPi 2 B successful


Any idea what affected the RPi B+?

could you share following.

systemctl status mosquitto
journalctl -u mosquitto

Maybe there are some logs

systemctl status mosquitto
● mosquitto.service - Mosquitto MQTT Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Mon 2021-11-15 03:38:22 CET; 8h ago
     Docs: man:mosquitto.conf(5)
           man:mosquitto(8)
  Process: 620 ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto (code=exited, status=0/SUCCESS)
  Process: 621 ExecStartPre=/bin/chown mosquitto /var/log/mosquitto (code=exited, status=0/SUCCESS)
  Process: 622 ExecStartPre=/bin/mkdir -m 740 -p /run/mosquitto (code=exited, status=0/SUCCESS)
  Process: 623 ExecStartPre=/bin/chown mosquitto /run/mosquitto (code=exited, status=0/SUCCESS)
  Process: 624 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=killed, signal=ILL)
 Main PID: 624 (code=killed, signal=ILL)

Nov 15 03:38:22 DietPi systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Nov 15 03:38:22 DietPi systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 5.
Nov 15 03:38:22 DietPi systemd[1]: Stopped Mosquitto MQTT Broker.
Nov 15 03:38:22 DietPi systemd[1]: mosquitto.service: Start request repeated too quickly.
Nov 15 03:38:22 DietPi systemd[1]: mosquitto.service: Failed with result 'signal'.
Nov 15 03:38:22 DietPi systemd[1]: Failed to start Mosquitto MQTT Broker.



journalctl -u mosquitto
-- Logs begin at Sun 2021-11-14 22:17:11 CET, end at Mon 2021-11-15 11:38:51 CET. --
Nov 14 22:17:28 DietPi systemd[1]: Starting Mosquitto MQTT Broker...
Nov 14 22:17:29 DietPi systemd[1]: mosquitto.service: Main process exited, code=killed, status=4/ILL
Nov 14 22:17:29 DietPi systemd[1]: mosquitto.service: Failed with result 'signal'.
Nov 14 22:17:29 DietPi systemd[1]: Failed to start Mosquitto MQTT Broker.
Nov 14 22:17:30 DietPi systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Nov 14 22:17:30 DietPi systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 1.
Nov 14 22:17:30 DietPi systemd[1]: Stopped Mosquitto MQTT Broker.

could you have a look into /var/log/mosquitto if there are any error logs available

the folder is empty

is there any option (in dietpi.txt) to do a blank install and update to a previous version not 7.8.2?

I doubt the issue is with DietPi version. Probably you got an update of the Mosquitto software package via apt package manager. Maybe this version is not working on ARMv6 boards like RPi1.

I will do a test on RPi1 and RPi3b+

Yes seems to be an issue of Mosquitto 2.0.13 not being able to be installed on Rpi1. I tested on an older version of DietPi v7.6.2. On a RPi3B+ it’s fine, while on RPi1 it’s failing. There is an issue open on Mosquitto GitHub already

https://github.com/eclipse/mosquitto/issues/2384

i got it!

it seems the problem with RPi B+ is on libwebsockets18 package from 12-Nov-2021
02-Sep-2021 is OK (with mosquitto 2.0.12)

let’s see what Mosquitto devs will do with it.