Hi,
I am running mosquitto in a jail, and previously it was working fine. Now it shows an error in the host messages log on jail startup:
From the jail, the config is still testing as ok:
When I run
There is a process file generated, but apparently it does not get removed after the service stops:
If I try running as root:
... the corresponding host log is:
If I try manually running as mosquitto user:
... but same error on host:
Plus, there is no output in /var/log/mosquitto.log and log type is set to debug.
I am assuming an update broke something at some point - nothing else was changed. Maybe I missed the memo on a change needed. I did try reinstalling but same problems. Last time I know for sure it worked was sometime around 6 months ago.
Does anybody know what might be causing this?
I am running mosquitto in a jail, and previously it was working fine. Now it shows an error in the host messages log on jail startup:
Code:
kernel: pid 64031 (mosquitto), jid 9, uid 10001: exited on signal 11 (no core dump - other error)
From the jail, the config is still testing as ok:
Code:
# mosquitto -c ./mosquitto.conf --test-config
1771794490: The 'per_listener_settings' option is now deprecated and will be removed in version 3.0. Please see the documentation for how to achieve the same effect.
1771794490: Configuration file is OK.
1771794490: mosquitto version 2.1.2 terminating
When I run
service mosquitto start it appears to be running:
Code:
# service mosquitto start
Starting mosquitto.
1771794773: The 'per_listener_settings' option is now deprecated and will be removed in version 3.0. Please see the documentation for how to achieve the same effect.
1771794773: Info: running mosquitto as user: mosquitto.
There is a process file generated, but apparently it does not get removed after the service stops:
Code:
# ls -al /var/run/mosquitto
total 10
drwxrwxr-x 2 mosquitto mosquitto 3 Feb 22 21:12 .
drwxr-xr-x 9 root wheel 26 Feb 22 21:12 ..
-rw-r--r-- 1 mosquitto mosquitto 5 Feb 22 21:12 mosquitto.pid
Code:
# service mosquitto status
mosquitto is not running.
If I try running as root:
Code:
# mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf
1771795342: The 'per_listener_settings' option is now deprecated and will be removed in version 3.0. Please see the documentation for how to achieve the same effect.
1771795342: Info: running mosquitto as user: mosquitto.
Segmentation fault mosquitto -c /usr/local/etc/mosquitto/mosquitto.co
... the corresponding host log is:
Code:
kernel: pid 64845 (mosquitto), jid 9, uid 10001: exited on signal 11 (no core dump - sugid process denied by kern.sugid_coredump)
If I try manually running as mosquitto user:
Code:
# su -m mosquitto -c "mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf"
1771795463: The 'per_listener_settings' option is now deprecated and will be removed in version 3.0. Please see the documentation for how to achieve the same effect.
1771795463: Info: running mosquitto as user: mosquitto.
... but same error on host:
Code:
kernel: pid 64855 (mosquitto), jid 9, uid 10001: exited on signal 11 (no core dump - other error)
Plus, there is no output in /var/log/mosquitto.log and log type is set to debug.
I am assuming an update broke something at some point - nothing else was changed. Maybe I missed the memo on a change needed. I did try reinstalling but same problems. Last time I know for sure it worked was sometime around 6 months ago.
Does anybody know what might be causing this?