NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

andymharris's avatar
andymharris
Aspirant
Mar 16, 2023

How do disable services from SSH on ReadyNAS 6 Pro?

After upgrading my Pro 6 to 6.10.8 (from 6.10.7), it is stuck booting at 99% and displays "google-drive.service" on the OLED screen. I'm taking from that, that this service is stopping the boot process from completing?

 

I still have SSH access although the Admin web reports as being off-line.

 

Question is, what is causing this and if it is indeed this service that is causing a problem then how do I disable it from trying to start from SSH?

 

10 Replies

Replies have been turned off for this discussion
  • Sandshark's avatar
    Sandshark
    Sensei - Experienced User

    From SSH, systemctl list-unit-files --type=service will show all services managed by systemctl and their status. systemctl is-enabled google-drive will show the status of the google-drive.service.  Assuming google-drive.service is shown as enabled on your system (it's disabled on mine, but I've never used my NAS with Google Drive), then systemctl disable google-drive should disable it.  You can verify by repeating one of the first commands.  Then, re-boot with rn_shutdown -r.

     

    Now if you actually need Google Drive running, this will just get you booted and you'll have to fix the issue before you re-enable it.  I can't help with that.

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      Another path you could try - power down, disconnect the ethernet, and power up. Then see if the boot process completes. If it does, then just reconnect the network.

    • andymharris's avatar
      andymharris
      Aspirant

      That's actually really helpful. I wasn't aware the services were started under systemctl.

      of course now that I've disabled the google-drive service and reboot, it is stuck at 97% and mentions the fvbackup-q.service instead.

       

      journalctl -u fvbackup-q -b
      -- Logs begin at Sat 2023-03-11 15:13:41 WET, end at Thu 2023-03-16 17:25:49 WET. --
      Mar 16 16:49:49 NAS01 systemd[1]: Started ReadyNAS Backup Service.
      Mar 16 16:49:49 NAS01 fvbackup-q[3210]: Start fvbackup-q

       

      No errors reported though so not sure what is the issue here. Are there any boot logs I can look at?

       

      Finally, should I perform an OS-reinstall? I don't want to lose any of the data though so I'm a little hesitant. Yes, I have a backup of most stuff but not everything at this stage. With SSH access I can at least backup everything if I can find enough storage and then try the OS reinstall.

      • Sandshark's avatar
        Sandshark
        Sensei - Experienced User

        An OS re-install won't harm your data.  But I'm not convinced it will help your issue, either.  It sounds to me like those programs are having trouble reading backup configuration files or the volume to be backed up.  On OS re-install will fix neither of those.  From SSH, can you see if the data volume is mounted at that point (I think it must be) and if it's healthy?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More