search for: benivegna

Displaying 20 results from an estimated 60 matches for "benivegna".

2020 Aug 12
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Aug 12, 2020, at 5:32 PM, Todd Benivegna <todd at benivegna.com> wrote: > >> Those LISTEN lines were appropriate pre-systemd when NUT's startup script was launched after networking was fully enabled. I would recommend "LISTEN 0.0.0.0 3493" instead, and use firewall rules if you are trying to exclude an interf...
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 14, 2020 at 10:31 AM Todd Benivegna <todd at benivegna.com> wrote: > > > I have not edited a single file, including anything to do with NUT, on the Synolog...
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, lynx, and...
2020 Aug 14
8
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...on”) to 60.  I then did a test ("sudo upsmon -c fsd”). The slaves shutdown, then eventually the master, but the Synology never powered down and the UPS powered off which cut the power to it while it was still on.  Anyone know what the heck is going on?  I’m feeling a bit cursed, haha. -- Todd Benivegna // todd at benivegna.com On Aug 12, 2020, 7:07 PM -0400, Todd Benivegna <todd at benivegna.com>, 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 Benivegna //...
2020 Aug 04
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...anager, through the dialogue 'run in terminal' will > execute as POSIX dash. https://wiki.ubuntu.com/DashAsBinSh So I would need to put the function in .profile then, right? Could I leave it in both .bashrc and .profile so it'd work either way? On Tue, Aug 4, 2020 at 8:39 AM Todd Benivegna <todd at benivegna.com> 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 Terminal and got: > > UPS status is [OL]:100 > > So...
2020 Aug 14
3
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Not much in the way of configuration…. I’m pretty sure I’ve got it correct. -- Todd Benivegna // todd at benivegna.com On Aug 13, 2020, 8:54 PM -0400, Manuel Wolfshant <wolfy at nobugconsulting.ro>, wrote: > On August 14, 2020 3:46:05 AM GMT+03:00, Todd Benivegna <todd at benivegna.com> wrote: > > So I finally got a test in after I changed my RPi to the master and >...
2020 Aug 14
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Sorry, I guess it is */usr/syno/bin/synoups* On Fri, Aug 14, 2020 at 2:27 PM Todd Benivegna <todd at benivegna.com> 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 > > *I have the latest version of the Windows port of NUT (A UPS...
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 exampl...
2020 Aug 14
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...le file, including anything to do with NUT, on the Synology via ssh.... ever. How is yours configured in the UI? Do you have it set to go into safe mode after a certain number minutes? Earlier, I was just copying and pasting the contents of some files to Roger but did not change anything. -- Todd Benivegna // todd at benivegna.com On Aug 14, 2020, 8:16 AM -0400, Larry Fahnoe <fahnoe at fahnoetech.com>, wrote: > On Thu, Aug 13, 2020 at 7:46 PM Todd Benivegna <todd at benivegna.com> wrote: > > > So I finally got a test in after I changed my RPi to the master and everything else...
2020 Aug 10
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Here ya go, this should work. synoups: https://hastebin.com/xexafofiha.bash Todd -- Todd Benivegna // todd at benivegna.com On Aug 10, 2020, 9:04 AM -0400, Todd Benivegna <todd at benivegna.com>, wrote: > 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,...
2020 Aug 12
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...22:13 nut.conf -rw-r-----   1 root 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 // todd at benivegna.com On Aug 11, 2020, 9:09 PM -0400, Manuel Wolfshant <wolfy at nobugconsulting.ro>, wrote: > 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 g...
2020 Aug 14
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...test everything out without waiting for the battery to run out, but if not then I will do that; will just take about 45 minutes or so. I would never 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 <todd at benivegna.com> wrote: > 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. Than...
2020 Aug 05
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...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...
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 in Bash, > > but I think when it runs on its own it would use Dash... > > it uses whatever shell you ask for in the first line of...
2020 Aug 10
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Hi Roger, Here is the /usr/syno/bin/synoups file https://hastebin.com/sibopejuyu.bash Thanks, Todd -- Todd Benivegna // todd at benivegna.com On Aug 9, 2020, 4:49 PM -0400, Roger Price <roger at rogerprice.org>, wrote: > On Sun, 9 Aug 2020, Todd Benivegna wrote: > > > upssched.conf (on Synology): > > CMDSCRIPT /usr/syno/bin/synoups > > > > upssched-cmd (on Synology): > >...
2020 Aug 08
3
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...ps.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 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 // todd at benivegna.com On Aug 7, 2020, 12:14 PM -0400, Todd Benivegna <todd at benivegna.com>, wrote: > 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....
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 N...
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...
2020 Aug 06
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...“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 help, Todd -- Todd Benivegna // todd at benivegna.com On Aug 5, 2020, 7:29 AM -0400, Todd Benivegna <todd at benivegna.com>, wrote: > > 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 tri...
2020 Aug 08
1
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...- it takes maybe 5-10 seconds) and NUT thought the server was dead and shut everything down?  On that note, I did have the Synology set to hibernate/spin down the disks after 1 hour, but just disabled that just in case; will be on all the time now.  You think that was possibly the problem? -- Todd Benivegna // todd at benivegna.com On Aug 8, 2020, 2:12 PM -0400, Todd Benivegna <todd at benivegna.com>, 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...