I had mosquitto running as a broker on my rpi. All was running just fine. A couple of hours ago to ensure I was up to date I did the apt-get update and apt-get dist-apdate stuff and it seems to update the mosquitto to 1.4.11.
Now the mosquitto service does not work. I can see a mosquitto service running (and i have rebooted since the update) but I get a Error: Connection refused message when I do a subscribe from a terminal window (i.e. $ mosquitto_sub -d -t hello/world)
When if I start mosquitto in the foreground in one terminal window and subscribe in another then all works OK (as does a publish in another terminal window.) When starting mosquitto from a terminal I get the following:
1489938989: Using default config.
1489938989: Opening ipv4 listen socket on port 1883.
1489938989: Opening ipv6 listen socket on port 1883.
However, when I look at the running mosquitto service (when the foreground process has not bee started) I see the following
$ ps -ef | grep mosquitto
pi 2890 783 0 16:04 pts/0 00:00:00 grep --color=auto mosquitto
and nothing about listening sockets etc.
So after the update something must have changed in the auto startup service of mosquitto I guess.
I'm a noob in all this stuff and wonder if anyone could give a suggestion as to what to look at.