Service stopped in web UI but actually it's running
See attached screenshot (combines 3 items: webUI, ps output, and messages log)
I'm having issues configuring upsmon service, but that's not so relevant. The interesting thing is that it keeps trying to start the service, and does in fact start it, after repeated reboots, even though it's configured not to start when I check in the web UI. When I look at the web UI, it states incorrewctly that the service isn't running when in fact it is running, as can be seen in the other output.
Surely something wrong with that? :)
I should say, I did eventually kill this by
ps -awx| grep ups and then a combination of
killall ups... and
kill PID. It was resistant to being killed, but eventually died, apparently I managed to kill the controlling ups process of something. It had survived many reboots, but hasn't come back since. I don't know why, as I wouldn't expect that to affect what happened on the next reboot. But apparently it got stuck somehow, and it did stop it restarting.
Here's the config database at present. I could go back to recent config backups from a week or so ago, and probe them the same way, to confirm what they would have said. Would that help?
# echo "select * from services_services" | sqlite3 /data/freenas-v1.db 2|afp|0 4|cifs|1 5|dynamicdns|0 6|ftp|0 7|iscsitarget|0 9|nfs|0 10|snmp|0 11|ssh|1 12|tftp|0 14|ups|0 16|rsync|0 18|smartd|1 20|domaincontroller|0 21|lldp|0 22|webdav|0 23|s3|0 24|netdata|0