The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
configur a remot acssas server in redhat linux sachinbhagat Linux 1 05-14-2008 12:22 AM
Postfix Restart kumarrana UNIX for Dummies Questions & Answers 4 02-16-2008 11:22 AM
How to restart a CRON ddrivera UNIX for Dummies Questions & Answers 7 07-28-2007 06:48 AM
Problem with mount remot..!! chanfle SUN Solaris 4 06-22-2006 05:46 PM
various restart commands ? champion UNIX for Dummies Questions & Answers 4 09-06-2002 11:58 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-09-2005
Registered User
 

Join Date: Jan 2005
Posts: 1
Remot restart

Dear All,

How could i resatrart a clinet server remotly.

Thank you in advance
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-10-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
ssh/telnet into the box, su to root, and run the shutdown command.

Cheers
ZB
Reply With Quote
  #3 (permalink)  
Old 01-11-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Make sure you understand the shutdown command options - default shutdown put the server into single user mode on console only. You might need the -i option to reboot instead of using any of the options that would leave the remote server out of your reach.
Reply With Quote
  #4 (permalink)  
Old 01-11-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Very good advice, RTM!

init state 6 will cause the server to reboot and come up to whatever runlevel is specified in /etc/inittab as initdefault (probably 3).

So a command such as
shutdown -y -g0 -i6

should do the trick - you might want to set the grace period (0 secs here) to something a little more forgiving for your users!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0