Solved

Rebooting a Linux server from putty

Posted on 2004-08-10
4
542 Views
Last Modified: 2011-09-20
Hi,

Im trying to reboot my linux server from a localhost using putty. Can anyone tell how or the command to do this?

Thanks
Suzy
0
Comment
Question by:fyness
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
JohnK813 earned 50 total points
ID: 11764095
First, do an

su

to switch to root.  It'll ask you for a password.

Then, for most flavors (you'll probably have to check), you can just give the command

reboot

However, your putty session will get disconnected as the server is going down.
0
 

Author Comment

by:fyness
ID: 11764132
thanks
0
 

Author Comment

by:fyness
ID: 11764149
Do you by any chance know how to get tomcat back up? I want to go to ..server:8080/manager/html for tomcat and its not recognising the server
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 11764413
Basically, you need Tomcat to start automatically on boot.  I think you can do this by adding a line to /etc/init.d, but I'm really not sure.  But, if you post a new question here, I'm sure someone will know the answer rather quickly.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question