NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Linda2
May 15, 2012Aspirant
How to Reboot ReadyNAS Pro 4 through command line?
Hi,
I have a ReadyNAS Pro 4, which was working fine since yesterday and now from a server on the same network I can ping my readynas IP and I can ssh into the ReadyNAS as well, but I don't get the frontview on firefox and IE.
I did clear the cash on both, which didn't help.
I want to reboot (NOT shutdown) the ReadyNAS as I can ssh into it. I am far away from my ReadyNAS!
Is the any straight forward/ no hasle command to do a reboot through command line on ReadyNAS?
Thanks in advance.
I have a ReadyNAS Pro 4, which was working fine since yesterday and now from a server on the same network I can ping my readynas IP and I can ssh into the ReadyNAS as well, but I don't get the frontview on firefox and IE.
I did clear the cash on both, which didn't help.
I want to reboot (NOT shutdown) the ReadyNAS as I can ssh into it. I am far away from my ReadyNAS!
Is the any straight forward/ no hasle command to do a reboot through command line on ReadyNAS?
Thanks in advance.
8 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredDo you have any add-ons installed?
Can you post the output of the following?:
tail /var/log/frontview/error.log - Linda2Aspirant
mdgm wrote: Do you have any add-ons installed?
tail /var/log/frontview/error.log
Really appreciate your prompt response.
I did manage to call somebody near by the ReadyNAS and asked them to reboot it for me. After reboot, It all works fine and I can now access the frontview.
But, still would be good to know what caused the issue and if that would happen again later!
Yes, I have Egnyte Cloud back up add-on and Replicate as well.
The result for trail gives me five lines of:
dir: `/c/ELC/.log': Permission denied
chmod: changing permissions of `/usr/local/bin/egnyte/esystrace.sh': Operation not permitted
Would that give you a hint on what was going on?
Thanks again. - mdgm-ntgrNETGEAR Employee RetiredYou mean output of the tail command I gave?
I'd suggest contacting Egnyte about this issue as it clearly appears to be related to the Egnyte add-on.
Typically when Frontview access is lost the solution is to fix problem and restart Frontview if manually rebooting (safely shutting down pressing power button briefly twice) doesn't address the issue. - Linda2Aspirant
mdgm wrote: You mean output of the tail command I gave?
I'd suggest contacting Egnyte about this issue as it clearly appears to be related to the Egnyte add-on.
Typically when Frontview access is lost the solution is to fix problem and restart Frontview if manually rebooting (safely shutting down pressing power button briefly twice) doesn't address the issue.
Thanks, will follow that up with Egnyte, if ever happen again. - Linda2AspirantToday this happen again, and frontview is unavailable. Below is the error.log last few lines.
What can be the "Invalid method in request"! Any idea would be appreciated.
# tail /var/log/frontview/error.log
mkdir: `/c/ELC/.log': Permission denied
chmod: changing permissions of `/usr/local/bin/egnyte/esystrace.sh': Operation not permitted
mkdir: `/c/ELC/.log': Permission denied
chmod: changing permissions of `/usr/local/bin/egnyte/esystrace.sh': Operation not permitted
[Wed May 16 02:08:40 2012] [error] [client 192.168.1.10] Invalid method in request
[Wed May 16 03:10:12 2012] [error] [client 192.168.1.10] Invalid method in request
[Wed May 16 03:48:39 2012] [error] [client 192.168.1.10] Invalid method in request
[Wed May 16 04:49:31 2012] [error] [client 192.168.1.10] Invalid method in request
[Wed May 16 05:54:58 2012] [error] [client 192.168.1.10] Invalid method in request
[Wed May 16 06:26:16 2012] [notice] caught SIGTERM, shutting down - mdgm-ntgrNETGEAR Employee RetiredWhat's the output of
df -h
Can you try restarting Frontview?:
# /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -t && /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful
If you are accessing the NAS remotely note that you can pipe Frontview over SSH. See http://www.readynas.com/forum/viewtopic.php?f=65&t=46303 - Linda2AspirantJust before restarting the ReadyNAS This is the result of tail .../frontview/error.log
[Wed May 16 09:33:01 2012] [notice] Graceful restart requested, doing restart
[Wed May 16 09:33:02 2012] [error] [client 192.168.1.10] shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory, referer: https://192.168.1.30/admin/
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 192.168.1.30 for ServerName
[Wed May 16 09:33:03 2012] [warn] RSA server certificate CommonName (CN) `192.168.168.168' does NOT match server name!?
[Wed May 16 09:33:03 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8c DAV/2 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Wed May 16 09:33:32 2012] [error] [client 192.168.1.10] File does not exist: /frontview/ui/resource/html/images, referer: https://192.168.1.30/admin/
[Wed May 16 09:34:35 2012] [error] [client 192.168.1.10] File does not exist: /frontview/ui/resource/html/images, referer: https://192.168.1.30/admin/
ReadyNAS IP is 192.168.1.30 and the server I use to connect to NAS has the IP 192.168.1.10
The result of df -h is:
Filesystem Size Used Avail Use% Mounted on
/dev/md0 4.0G 715M 3.1G 19% /
tmpfs 16K 0 16K 0% /USB
/dev/c/c 2.7T 754G 2.0T 28% /c
tmpfs 50M 0 50M 0% /var/replicate/shm
/dev/sdf1 1.9T 777G 1.1T 42% /USB/USB_HDD_1
Now that the backup is working fine, I prefere not to touch the apache-ssl for now. But if the frontView goes down again I'll try restarting apache-ssl rather than restarting the NAS. Keep you updated on that...
Tried the SSH tunnel, it works fine now. I should try that when the frontview is down.
Would be great to hear your comments on the last error log I inserted above.
Thanks for the help. - JohnnyEgnyteAspirantThanks for all your help mdgm, really appreciate it :)
Linda, I'll forward this thread to our support team and see what they come up with. If you're having any further issues, just submit a support ticket at Egnyte Helpdesk. Then send me a message with the ticket # and I'll follow through to make sure it gets resolved quickly.
~ Johnny
Related Content
NETGEAR Academy

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