Reboot command via SSH?

User avatar
sww
Member
 
Posts: 43
Joined: Tue Aug 25, 2015 12:41 pm
Location: Roswell, NM
Has thanked: 0 time
Been thanked: 10 times

Reboot command via SSH?

Mon Aug 29, 2016 10:40 am

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?

User avatar
sww
Member
 
Posts: 43
Joined: Tue Aug 25, 2015 12:41 pm
Location: Roswell, NM
Has thanked: 0 time
Been thanked: 10 times

Re: Reboot command via SSH?

Mon Aug 29, 2016 10:41 am

ok i see there is a reload command? Is that a reboot or a defualt command?

User avatar
sirhc
Employee
Employee
 
Posts: 7419
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Reboot command via SSH?

Mon Aug 29, 2016 11:02 am

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
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
sww
Member
 
Posts: 43
Joined: Tue Aug 25, 2015 12:41 pm
Location: Roswell, NM
Has thanked: 0 time
Been thanked: 10 times

Re: Reboot command via SSH?

Mon Aug 29, 2016 11:15 am

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!

User avatar
sww
Member
 
Posts: 43
Joined: Tue Aug 25, 2015 12:41 pm
Location: Roswell, NM
Has thanked: 0 time
Been thanked: 10 times

Re: Reboot command via SSH?

Mon Aug 29, 2016 11:27 am

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!

fiberpipe
Member
 
Posts: 11
Joined: Tue Dec 22, 2015 1:21 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Reboot command via SSH?

Tue Nov 29, 2016 2:57 pm

Will reload cold remove any existing configs

User avatar
sirhc
Employee
Employee
 
Posts: 7419
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Reboot command via SSH?

Tue Nov 29, 2016 2:59 pm

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
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

fiberpipe
Member
 
Posts: 11
Joined: Tue Dec 22, 2015 1:21 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Reboot command via SSH?

Tue Nov 29, 2016 3:40 pm

I am not very good at command level , just type in reload cold and follow the prompts?

User avatar
sirhc
Employee
Employee
 
Posts: 7419
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Reboot command via SSH?

Tue Nov 29, 2016 4:04 pm

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
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

fiberpipe
Member
 
Posts: 11
Joined: Tue Dec 22, 2015 1:21 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Reboot command via SSH?

Tue Nov 29, 2016 4:14 pm

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?

Next
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 9 guests