What's new

Lost sh and http

Kevin K

Regular Contributor
I had a curious failure of sh and http on Firmware Version:382.1_2. This is an RT-AC88U, and it has been a constant problem.

Attempts to hit the web GUI on the internal IP address would hang with no response, so I tried to ssh into the router. ssh would hang after showing the banner, but before showing a shell prompt. Curiously, I could still execute remote commands via ssh, such as: ssh -l root 192.168.1.1 tail -f /tmp/syslog.log

(I didn't see any relevant errors in the log.)

So I tried running "service restart_httpd" via ssh command line, and it reported Done, but the web GUI still did not respond. I tried "reboot" via ssh command line, and the router did not reboot. I eventually had to use the physical power button.

Any idea what went wrong and how I could have recovered without resorting to the power button?
 
Next time, check and save the output of df. It shows the disk space for all mounted file systems.
Code:
df -hT
This shows human readable numbers with some extra info.
I suspect your system ran out of free space and was unable to perform even simple tasks such as rebooting.
 
Last edited:
Similar threads

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top