LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-21-2008, 03:39 PM   #1
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, NomadBSD, OtherBSD
Posts: 109

Rep: Reputation: 15
Shutdown Time on Open Solaris 2008.11


Hi, I've been looking for how to adjust the shutdown time in these pages, and so far have not found what I'm looking for. I also downloaded the basic and advanced Sys Admin User's Guide for Solaris Express. Still, I cannot find anything to explanin how to do this. If someone could please tell me how to change the shutdown time so that when I click the menus, the system will shutdown quickly.

This is a home brew box w/4GB ram, 120GB seagate, 512MB ATI graphics, AMD Athlon 64 X2, running OpenSolaris 2008.11. I'm a unix noobie. Thanks.

Terry
 
Old 12-21-2008, 04:38 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,788

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no generic setting that would reduce the shutdown time.

How long does your box take to shutdown ?
 
Old 12-22-2008, 10:24 AM   #3
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Rep: Reputation: 46
I have a similar problem in Solaris Express. Shutdown takes forever. Therefore I just write the command as root:
# poweroff

or
# reboot

Which executes very quick.
 
Old 12-22-2008, 02:11 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
I think that the OP talks about the 60 seconds that you must wait until the shutdown starts once you press the Shutdown button. I guess this can be adjusted from the gnome configuration.
Another way to start shutdown immediately is:
Code:
init 5
 
Old 12-22-2008, 10:31 PM   #5
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, NomadBSD, OtherBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Thanks to all who answered. I would just like to have a Solaris installation where everything worked correctly so I could then proceed to learn it -- maybe with one of those "Teach Yourself System Adminstration in 24 Decades" books.

To jlliagre: It takes it about 1.25 min. After I click the System menu, then Shutdown, then Shutdown again, it waits 60 seconds. If the shutdown script is checking to see if services are running that need to be stopped or something like that, then I can learn to live with it. But if those 60 seconds are not needed, I would like to change the shutdown and reboot options to kick into action more quickly. If I need to dismount drives or something like that, I can do that if the shutdown script is doing that. I like the shutdown button in Linux Mint. If you have something mounted like a USB drive, it won't let you shutdown/reboot until you umount it. But it won't tell you that, you just have to know.

To kebabbert:
I knew about the reboot command, but not the poweroff. Thanks.

To bathory:
I wasn't sure if using the init 5 command like that was a safe way to shutdown (since there is a shutdown script that is attached to the gnome menu), so I didn't try it. But you mentioned that the gnome program can be configured to one's liking regarding this. Do you know how? Sorry, I'm a newbie. I sometimes don't even know how to look up what I'm looking for (because if you don't know the technical language, you can't ask for what you need).

Thanks again.

Terry
 
Old 12-23-2008, 05:09 AM   #6
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Rep: Reputation: 46
init 5 to shutdown should be safe. Ive used it numerous times without any problems.
init 6 to reboot.

The problem is that both take long time to complete. I use "poweroff" and Solaris shuts down in 10 secs or so.
 
Old 01-05-2009, 06:48 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,788

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
"init 5" takes some time to proceed for a reason. It close all services in an ordered and graceful way.

poweroff is obviously quicker but it kills all applications without letting them much chance to close their stuff properly. Although the risk is pretty low, I almost never shutdown Solaris that way.
 
Old 01-06-2009, 07:46 PM   #8
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, NomadBSD, OtherBSD
Posts: 109

Original Poster
Rep: Reputation: 15
To jlliagre:

This is exactly why I asked the question. I wanted to know if OpenSolaris needed that much time to shutdown/reboot before actually doing it. Thanks.

T
 
Old 01-07-2009, 04:04 AM   #9
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
Even if there's the button, maybe I'm a dinosaur, but I keep on using
Code:
$ pfexec shutdown -y -g 1 -i 5 now
That's start the shutdown procedure immediately instead of after the default 60 seconds. Adjust the grace time at pleasure.

Bye,
Enrico
 
Old 01-08-2009, 04:19 PM   #10
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, NomadBSD, OtherBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Hey, thank Enrico. I'll give that a try too.

T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Drive/ Dual Boot > Open Solaris 2008.05 + Windows XP SP2 starwarp2000 General 2 07-14-2008 06:01 AM
Open Solaris 2008-05 installation brgsousa Solaris / OpenSolaris 7 06-13-2008 07:16 PM
Fedora 2008 shutdown/re-boot trouble Oyl Linux - Newbie 1 05-17-2008 01:25 AM
Mandriva 2008 Shutdown problem cbradlea Linux - Desktop 2 10-09-2007 11:17 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration