Sponsored Content
Full Discussion: can't shut down ultra-10
Operating Systems Solaris can't shut down ultra-10 Post 302129754 by HikerLT on Wednesday 1st of August 2007 12:38:24 PM
Old 08-01-2007
can't shut down ultra-10

Running Solaris 8, Sun Ultra-10 system

during process of checking a crashed hard drive from another system, which I have attached to a good system as a slave 2nd drive....

I ended up with the system in a state where I can not shut it down from the command line. If I try the init 5 or shutdown commands I get a response:

shutdown: cannot execute


I'm trying to avoid just power cycling the Ultra-10.

Any advice ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Start Up and Shut down

I've never been on a Unix machine so please be easy on me!!! I need to create a step by step process for the Unix start up and shut down process. Thanks for any help in advance. (3 Replies)
Discussion started by: chaughney
3 Replies

2. Windows & DOS: Issues & Discussions

Shut down runner

How do i get win98 to run a script just before shutdown? (2 Replies)
Discussion started by: perleo
2 Replies

3. Solaris

I need to clone an ultra 1 onto and ultra 60

I need to move everything from an older ultra 1 onto a newer ultra 60 (OS and all) running SUNOS 5.5.1. Any suggestions on the best way to do this? Frank P.S. If you know of a document somewhere please let me know. (11 Replies)
Discussion started by: frankkahle
11 Replies

4. UNIX for Dummies Questions & Answers

Need to shut off beep

I need to know how to turn off the beep in my unix environment. I tried with the Common Desktop Environment on solaris but it didn't work. I used to know the environment variable to set but I have forgotten it. (1 Reply)
Discussion started by: jpedicone
1 Replies

5. Shell Programming and Scripting

Trying to shut down and start a Windows process

Hi , Good day people. I want to know if i can shut down a particular service that runs in windows from solaris through a script . Scenario : we have a distributed environment where we want to shut down a service that runs under windows through a shell script in solaris , is this kinda action... (3 Replies)
Discussion started by: vivsiv
3 Replies

6. Solaris

Solaris Machine Shut

Hi , I am using Sunsolaris 10 and System model T1000, I am getting This error and system is not booting . ERROR : SC Alert: SC initiating soft host system shutdown due to fault at MB/V_+3V3STBY. Please provide solution for this. Thanks Raja (4 Replies)
Discussion started by: rajasm
4 Replies

7. UNIX and Linux Applications

The ps command - process showing up even after application is shut down

Hi all, I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies

8. Linux

Find last system shut down time

Hi, I need to find the last system shutdown time. I got a command last that is used for this.But the command is not give the year. Below i posted the sample output last -x |grep shutdown shutdown system down 2.6.31.5-server- Tue Jan 11 11:45 - 11:46 (00:00) shutdown system down ... (6 Replies)
Discussion started by: maruthu
6 Replies

9. Solaris

When was the zone shut down?

Is there an easy way (or any way) to determine from a ksh script when a specific zone was shut down? I'm assuming the zone had been running and is now properly shut down in the 'installed' state. Is there a log entry or some other reliable way to find out when the zone had been shut down? (1 Reply)
Discussion started by: kmcgrego
1 Replies
shutdown(1M)						  System Administration Commands					      shutdown(1M)

NAME
shutdown - shut down system, change system state SYNOPSIS
/usr/sbin/shutdown [-y] [-g grace-period] [-i init-state] [message] DESCRIPTION
shutdown is executed by the super user to change the state of the machine. In most cases, it is used to change from the multi-user state (state 2) to another state. By default, shutdown brings the system to a state where only the console has access to the operating system. This state is called single- user. Before starting to shut down daemons and killing processes, shutdown sends a warning message and, by default, a final message asking for confirmation. message is a string that is sent out following the standard warning message "The system will be shut down in ..." If the string contains more than one word, it should be contained within single (') or double (") quotation marks. The warning message and the user provided message are output when there are 7200, 3600, 1800, 1200, 600, 300, 120, 60, and 30 seconds remaining before shutdown begins. See EXAMPLES. System state definitions are: state 0 Stop the operating system. state 1 State 1 is referred to as the administrative state. In state 1 file systems required for multi-user operations are mounted, and logins requiring access to multi-user file systems can be used. When the system comes up from firmware mode into state 1, only the console is active and other multi-user (state 2) services are unavailable. Note that not all user processes are stopped when transitioning from multi-user state to state 1. state s, S State s (or S) is referred to as the single-user state. All user processes are stopped on transitions to this state. In the single-user state, file systems required for multi-user logins are unmounted and the system can only be accessed through the console. Logins requiring access to multi-user file systems cannot be used. state 5 Shut the machine down so that it is safe to remove the power. Have the machine remove power, if possible. The rc0 procedure is called to perform this task. state 6 Stop the operating system and reboot to the state defined by the initdefault entry in /etc/inittab. The rc6 procedure is called to perform this task. OPTIONS
-y Pre-answer the confirmation question so the command can be run without user intervention. -g grace-period Allow the super user to change the number of seconds from the 60-second default. -i init-state If there are warnings, init-state specifies the state init is to be in. By default, system state `s' is used. EXAMPLES
Example 1 Using shutdown In the following example, shutdown is being executed on host foo and is scheduled in 120 seconds. The warning message is output 2 minutes, 1 minute, and 30 seconds before the final confirmation message. example# shutdown -i S -g 120 "===== disk replacement =====" Shutdown started. Tue Jun 7 14:51:40 PDT 1994 Broadcast Message from root (pts/1) on foo Tue Jun 7 14:51:41... The system will be shut down in 2 minutes ===== disk replacement ===== Broadcast Message from root (pts/1) on foo Tue Jun 7 14:52:41... The system will be shut down in 1 minutes ===== disk replacement ===== Broadcast Message from root (pts/1) on foo Tue Jun 7 14:53:41... The system will be shut down in 30 seconds ===== disk replacement ===== Do you want to continue? (y or n): FILES
/etc/inittab controls process dispatching by init ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
boot(1M), halt(1M), init(1M), killall(1M), reboot(1M), ufsdump(1M), init.d(4), inittab(4), nologin(4), attributes(5) NOTES
When a system transitions down to the S or s state, the /etc/nologin file (see nologin(4)) is created. Upon subsequent transition to state 2 (multi-user state), this file is removed by a script in the /etc/rc2.d directory. SunOS 5.11 9 May 2001 shutdown(1M)
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy