similar to: Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)

Displaying 20 results from an estimated 2000 matches similar to: "Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)"

2020 Aug 04
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Mon, 3 Aug 2020, Todd Benivegna wrote: > Thank you!  Sorry for another bonehead question…. Do I replace <myups> with > the IP address of the NUT Server/Synology?  I’m assuming I would use this > version for use in Dash with Ubuntu, correct? Yes, you replace <myups> with the address of your UPS, for example "ups at 192.168.x.y". Are you using Dash or Bash?
2020 Aug 08
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Fri, 7 Aug 2020, Todd Benivegna wrote: > APC Back-UPS NS 650M1 UPS ---USB---> Synology NAS (DS416 - Master?) > ---Ethernet---> Netgear Managed Switch w/ uplink to router <---Ethernet--- > Servers (Ubuntu 20.04 - Plex, Pulsar, Proton - All three set as slaves) I'm guessing that the UPS supplies only the NAS, not the 3 Ubuntu machines. Do they have their own UPS's?
2020 Aug 04
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Thank you!  Sorry for another bonehead question…. Do I replace <myups> 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 // todd at benivegna.com On Aug 3, 2020, 5:33 AM -0400, Roger Price <roger at rogerprice.org>, wrote: > On Sun, 2 Aug 2020, Todd Benivegna wrote: > > > How would
2020 Aug 07
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
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 this possible? > proton at proton:~$ sudo grep upsmon /var/log/syslog > Aug  6 19:19:09 proton upsmon[1552]: UPS ups at 192.168.1.70 on battery > Aug  6 19:19:14 proton upsmon[1552]: UPS ups at 192.168.1.70 on line
2020 Aug 04
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Ok, so now that I think of it, that might not actually work when it is not run by me. I guess that it all confirms that it works in Bash, but I think when it runs on its own it would use Dash... The default login shell remains bash. Opening a terminal from the menu or > shortcut [crtl-alt-t] provides interactive bash. A script run from the > desktop or file manager, through the dialogue
2020 Aug 04
3
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
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 <wolfy at nobugconsulting.ro> 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 is > > not run by me. I guess that it all confirms that it works
2020 Aug 04
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
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 Terminal and got: UPS status is [OL]:100 So I went ahead and put your SHUTDOWNCMD in upsmon.conf. I think it should be working now.... -- Todd Benivegna // todd at benivegna.com On Aug 4, 2020, 3:13 AM -0400, Roger
2020 Aug 05
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
> 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. > If you run the command > > grep nut /etc/password I got:  grep: /etc/password: No such file
2020 Aug 08
3
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
upsmon.conf on server:  https://pastebin.com/z4CrUTxb nut.conf on server:  https://pastebin.com/540ShZH7 Permissions for /etc/nut:  https://hastebin.com/qecolodapi.diff On the Synology (I didn’t edit any of these files): ups.conf:  https://hastebin.com/dedereqizi.shell upsd.conf:  https://hastebin.com/pupeseweda.css upsd.users:  https://hastebin.com/ocenamecex.cs I don’t think I am able to run
2020 Aug 08
1
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Roger, I just ran a manual test, killing power and see what happens.  I set the Synology “Time before DiskStation goes into Safe mode” to 5 minutes so I didn’t have to wait like an hour until it powered down.  Here is the log: https://hastebin.com/ovuwilufeb.sql Everything appeared to be normal; the servers powered off and the Synology went into safe mode.  Power was then cut to the Synology
2020 Aug 08
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
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. Do > they have their own UPS's? No, the Synology and the three servers are all on the one UPS (also my switch and spare monitor). All these are super low power devices (two Intel NUCs and a Raspberry Pi) so at
2020 Aug 07
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Hi Roger, I am not home, but when I do get home I will check out everything you've mentioned. I do have some time where I can give you a breakdown of my topology though. I have a feeling all of this is probably due to a configuration error somewhere on my part. Here's what I have done so far. *APC Back-UPS NS 650M1 UPS* ---USB---> *Synology NAS (DS416 - Master?)*
2020 Aug 03
1
Synology NAS is shutting down Ubuntu servers after very brief power outage
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 // todd at benivegna.com On Aug 2, 2020, 9:38 AM -0400, Roger Price <roger at rogerprice.org>, wrote: > > upsmon.conf doesn't support reporting battery
2020 Aug 05
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
> 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 Aug 14
8
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
So I finally got a test in after I changed my RPi to the master and everything else (including my Synology) to slaves.  Before I did that though, I timed the shutdown of my Synology since it is the slowest slave to shutdown.  It took 40 seconds to shutdown, so I changed HOSTSYNC in upsmon.conf on the master (“Proton”) to 60.  I then did a test ("sudo upsmon -c fsd”). The slaves shutdown, then
2020 Aug 01
6
Synology NAS is shutting down Ubuntu servers after very brief power outage
I'm hoping that someone can shed some light on this… I have a Synology NAS (DS416) that has a feature where you can enable a “Network UPS Server” which is a NUT server.  I have been trying to get the Synology to shut down three Ubuntu 20.04 servers that I have. While it does work when I test it out manually, sometimes when I am away and the power goes out briefly, the servers shut down when
2020 Aug 14
1
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Fri, 14 Aug 2020, Todd Benivegna wrote: > https://forum.synology.com/enu/viewtopic.php?f=19&t=73960&hilit=ups+slave  > > I have the latest version of the Windows port of NUT (A UPS management package) installed on my Windows 7 machine. The UPS I am using is a > very old APC BK650M which is controlled and sends its status via a special serial cable to the Windows
2020 Aug 14
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
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 // todd at benivegna.com On Aug 14, 2020, 11:55 AM -0400, Larry Fahnoe <fahnoe at fahnoetech.com>, wrote: > On Fri, Aug
2020 Aug 10
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Wow. That’s weird. Blank for me too! I will send again when I get home. Sorry about that! -- Todd Benivegna // todd at benivegna.com On Aug 10, 2020, 9:01 AM -0400, Roger Price <roger at rogerprice.org>, wrote: > On Mon, 10 Aug 2020, Todd Benivegna wrote: > > > Here is the /usr/syno/bin/synoups file > > https://hastebin.com/sibopejuyu.bash > > Firefox, Opera, w3m,
2020 Aug 11
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
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 when they saw they could use upssched.conf to call it. NUT intends such a script for timer management. Synology use it for general system management.