Solved

Rebooting a Linux server from putty

Posted on 2004-08-10
4
540 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now