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

2020-08-11 Thread Roger Price
On Wed, 12 Aug 2020, Manuel Wolfshant wrote: So nut on Synology believes that it is a good idea to trigger a FSD 30 secs AFTER switching back to line power when in fact it should CANCEL any shutdown in progress. Unless you have the willingness to search & fix whatever stupidities they do in th

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

2020-08-11 Thread Tim Dawson
For directory permissions, the "x" priv determines if you can access the directory, so going from 555 (r-x,r-x,r-x) to 640 (rw-,r--,---) pretty much locks out access to the dir. Myself, I'd go back to 555. 640 essentially locks the group "nut" out . . . - Tim On August 11, 2020 11:11:22 PM CDT

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

2020-08-11 Thread Todd Benivegna
Ok, so just a follow-up to my last email; still following that guide, which is great…. Just stuck on getting the nut-server service starting automatically.   Got everything else working.  I’ve been able to get the nut-client starting up automatically at boot up (I had a missing “1” in upsmon.conf

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

2020-08-11 Thread Todd Benivegna
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: proton@proton:~$ service nut-server status nut-server.service - Network UPS Tools - power devices information server      Loaded: loaded (/lib/systemd

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

2020-08-11 Thread Manuel Wolfshant
On 8/12/20 3:55 AM, Todd Benivegna wrote: Manuel, You are absolutely right.  I think this is all the Synology just being very dumb.  I guess those are my only two options at this point. I have no idea on how to set up the NUT server though on one of my NUCs or my Pi.  Do you know any good gu

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

2020-08-11 Thread Todd Benivegna
Yeah I saw that.  Makes no sense.  I can Wireshark it, however even if I find the cause, I’d still have to go to Synology for resolution, which I doubt will ever get fixed.  Even if they do, I doubt it’d be any time soon.  Maybe that’s me being pessimistic, I don’t know, but I just don’t if I ha

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

2020-08-11 Thread Manuel Wolfshant
On 8/12/20 3:42 AM, Manuel Wolfshant wrote: On 8/12/20 3:20 AM, Todd Benivegna wrote: Hi everyone, Well, we lost power here again.  I was not at home, but I guess a dump truck smashed into some power poles and took out half the city; actually tripped most of the breakers in the panel.  Anyway

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

2020-08-11 Thread Todd Benivegna
Manuel, You are absolutely right.  I think this is all the Synology just being very dumb.  I guess those are my only two options at this point. I have no idea on how to set up the NUT server though on one of my NUCs or my Pi.  Do you know any good guides out there?  I’m guessing it’s easy enoug

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

2020-08-11 Thread Manuel Wolfshant
On 8/12/20 3:20 AM, Todd Benivegna wrote: Hi everyone, Well, we lost power here again.  I was not at home, but I guess a dump truck smashed into some power poles and took out half the city; actually tripped most of the breakers in the panel.  Anyways, the power was out for just a few seconds

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

2020-08-11 Thread Todd Benivegna
Hi everyone, Well, we lost power here again.  I was not at home, but I guess a dump truck smashed into some power poles and took out half the city; actually tripped most of the breakers in the panel.  Anyways, the power was out for just a few seconds and of course my servers shutdown on me afte

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

2020-08-11 Thread Larry Fahnoe
On Tue, Aug 11, 2020 at 12:46 AM Roger Price wrote: > On Mon, 10 Aug 2020, Todd Benivegna wrote: > > > synoups: https://hastebin.com/xexafofiha.bash > > Wow! What a mess. It looks as if Synology wanted to write their own > "NUT", but > decided it would be easier to put their ideas in a script wh

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: > On Mon, 10