<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<blockquote style="border-left-color: rgb(26, 188, 156); margin: 0px; padding-left: 10px; border-left-width: thin; border-left-style: solid; padding-bottom: 5px; padding-top: 5px;">grep nut /etc/passwd</blockquote>
<div dir="auto"><br />
nut:x:129:134::/var/lib/nut:/usr/sbin/nologin<br />
<br /></div>
<blockquote style="border-left-color: rgb(26, 188, 156); margin: 0px; padding-left: 10px; border-left-width: thin; border-left-style: solid; padding-bottom: 5px; padding-top: 5px;">In your manual test do you restore utility power after 3-5 seconds?</blockquote>
<div dir="auto">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.</div>
</div>
<div name="messageSignatureSection"><br />
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(34, 34, 34);">--</p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(51, 51, 51);"><span style="color: #222222"><b>Todd Benivegna</b></span> <span style="color: #222222">//</span> <a href="mailto:todd@benivegna.com">todd@benivegna.com</a></p>
</div>
<div name="messageReplySection">On Aug 5, 2020, 3:26 AM -0400, Roger Price <roger@rogerprice.org>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">On Tue, 4 Aug 2020, Todd Benivegna wrote:<br />
<br />
<blockquote type="cite">Sorry. I've lost the thread here, what is the "it" you refer to?<br />
<br />
I’m not an linux expert so you’ll have to bear with me, but I guess the it I<br />
was referring to whatever NUT is using since what we’re editing is a config<br />
file, not a script; it doesn’t have a shebang at the top.<br /></blockquote>
<br />
The command sequence specified by the SHUTDOWNCMD declaration is called from<br />
upsmon (a program written in C).<br />
<br />
<blockquote type="cite">If you run the command<br />
grep nut /etc/password<br />
<br />
I got:  grep: /etc/password: No such file or directory<br /></blockquote>
<br />
Sorry, my mistake it should be<br />
<br />
grep nut /etc/passwd<br />
<br />
<blockquote type="cite">That may seem to be the case, however, whenever I test by manually pulling the<br />
power, the servers stay up and all appears normal.  It has happened three<br />
times now where I am away and the power goes out for 3-5 seconds and the<br />
servers shutdown and will stay down, even if I try to power back on, until I<br />
restart the Synology NAS.<br /></blockquote>
<br />
In your manual test do you restore utility power after 3-5 seconds?<br />
<br />
Roger<br />
_______________________________________________<br />
Nut-upsuser mailing list<br />
Nut-upsuser@alioth-lists.debian.net<br />
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</blockquote>
</div>
</body>
</html>