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

2020-08-14 Thread Todd Benivegna
powered off. Restored power and all machines powered up on their own and booted up. Thanks everyone for your help! Much appreciated. Hopefully this happens when the power goes out for real! ;) Regards, Todd -- Todd Benivegna // t...@benivegna.com On Aug 14, 2020, 4:52 PM -0400, Roger Price

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

2020-08-14 Thread Todd Benivegna
ever have guessed that it would do a check like that, which basically prevents the "upsmon -c fsd" test! On Fri, Aug 14, 2020 at 12:30 PM Todd Benivegna wrote: > Thanks Larry, no problem. I appreciate the input. Whenever you get a > chance I’d really like to compare notes with s

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

2020-08-14 Thread Todd Benivegna
Sorry, I guess it is */usr/syno/bin/synoups* On Fri, Aug 14, 2020 at 2:27 PM Todd Benivegna wrote: > I found something interesting that I think may apply here. Check this > out... > > > > https://forum.synology.com/enu/viewtopic.php?f=19&t=73960&hilit=ups+slave >

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

2020-08-14 Thread Todd Benivegna
Thanks Larry, no problem. I appreciate the input. Whenever you get a chance I’d really like to compare notes with someone who has NUT and a Synology to see why the heck mine doesn’t work! ;). I’m also using my Pi as the master like you. Thanks. Todd -- Todd Benivegna // t...@benivegna.com On

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

2020-08-14 Thread Todd Benivegna
but did not change anything. -- Todd Benivegna // t...@benivegna.com On Aug 14, 2020, 8:16 AM -0400, Larry Fahnoe , wrote: > On Thu, Aug 13, 2020 at 7:46 PM Todd Benivegna wrote: > > > So I finally got a test in after I changed my RPi to the master and > > > everything else (

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

2020-08-13 Thread Todd Benivegna
Not much in the way of configuration…. I’m pretty sure I’ve got it correct. -- Todd Benivegna // t...@benivegna.com On Aug 13, 2020, 8:54 PM -0400, Manuel Wolfshant , wrote: > On August 14, 2020 3:46:05 AM GMT+03:00, Todd Benivegna > wrote: > > So I finally got a test in after

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

2020-08-13 Thread Todd Benivegna
hutdown (i.e "ssh admin@Synoligy > poweroff'). I’d do that, but I have no idea how to write scripts or setup the trigger…. -- Todd Benivegna // t...@benivegna.com On Aug 13, 2020, 9:34 PM -0400, Manuel Wolfshant , wrote: > On August 14, 2020 4:01:17 AM GMT+03:00, Todd Benivegna &

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

2020-08-13 Thread Todd Benivegna
a bit cursed, haha. -- Todd Benivegna // t...@benivegna.com On Aug 12, 2020, 7:07 PM -0400, Todd Benivegna , wrote: > This fixed everything! Everything appears to be working ok now and all > clients are connected. Thank you! > > Going to test everything out now. > > -- > Todd Beniv

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

2020-08-12 Thread Todd Benivegna
This fixed everything! Everything appears to be working ok now and all clients are connected. Thank you! Going to test everything out now. -- Todd Benivegna // t...@benivegna.com On Aug 12, 2020, 6:16 PM -0400, Charles Lepple , wrote: > On Aug 12, 2020, at 5:32 PM, Todd Benivegna wr

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

2020-08-12 Thread Todd Benivegna
vice was in there.  I tried... sudo journalctl -x | grep "nut-server" sudo journalctl -x | grep “error" And got a few interesting things, but not very descriptive... https://hastebin.com/ikupojorav.sql Do you think it may that line upsd.conf like Charles mentioned? Thanks ev

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

2020-08-11 Thread Todd Benivegna
and everything. Thanks, Todd -- Todd Benivegna // t...@benivegna.com On Aug 11, 2020, 10:29 PM -0400, Todd Benivegna , wrote: > Thanks Manuel.  I’m following that guide but am now stuck when checking to > make sure the nut-sever and nut-client are up and working.  I got this: > > p

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

2020-08-11 Thread Todd Benivegna
nut   5615 Aug 11 21:59 ups.conf -rw-r-   1 root nut   4601 Aug 11 22:04 upsd.conf -rw-r-   1 root nut   2466 Aug 11 22:09 upsd.users -rw-r-   1 root nut  15479 Aug 11 22:12 upsmon.conf -rw-r-   1 root nut   3879 Feb  8  2020 upssched.conf -- Todd Benivegna // t...@benivegna.com On

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

2020-08-11 Thread Todd Benivegna
have the time or energy for all that! -- Todd Benivegna // t...@benivegna.com On Aug 11, 2020, 8:57 PM -0400, Manuel Wolfshant , wrote: > On 8/12/20 3:42 AM, Manuel Wolfshant wrote: > > On 8/12/20 3:20 AM, Todd Benivegna wrote: > > > Hi everyone, > > > > > > We

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

2020-08-11 Thread Todd Benivegna
enough to edit upsmon.conf on the Synology in order to get that to become a slave; I think would be all that’s required for the Synology NAS. Thanks, Todd -- Todd Benivegna // t...@benivegna.com On Aug 11, 2020, 8:43 PM -0400, Manuel Wolfshant , wrote: > On 8/12/20 3:20 AM, Todd Benivegna wr

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

2020-08-11 Thread Todd Benivegna
he culprit either since I’m still getting the same results.   Ugh.  Thanks everyone for all your help so far! Regards, Todd -- Todd Benivegna // t...@benivegna.com On Aug 11, 2020, 7:32 AM -0400, Larry Fahnoe , wrote: > On Tue, Aug 11, 2020 at 12:46 AM Roger Price wrote: > > > On

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

2020-08-11 Thread Todd Benivegna
Hi Roger, Ok, very interesting…!  Here is what you are looking for: 1.  https://hastebin.com/evadipomew.bash 2. lrwxrwxrwx 1 root root 4 May 27 05:26 /bin/sh -> bash* Hope that helps! Todd -- Todd Benivegna // t...@benivegna.com On Aug 11, 2020, 1:46 AM -0400, Roger Price , wrote: >

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

2020-08-10 Thread Todd Benivegna
Here ya go, this should work. synoups: https://hastebin.com/xexafofiha.bash Todd -- Todd Benivegna // t...@benivegna.com On Aug 10, 2020, 9:04 AM -0400, Todd Benivegna , wrote: > Wow. That’s weird. Blank for me too! I will send again when I get home. Sorry > about that! > > -- >

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

2020-08-10 Thread Todd Benivegna
Wow. That’s weird. Blank for me too! I will send again when I get home. Sorry about that! -- Todd Benivegna // t...@benivegna.com On Aug 10, 2020, 9:01 AM -0400, Roger Price , wrote: > On Mon, 10 Aug 2020, Todd Benivegna wrote: > > > Here is the /usr/syno/bin/synoups fi

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

2020-08-10 Thread Todd Benivegna
Hi Roger, Here is the /usr/syno/bin/synoups file https://hastebin.com/sibopejuyu.bash Thanks, Todd -- Todd Benivegna // t...@benivegna.com On Aug 9, 2020, 4:49 PM -0400, Roger Price , wrote: > On Sun, 9 Aug 2020, Todd Benivegna wrote: > > > upssched.conf (on Synology): > > C

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

2020-08-09 Thread Todd Benivegna
mp; Power > HDD Hibernation to enable advanced HDD hibernation. > You should remove line 1 : RUN_AS_USER nut Ok, I will comment that back out.  That won’t interfere with anything?  What user would it run as?  Will it have access to upsmon.conf? Thanks, Todd -- Todd Benivegna // t...@benivegna.c

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

2020-08-08 Thread Todd Benivegna
Benivegna // t...@benivegna.com On Aug 8, 2020, 2:12 PM -0400, Todd Benivegna , wrote: > Roger, > > Ok, so how does this look... > > Updated upsmon.conf:  https://hastebin.com/jisinaquso.pl > > I'm guessing that the UPS supplies only the NAS, not the 3 Ubuntu machines.

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

2020-08-08 Thread Todd Benivegna
ld reproduce this, I think that’d make this a lot easier to troubleshoot. Thanks, Todd -- Todd Benivegna // t...@benivegna.com On Aug 8, 2020, 5:12 AM -0400, Roger Price , wrote: > On Fri, 7 Aug 2020, Todd Benivegna wrote: > > > APC Back-UPS NS 650M1 UPS ---USB---> Synology NAS (

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

2020-08-07 Thread Todd Benivegna
://hastebin.com/pupeseweda.css upsd.users:  https://hastebin.com/ocenamecex.cs I don’t think I am able to run that script.  If you can, I wouldn’t know how. Please let me know what you think. Thanks for all the help! Todd -- Todd Benivegna // t...@benivegna.com On Aug 7, 2020, 12:14 PM -0400, Todd

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

2020-08-07 Thread Todd Benivegna
nd the links to you. May be easier that way. Thanks, Todd On Fri, Aug 7, 2020 at 5:47 AM Roger Price wrote: > On Thu, 6 Aug 2020, Todd Benivegna wrote: > > > ... I grep’d the syslog and here’s the results: > > Could you also grep for upsd and upsmon in the NAS log? Is th

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

2020-08-06 Thread Todd Benivegna
t just says “UPS Status is” with nothing after it.  Also after grep’d the syslog I got the current status of the UPS. What do you think?  I really just don’t understand what the heck is going on.   Like I said before, whenever I test manually it works!  This is crazy. Thanks for all your hel

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

2020-08-05 Thread Todd Benivegna
f time and all appears Ok when I manually test. -- Todd Benivegna // t...@benivegna.com On Aug 5, 2020, 3:26 AM -0400, Roger Price , wrote: > On Tue, 4 Aug 2020, Todd Benivegna wrote: > > > Sorry. I've lost the thread here, what is the "it" you refer to? > > > &

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

2020-08-04 Thread Todd Benivegna
n and will stay down, even if I try to power back on, until I restart the Synology NAS. Thanks for both your guys’ help with everything so far…. I really appreciate it. Todd -- Todd Benivegna // t...@benivegna.com On Aug 4, 2020, 2:38 PM -0400, Roger Price , wrote: > On Tue, 4 Aug 2020, T

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

2020-08-04 Thread Todd Benivegna
Right, but I don't know what NUT script is actually calling it. I don't know how else I would check. On Tue, Aug 4, 2020 at 10:21 AM Manuel Wolfshant wrote: > On 8/4/20 4:16 PM, Todd Benivegna wrote: > > Ok, so now that I think of it, that might not actually work when it i

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

2020-08-04 Thread Todd Benivegna
rofile so it'd work either way? On Tue, Aug 4, 2020 at 8:39 AM Todd Benivegna wrote: > Ok, gotcha, I did that. I believe Ubuntu uses Bash for user sessions and > Dash fornscripts, so followed your instructions for Dash. I put the > getUPStatus bits in .bashrc and tested in Termin

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

2020-08-04 Thread Todd Benivegna
should be working now -- Todd Benivegna // t...@benivegna.com On Aug 4, 2020, 3:13 AM -0400, Roger Price , wrote: > On Mon, 3 Aug 2020, Todd Benivegna wrote: > > > Thank you!  Sorry for another bonehead question…. Do I replace with > > the IP address of the NUT Server/Synolog

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

2020-08-03 Thread Todd Benivegna
Thank you!  Sorry for another bonehead question…. Do I replace with the IP address of the NUT Server/Synology?  I’m assuming I would use this version for use in Dash with Ubuntu, correct? -- Todd Benivegna // t...@benivegna.com On Aug 3, 2020, 5:33 AM -0400, Roger Price , wrote: > On Sun

Re: [Nut-upsuser] Synology NAS is shutting down Ubuntu servers after very brief power outage

2020-08-02 Thread Todd Benivegna
Roger, How would you write the SHUTDOWNCMD line with multiple commands?  I’ve been looking at the manual and see that you have to escape the internal “ but am still a little confused on how to do this exactly. -- Todd Benivegna // t...@benivegna.com On Aug 2, 2020, 9:38 AM -0400, Roger Price

Re: [Nut-upsuser] Synology NAS is shutting down Ubuntu servers after very brief power outage

2020-08-02 Thread Todd Benivegna
away. -- Todd Benivegna // t...@benivegna.com On Aug 2, 2020, 12:12 PM -0400, Manuel Wolfshant , wrote: > On 8/1/20 11:25 PM, Todd Benivegna wrote: > > I'm hoping that someone can shed some light on this… I have a Synology NAS > > (DS416) that has a feature where you can e

Re: [Nut-upsuser] Synology NAS is shutting down Ubuntu servers after very brief power outage

2020-08-02 Thread Todd Benivegna
battery may be too much? -- Todd Benivegna // t...@benivegna.com On Aug 2, 2020, 9:38 AM -0400, Roger Price , wrote: > On Sat, 1 Aug 2020, Todd Benivegna wrote: > > > Also, this is what I found in the syslog on one of the machines: > > Jul 31 18:33:29 plex upsmon[970]: UPS ups@192.1

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

2020-08-01 Thread Todd Benivegna
ower came back on line….? Any help would be greatly appreciated! Details:  Nut version 2.7.4-11ubuntu4, Ubuntu 20.04, NUT installed from package, Synology DS416, UPS is APC Back-UPS NS 650M1 -- Todd Benivegna // t...@benivegna.com ___ Nut-upsuser m