Shutting down Solaris


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Shutting down Solaris
# 1  
Old 01-24-2006
Shutting down Solaris

Hi
I have a mix of solaris 8,9 & 10. I need to have our 6 Solaris servers shutdown buy a script that will be executed by APC network Shutdown software

Im really not sure how I would write a script to shut them down and the following processes?

the processes are

portmapper
seq
seq_api
seq_cbot
seq_cds
seq_liffef
seq_storage.

the script must be help locally on the server and I need the script to shutdown the server completely off regardless of if the services are on or off.
basically if the processes are on the script shuts them down, including the server
if the processes are not on, the script sees the processes are not and shuts the server down
# 2  
Old 01-24-2006
Quote:
Originally Posted by tonysequoia
Hi
I have a mix of solaris 8,9 & 10. I need to have our 6 Solaris servers shutdown buy a script that will be executed by APC network Shutdown software

Im really not sure how I would write a script to shut them down and the following processes?

the processes are

portmapper
seq
seq_api
seq_cbot
seq_cds
seq_liffef
seq_storage.

the script must be help locally on the server and I need the script to shutdown the server completely off regardless of if the services are on or off.
basically if the processes are on the script shuts them down, including the server
if the processes are not on, the script sees the processes are not and shuts the server down
Probably all you need is :
init 5
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

11.2 not shutting down completely

I just installed this 11.2 ver and when I tell it to shutdown it takes for ever then just hangs with this just a little bit of that red line left to go, then it just sits there like forever until I get tired of looking at it then force a shutdown by holding my power button down until my laptop... (8 Replies)
Discussion started by: userx-bw
8 Replies

2. Fedora

Script for shutting down 48 computers

Hi All, I am pretty new to unix type languages. At work we have a server room with about 50 windows computers in one system and 50 in a unix system. We sometimes have power outages and I don't like the power slam. I wrote a windows batch file using sysinternals help to shutdown the windows... (4 Replies)
Discussion started by: Jeff Rollins
4 Replies

3. AIX

Getting error while shutting down

Hi, I am getting the error "/etc/rc.shutdown failed. Shutdown aborting" while shutting down the os. Please suggest. (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. Solaris

I Need to edit message at shutting down

on solaris 8 i edited file rc0 in /sbin at last line ex. /sbin/sync; /sbin/sync; /sbin/sync # Unmount file systems. /usr, /var, /var/adm, /var/run are not unmounted by # umountall because they are mounted by rcS (for single user mode) rather than # mountall. If this is changed,... (1 Reply)
Discussion started by: infjustice
1 Replies

5. Ubuntu

Ubuntu Hangs when shutting down

i really dont know any other way to put it besides that Ubuntu 8.04, that i just installed on my computer hangs when it shuts down. the bar depletes the orange like it should, but it never actually shuts down. anyone know whats going on? (3 Replies)
Discussion started by: Texasone
3 Replies

6. Solaris

Sun Fire v440 keeps shutting down

Hello, I hope you can help me. I am new to Sun servers and we have a Sun Fire v440 server in which one power supply failed, we are waiting for new one. But now our server is shutting down constantly. Is there any setting with which we can prevent this behaviour? (1 Reply)
Discussion started by: Tibor
1 Replies

7. UNIX for Dummies Questions & Answers

Shutting down the Server

Hi Is there anyway i can find out from which terminal a shutdown command has been run from ? :( (3 Replies)
Discussion started by: ktech
3 Replies

8. Solaris

shutting down/restarting oracle with the solaris server restart

How can I make sure that all the database instances are shut down and brought up when the server is restarted. Krishan (3 Replies)
Discussion started by: krishan
3 Replies

9. Solaris

shutting down oracle with the server

What can I do to ensure that oracle database is shut down when the server reboots. (1 Reply)
Discussion started by: krishan
1 Replies

10. UNIX for Dummies Questions & Answers

error shutting down open bsd

The method I use to shut down my box is as follows : shutdown +3 -h logout the box indicates shutdown complete, so I switch off the power. When I reboot next time I get a Warning message in the bootup screen stating the that it was not shutdown correctly. being a newbie I'm kind of... (1 Reply)
Discussion started by: ferret
1 Replies
Login or Register to Ask a Question