Alliedassault           
FAQ Calendar Search Today's Posts Mark Forums Read
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page Anyone know the SSH command to remote reboot a linux server?
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Anyone know the SSH command to remote reboot a linux server?
Old
  (#1)
Jasper is Offline
Senior Member
 
Posts: 650
Join Date: Jan 2002
   
Default Anyone know the SSH command to remote reboot a linux server? - 09-02-2002, 07:41 AM

I cant restart TS untill the server is rebooted. If anyone knows the command to remote-reboot a linux server via SSH please let me know :P
  
Reply With Quote
Old
  (#2)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 09-03-2002, 01:06 PM

I assume you mean the machine? Or restart the server itself?

The reboot command in linux should reboot the machine. If for whatever reason it wont allow it because you're connected via SSH try echoing the appropriate lines into a perl script. I'd also add a brief wait period to give you time to disconnect lest it cause you problems. Then invoke the script.

I forget where I saw it but some linux version of a stats program had a perl script in it to restart the server, not the machine. Search it out?
  
Reply With Quote
Restarting apache
Old
  (#3)
=[DOA]=BallBuster is Offline
Senior Member
 
Posts: 271
Join Date: May 2002
Location: Behind the trigger of a warm STG
   
Default Restarting apache - 09-03-2002, 03:50 PM

to restart my server I login as root then

apache enter
apachectl gracefull enter

This is how i restart my box

=[DOA]=BallBuster
  
Reply With Quote
Re: Restarting apache
Old
  (#4)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default Re: Restarting apache - 09-03-2002, 07:51 PM

[quote="=[DOA]=BallBuster":d311b]to restart my server I login as root then

apache enter
apachectl gracefull enter

This is how i restart my box

=[DOA]=BallBuster[/quote:d311b]

Hmmm I have apache on my bawx...gonna have to try that
  
Reply With Quote
Old
  (#5)
Jasper is Offline
Senior Member
 
Posts: 650
Join Date: Jan 2002
   
Default 09-03-2002, 08:08 PM

Thanks.
Its a moot issue, I dont have root access and the server didnt need restarting anyway.
  
Reply With Quote
Old
  (#6)
Bazooka_Joe is Offline
Senior Member
 
Posts: 12,585
Join Date: Jan 2002
Location: Staten Island, NY, USA
 Send a message via ICQ to Bazooka_Joe Send a message via AIM to Bazooka_Joe Send a message via MSN to Bazooka_Joe Send a message via Yahoo to Bazooka_Joe  
Default 09-04-2002, 09:21 AM

the command is "gracefull"? heh or is that just a pw?
  
Reply With Quote
Password?
Old
  (#7)
=[DOA]=BallBuster is Offline
Senior Member
 
Posts: 271
Join Date: May 2002
Location: Behind the trigger of a warm STG
   
Default Password? - 09-04-2002, 12:44 PM

Joe,

Once you are logged in through SSH in a linux
server as Root "SU" - you dont need further passwords

"Gracefull" just tells apache not to restart until any
other operations that may be running terminate first

=[DOA]=BallBuster
  
Reply With Quote
Old
  (#8)
Bazooka_Joe is Offline
Senior Member
 
Posts: 12,585
Join Date: Jan 2002
Location: Staten Island, NY, USA
 Send a message via ICQ to Bazooka_Joe Send a message via AIM to Bazooka_Joe Send a message via MSN to Bazooka_Joe Send a message via Yahoo to Bazooka_Joe  
Default 09-04-2002, 03:14 PM

Ah. Well excuse me! heh J/K

I want to learn Apache script, along with PHP and MySQL.
  
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.