Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Marco Ranieri on August 19, 2003, 06:27:26 PM
-
I installed powstatd for my Cyberpower UPS and all was good...until I installed SME update 6.
Now when I run the "powstatd -t" command instead of showing "OK" I get the following:
"powstatd: socket bind error; quitting."
In the boot-up process it says that the powstatd service is running ([OK]).
Any ideas? Thanks in advance.
-
Try uninstalling powstatd and then reinstall it.
Remember to copy your config file first (/etc/powstatd.conf) to save having to configure it again.
-
Ray Mitchell wrote:
> Try uninstalling powstatd and then reinstall it.
> Remember to copy your config file first (/etc/powstatd.conf)
> to save having to configure it again.
powstatd.conf is templated, Ray, and the configuration information is in the config database. There's no need to keep that file. Just do:
/sbin/e-smith/expand-template /etc/powstatd.conf
after reinstalling powstatd.
But I expect there's no point in reinstalling powstatd - there's some other problem. It seems that "powstatd -t" is failing because it is already running. Marco doesn't say why he is running "powstatd -t". That's usually only required to determine the correct configuration of a new UPS.
Charlie