5. upsc, upsstats, and the other clients say access denied. The device communication port (serial, USB or network) permissions are fine, so what gives?
In this case, "access denied" means the access to upsd, not the device
communication port. You’re being denied since the system has no
permission to speak to upsd according to the access controls.
There can be various reasons. To fix it, check:
-
the LISTEN directive in upsd.conf. It should allow your local or remote
access method,
-
your firewall rules. Port 3493/tcp must be opened to incoming connections,
-
your tcp-wrappers configuration (hosts.allow and hosts.deny).
Refer to the upsd(8) and upsd.conf(5) manpages for more information.