[Nut-upsuser] Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)

Todd Benivegna todd at benivegna.com
Wed Aug 5 12:29:06 BST 2020


> grep nut /etc/passwd

nut:x:129:134::/var/lib/nut:/usr/sbin/nologin

> In your manual test do you restore utility power after 3-5 seconds?
Yes, I have tried that.  I have also tried less than one second.  I’ve tried for 1-2 minutes, for 3-5 minutes, I’ve tried just about every length of time and all appears Ok when I manually test.

--
Todd Benivegna // todd at benivegna.com
On Aug 5, 2020, 3:26 AM -0400, Roger Price <roger at rogerprice.org>, wrote:
> On Tue, 4 Aug 2020, Todd Benivegna wrote:
>
> > Sorry. I've lost the thread here, what is the "it" you refer to?
> >
> > I’m not an linux expert so you’ll have to bear with me, but I guess the it I
> > was referring to whatever NUT is using since what we’re editing is a config
> > file, not a script; it doesn’t have a shebang at the top.
>
> The command sequence specified by the SHUTDOWNCMD declaration is called from
> upsmon (a program written in C).
>
> > If you run the command
> > grep nut /etc/password
> >
> > I got:  grep: /etc/password: No such file or directory
>
> Sorry, my mistake it should be
>
> grep nut /etc/passwd
>
> > That may seem to be the case, however, whenever I test by manually pulling the
> > power, the servers stay up and all appears normal.  It has happened three
> > times now where I am away and the power goes out for 3-5 seconds and the
> > servers shutdown and will stay down, even if I try to power back on, until I
> > restart the Synology NAS.
>
> In your manual test do you restore utility power after 3-5 seconds?
>
> Roger
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200805/62cf1651/attachment.html>


More information about the Nut-upsuser mailing list