[Nut-upsuser] building on Solus
mts5204 at bigpond.com
Sun Sep 17 07:26:30 UTC 2017
Thanks for your help.
Seems to be mostly ok except am getting error access denied. See below.
I see from searching this is a common error but so far I can't find a fix.
This is how I configured things before make and install.
created group nut
created system user ups with group nut.
Create statepath directory.
sudo mkdir -p /var/state/ups
sudo chmod 0770 /var/state/ups
sudo chown root:nut /var/state/ups
./configure --prefix=/usr --with-usb --with-user=ups --with-group=nut
Had to enable both these services. They weren't enabled by default.
sudo systemctl enable nut-server
sudo systemctl enable nut-monitor
$ sudo /usr/sbin/upsmon -DD
Network UPS Tools upsmon 2.7.4
0.000000 fopen /var/run/upsmon.pid: No such file or directory
0.000143 UPS: defender at localhost (master) (power value 1)
0.000270 Using power down flag file /etc/killpower
0.000422 debug level is '2'
0.003814 Trying to connect to UPS [defender at localhost]
0.004327 Login on UPS [defender at localhost] failed - got [ERR
5.004467 pollups: defender at localhost
5.004630 parse_status: [OL]
10.004764 pollups: defender at localhost
10.004922 parse_status: [OL]
15.005048 pollups: defender at localhost
15.005208 parse_status: [OL]
20.005319 pollups: defender at localhost
20.005485 parse_status: [OL]
25.005600 pollups: defender at localhost
25.005762 parse_status: [OL]
^C 25.379863 Signal 2: exiting
25.379899 Dropping connection to UPS [defender at localhost]
upsmon.pid is in /run directory. upsmon is looking for it in /var/run.
/var/state/ups contains blazer_usb-defender, blazer_usb-defender.pid and
Any help would be greatly appreciated.
On 17/09/17 02:28, Charles Lepple wrote:
> On Sep 15, 2017, at 11:15 PM, MTS <mts5204 at bigpond.com> wrote:
>> I thought it might be problematic. I am really frustrated I cannot get it working on Solus.
>> I use Solus way more than Mint these days and it would be nice to have NUT working.
> If you describe the problems you are having when trying to build it, maybe we can help.
> Please use reply-all to keep the list CC'd.
More information about the Nut-upsuser