Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Command to Reboot Solaris 10 Box

Posted on 2011-05-06
3
Medium Priority
?
700 Views
Last Modified: 2013-12-27
I know this may sound trival to some but I'm wondering what the best command is remotely reboot a Solaris 10 box. I'm obviously a Solaris newbie and I've run into a few problems where when I attempted a 'shutdown -i6' command the box booted into the ALOM (maybe its ELOM?) which then I didn't know how to get out of and back into the normal boot cycle. I also pulled the power cords once the box was down during that reboot attempt, not sure if that had something to do with it booting into the ALOM or not.

Anyway, this weekend I have a window to reboot our box however I will be doing this remotely. I'm looking for the correct syntax that one would use to reboot the box so that it comes up cleanly back into the OS. I want to avoid it going into any "other" mode.

Appologize for the newbie verbage.
Thanks in advance....

0
Comment
Question by:IT_Telephonics
3 Comments
 
LVL 9

Accepted Solution

by:
jeremycrussell earned 2000 total points
ID: 35707237
I've always been fond of

$ sync;sync;init 6

Open in new window


Flushes disk buffers before the reboot.

When you pulled the power cords, it caused the Service Processor to reboot as well, so when you got back in on your serial interface, that's where you were.  At that point, depending on the SP revision and architecture, you would get back to your OS console using show console, or start SP/console, there's a few different variations.

0
 

Expert Comment

by:joeycastillo
ID: 35707862
init 6 - to reboot
init 5 - to shutdown
0
 

Author Closing Comment

by:IT_Telephonics
ID: 35708010
Thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

571 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