Page 1 of 2

Reboot command via SSH?

Posted: Mon Aug 29, 2016 10:40 am
by sww
Tried the search but I'm not finding it. I have a unit that has locked up and will not give me a web interface but I can ssh into. What is the reboot command from there?

Re: Reboot command via SSH?

Posted: Mon Aug 29, 2016 10:41 am
by sww
ok i see there is a reload command? Is that a reboot or a defualt command?

Re: Reboot command via SSH?

Posted: Mon Aug 29, 2016 11:02 am
by sirhc
Well if you type "reload ?" and press [Enter] it tells you what it does, there are 2 options.

However before you do that try these commands:
Drop to linux command line from the shell by typing "cmd" and pressing [Enter]
Then type "/etc/init.d/lighttpd restart" and press [Enter] - this restarts the HTTP service
You could also try "killall ssmtp" and press [Enter] if your using SMTP service
If you have a HIGH CPU useage then you can try "killall switch" and press [Enter]

This sounds like a bug that has been fixed in v1.4.3rc7, what version are you running?

I sent out many PM Alerts about this and urged people who use any of the following services to upgrade ASAP:
SMTP Alerts
Discovery Protocols
Discovery Tab

Re: Reboot command via SSH?

Posted: Mon Aug 29, 2016 11:15 am
by sww
Thank you! I had tried reboot cold before you posted and that didn't help. "/etc/init.d/lighttpd restart" got me in the first time. I tried to power cycle some ports on some dead ubiquiti ap's and it locked up again after I shut power off of those modules. killall switch got me back into the module. I was running 1.4.2, I'm upgrading to 1.4.3rc7 right now. This all started last night when I had the ubiquitis die on me. I have techs on their way out to troubleshoot that but I have a feeling we got water in a cable which may have messed with the switch. But I'm back in for now! I'll report back if I have problems after the upgrade.

Thanks!

Re: Reboot command via SSH?

Posted: Mon Aug 29, 2016 11:27 am
by sww
After the upgrade my 2 dead ap's are working again. I'm not sure if that is related to the upgrade or the fact that I had those ports shut off for a few hours last night to dry them out. I'll find out more when I get to the site later to investigate. We had some bad storms last night so who knows what happened. Thanks for your help the phone is quiet again!!! yay!

Re: Reboot command via SSH?

Posted: Tue Nov 29, 2016 2:57 pm
by fiberpipe
Will reload cold remove any existing configs

Re: Reboot command via SSH?

Posted: Tue Nov 29, 2016 2:59 pm
by sirhc
fiberpipe wrote:Will reload cold remove any existing configs


NO

Reload Default will default it Reload cold just reloads or reboots the switch with the same config

Re: Reboot command via SSH?

Posted: Tue Nov 29, 2016 3:40 pm
by fiberpipe
I am not very good at command level , just type in reload cold and follow the prompts?

Re: Reboot command via SSH?

Posted: Tue Nov 29, 2016 4:04 pm
by sirhc
fiberpipe wrote:I am not very good at command level , just type in reload cold and follow the prompts?


Once you type that and hit enter your done

Re: Reboot command via SSH?

Posted: Tue Nov 29, 2016 4:14 pm
by fiberpipe
DId the reload cold, did not resolve the issue. I have a device that is connection at only 100mb vrs 1gig on the port which is set to auto. We do not want to hard set and possible loose connection to the switch. The device is an Ubiquiti Air Fiber 5x in PTP mode, it is not powered by the switch , just data only. This also happened last Monday and we were able to reboot the switch and reconnect at 1g. We do not have remote power cycle at this one location, any other suggestions would be very Thank Full. This is a brand new switch just installed 3 weeks ago. Are there any commands that will do a complete power cycle of the device other that warm booting?