Perhaps this should go to a different forum, but many people here have 
experience with mosquitto. I'm running buster on a pi 4 model B. I  was 
using MQTTSubscribe and when it stopped working I found that the mosquitto 
broker had stopped.
I decided to purge mosquitto and re-install, but I got these errors:

Setting up mosquitto (2.0.12-0mosquitto1~buster1) ...
Job for mosquitto.service failed because a timeout was exceeded.
See "systemctl status mosquitto.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mosquitto, action "start" failed.
● mosquitto.service - Mosquitto MQTT Broker daemon
   Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled; vendor 
preset: enabled)
   Active: activating (auto-restart) (Result: timeout) since Sun 2021-12-19 
13:41:03 MST; 54ms ago
  Process: 1274 ExecStart=/usr/sbin/mosquitto -c 
/etc/mosquitto/mosquitto.conf -d (code=exited, status=0/SUCCESS)
dpkg: error processing package mosquitto (--configure):
 installed mosquitto package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 mosquitto
E: Sub-process /usr/bin/dpkg returned an error code (1)

When I start mosquitto manually, it will work only locally, that is, from 
one instance of terminal to another, but will not pick up subscribed 
messages published by a device on the same LAN. Do  these error messages on 
install tell me how to troubleshoot mosquitto? Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ff0ddef8-2b0b-4daf-ae63-7d9cb37d8837n%40googlegroups.com.

Reply via email to