[Nut-upsuser] Data Stale issue
gareth94 at hotmail.co.uk
Mon May 6 20:27:02 BST 2019
Thank you for your message. I'm not entirely sure which distro I'm using but the RPi is running Debian 9 (Stretch). I also have the most up-to-date version of NUT. I have no idea if that helps?
That sounds like a good solution with the systemctl command... I'll look into that.
It's strange that I don't get any errors when I run the nut-server status command but for some reason I don't get the e-mails coming through. Maybe I've forgotten to start some service in the background?
From: Stuart D. Gathman <stuart at gathman.org>
Sent: 06 May 2019 19:57
To: Gareth Davies
Cc: Charles Lepple; nut-upsuser at alioth-lists.debian.net
Subject: Re: [Nut-upsuser] Data Stale issue
On Mon, 6 May 2019, Gareth Davies wrote:
> Just to say, I stopped the driver and started it again and the errors went
> away! However, I turned off power to the UPS but I wasn’t receiving any
> e-mails :( also when I rebooted the RPi the driver/service didn’t start back
> up automatically...
> I wonder if you have any thoughts on the above?
Those are issues with understanding your distro. For the latter, if
you are using systemd, and your systemd service is called
nut-server.service (as it is in Fedora), you would enable it at boot
with "systemctl enable nut-server". Systemd automatically starts
prerequistites first, so on Fedora at least, starting nut-server first
starts nut-driver. You probably also need to start nut-monitor, as
that is the usual place you would configure sending notifications.
Sorry, I don't have details on Debian.
Stuart D. Gathman <stuart at gathman.org>
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsuser