pwrstat: Daemon service is not found.

When trying to use the pwrstat program you may get the error message “Daemon service is not found”. Here is a simple check list to follow in order to fix it:

1) Make sure that pwrstatd is running
2) Open /etc/pwrstatd.conf, and make sure that “prohibit-client-access” is set to no.

The last one has fooled me, i cannot remember changing it, and yet it was set to off on my server. So after i corrected the setting and restarted the daemon, my pwrstat finally gave some sane data again:

root@bais:/var/log# pwrstat -status

The UPS information shows as following:

Properties:
Model Name………………. UPS VALUE
Rating Voltage…………… 230 V
Rating Power…………….. 480 Watt

Current UPS status:
State ………………….. Normal
Power Supply by …………. Utility Power
Utility Voltage …………. 230 V
Output Voltage…………… 230 V
Battery Capacity ………… 100 %
Load …………………… 41 %
Remaining Runtime ……….. 10 min.
Line Interaction…………. None

Comments are closed.