× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: RN104 turns on unattended

booboo59
Apprentice

RN104 turns on unattended

I'm a pretty competent Linux user but this is baffling me.  My RN104 turns itself on one a month around the 10th of each month (if the NAS is turned off).  What is triggering this?  I cannot find a setting on the web UI.

 

I don't have Wake-on-LAN on, nor do I have any Wake-on-LAN demons on the network... so it's not that.

 

It has been doing this for over a year, and currently it's running 6.10.0 HotFix 2.

Model: RN10400|ReadyNAS 100 Series 4- Bay (Diskless)
Message 1 of 20
Retired_Member
Not applicable

Re: RN104 turns on unattended

Hi @booboo59, to get more info about a potential power issue I would do the following:

Case1: If the nas is currently hooked up to a ups, around the evening of the 9th of a month I would disconnect it from the ups and directly hook it up to a power outlet in the wall. Then see what happens on the 10th.

Case2: If the nas is currently NOT hooked up to a ups, try one. There are cheap models from APC, which are very reliable. I'm using several Back-UPS ES 700 and have virtually no power issues at all.

Good luck with fixing and kind regards

Message 2 of 20
StephenB
Guru

Re: RN104 turns on unattended


@booboo59 wrote:

I cannot find a setting on the web UI.

 


There is a power schedule in the UI, though you'd have needed to create power on events there, since it is isn't enabled by default.

 

@Retired_Member is thinking it is power related.  If the power fails on the circuit, the NAS will boot when it is restored.  So that is a possibility (though it does seem unlikely that this would happen so regularly).

Message 3 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

The NAS is connected to a UPS but doesn't have the UPS USB/Serial connected, nor the UPS settings enabled.  The UPS is serving another computer that is on 100% of the time and it doesn't reboot on the 10th, so I don't currently suspect the UPS having a "hiccup" on that date.

 

I think I will move the NAS off the UPS and see if that fixes it though.

Message 4 of 20
Sandshark
Sensei

Re: RN104 turns on unattended

What are the log entries just before and after the event?

Message 5 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

Log looks like this, which is why I've been suspecting some linux service but I cannot find it:

 

Mar 11, 2019 11:02:35 PM
 
System: The system is shutting down.
Mar 11, 2019 09:29:13 PM
 
System: ReadyNASOS background service started.
Feb 11, 2019 08:26:31 PM
 
System: The system is shutting down.
Feb 09, 2019 09:05:47 PM
 
System: ReadyNASOS background service started.
Jan 09, 2019 09:03:30 PM
 
System: The system is shutting down.
Jan 09, 2019 08:06:32 PM
 
System: ReadyNASOS background service started.
Message 6 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

Last few entries:

May 11, 2019 09:25:16 PM
 
System: A hotfix was applied to your system (6.10.0 Hotfix 2).
May 11, 2019 09:22:29 PM
 
System: ReadyNASOS background service started.
Apr 11, 2019 09:20:24 PM
 
System: The system is shutting down.
Apr 11, 2019 07:42:18 PM
 
System: A hotfix was applied to your system (6.10.0 Hotfix 1).
Apr 11, 2019 07:39:59 PM
 
System: ReadyNASOS background service started.
Message 7 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

Could it be the "rn-update.timer" ?   Running #systemctl status rn-update.timer gives me this, which seems to coincide around the last boot time (see my previous message).  It's labeled as vendor preset enabled, which would seem to me to be a documented feature and everyone's NAS should be autobooting monthly.

 

root@nas-E5-22-96:~# systemctl status rn-update.timer

● rn-update.timer - Timer for ReadyNAS Update Service
   Loaded: loaded (/lib/systemd/system/rn-update.timer; enabled; vendor preset: enabled)
   Active: active (waiting) since Sat 2019-05-11 21:21:29 CDT; 15h ago

May 11 21:21:29 nas-E5-22-96 systemd[1]: Started Timer for ReadyNAS Update Service.

Message 8 of 20
Retired_Member
Not applicable

Re: RN104 turns on unattended

Hi @booboo59, you wrote "The UPS is serving another computer that is on 100% of the time..."

 

Would it be correct to assume, that your pc is communicating to that ups and that you have a management software installed on the pc to control/manage that communication?

If yes, I would not bet the ranch, but would speculate into the direction that management software on your pc is doing something to the ups on a regular base (once a month around the 10th?) and your nas is suffering from that.

Disregarding the outcome of your further research I would definitely change your setup as follows: Let the nas communicate to the ups and stop the pc from doing that. If necessary you can configure the ups temporarily using the pc, but ongoing communication should be between ups and nas.

Good luck with fixing and kind regards

Message 9 of 20
StephenB
Guru

Re: RN104 turns on unattended


@booboo59 wrote:

 It's labeled as vendor preset enabled, which would seem to me to be a documented feature and everyone's NAS should be autobooting monthly.

 


My guess is that the timer won't actually start up the NAS.  FWIW, my own RN102 and RN104 are normally powered down (with WoL enabled, as I do try things on them now and again).  One is on a UPS, the other is not.  Neither booted up spontaneously recently.  Though I did see spontaneous boots of these NAS occasionally some time back.  What firmware are you running?

 

Personally, I wouldn't change the PC monitoring (it seems like a very long shot to me anyway).  Instead I'd move the RN104 power connection to a wall plug, and see if the behavior changes.  The more basic question is whether the spontaneous boot is related to the UPS or not.

 

Message 10 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

RolandWausE, no the PC does not have UPS software (whilst the UPS is manageable, I don't use the software or USB cable). 

Message 11 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

StephenB, I'm currently running 6.10.0. However the NAS has been doing this since 2018, and I've maintained up to date on firmware. So older versions have done it.  What I haven't done is reset to factory, to see if some setting was inavertately set by a firware upgrade.  There's no power schedule set on the GUI....

Message 12 of 20
StephenB
Guru

Re: RN104 turns on unattended


@booboo59 wrote:

RolandWausE, no the PC does not have UPS software (whilst the UPS is manageable, I don't use the software or USB cable). 


Then why not connect the cable to the NAS? 

Message 13 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

Because the NAS is rarely on, so the chances of the NAS being awake and take active control of the UPS is low.  At any rate, this is all assuming that for some reason the UPS is causing this precisely once a month, which seems unlikely as the UPS doesn't have a realtime clock (to my knowledge).

Message 14 of 20
Retired_Member
Not applicable

Re: RN104 turns on unattended

Okay, @booboo59 , if you can afford and have the patience please do nothing else than I already suggested in message 2 of x: Directly connect the power cable to the wall and see what happens around the 10th of next month. If the behaviour is as observed in the past, you will finally know, that it is not related to your ups.

 

Of course you can try other approaches as available and hopefully find the root cause of your issue earlier.

 

Good luck with fixing and kind regards

Message 15 of 20
StephenB
Guru

Re: RN104 turns on unattended


@booboo59 wrote:

Because the NAS is rarely on, so the chances of the NAS being awake and take active control of the UPS is low. 

The NAS doesn't take "active control" of the UPS.  The purpose of it's monitoring is simply for the NAS to shut down before the UPS battery runs down.  That helps prevent data loss.

 

I get that you can make a case that the PC should be monitoring (and perhaps controlling) the UPS instead.   But since you've chosen not to do that, then it makes sense to monitor it from the NAS.

Message 16 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

StephenB, yes sorry... poor choice of words.  However as stated earlier, the NAS is rarely on.  Therefore why would I have it connected to the UPS?

Message 17 of 20
StephenB
Guru

Re: RN104 turns on unattended

Why did you connect it to the UPS power in the in the first place?  The same argument applies. 

 

In any event, monitoring is a free feature that offers some protection against data loss.  I'll grant you that the value of monitoring is less if the NAS isn't on much.  But if the NAS is powering itself up for some reason, it would be nice to ensure that it would power down gracefully if you were to lose power.

 

Also, if you were monitoring and left the NAS on around the 10th next month, you could look for UPS events in the log.  That might give some clues as to what is going on.

 

 

Message 18 of 20
booboo59
Apprentice

Re: RN104 turns on unattended

The reason the NAS is connected to the UPS is that the *when* the NAS is on I want clean power.  The UPS is an online version that conditions power.  

Message 19 of 20
StephenB
Guru

Re: RN104 turns on unattended

Well it's up to you of course.  But if my backup NAS was turning on when I didn't expect it, then there's a good chance I wouldn't notice it right away (perhaps days). In that scenario, I'd certainly want to ensure clean shutdowns.  And it is possible that the monitoring would give clues on what's going on.  

 

We've spent far more time talking about it than it would have taken you to connect the cable.

Message 20 of 20
Top Contributors
Discussion stats
  • 19 replies
  • 2160 views
  • 0 kudos
  • 4 in conversation
Announcements