Sponsored Content
Full Discussion: Power off on SCO 5.0.6
Operating Systems SCO Power off on SCO 5.0.6 Post 303014283 by jgt on Thursday 8th of March 2018 01:14:37 PM
Old 03-08-2018
Read the following section of the init command man page.
Code:
0                                                                            
       Shut the machine down so it is safe to remove the power.              
       Have the machine remove power if it can. This state can be            
       executed only from the console.                                       
       Note that init 0 should not be used if you have a USB                 
       keyboard attached to the console. During an init 0, the               
       USB stack gets shut down and the system then waits for a              
       keyboard keypress interrupt before rebooting. Since USB is            
       gone, there's no way for a keypress on the USB keyboard to            
       get serviced, and the system does not respond. If this                
       occurs, you must either press the hardware reset button or            
       power cycle the system.                                               
1                                                                            
       Put the system in single-user mode. Unmount all file                  
       systems except the root filesystem. All user processes are            
       killed except those connected to the console. It is                   
       recommended that this state be executed only from the                 
       console.                                                              
2                                                                            
       Put the system in multiuser mode. All multiuser                       
       environment terminal processes and daemons are spawned.               
   5                                                                            
          Stop the UNIX system and go to the firmware monitor.                  
   6                                                                            
          Stop the UNIX system and reboot to the run-level defined              
          by the initdefault entry in /etc/inittab.

The above is from the 6.0.0 documentation but is backwards compatible to Xenix.

---------- Post updated at 01:14 PM ---------- Previous update was at 01:09 PM ----------

If you are unable to power down the system, because the cmos does not support it, you may be able to create a workaround using a UPS that you can send a "power off in 5 minutes" command to just prior to shutting down the SCO system.
 

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
halt(1M)						  System Administration Commands						  halt(1M)

NAME
halt, poweroff - stop the processor SYNOPSIS
/usr/sbin/halt [-dlnqy] /usr/sbin/poweroff [-dlnqy] DESCRIPTION
The halt and poweroff utilities write any pending information to the disks and then stop the processor. The poweroff utility has the machine remove power, if possible. The halt and poweroff utilities normally log the system shutdown to the system log daemon, syslogd(1M), and place a shutdown record in the login accounting file /var/adm/wtmpx. These actions are inhibited if the -n or -q options are present. OPTIONS
The following options are supported: -d Force a system crash dump before rebooting. See dumpadm(1M) for information on configuring system crash dumps. -l Suppress sending a message to the system log daemon, syslogd(1M), about who executed halt. -n Prevent the sync(1M) before stopping. -q Quick halt. No graceful shutdown is attempted. -y Halt the system, even from a dialup terminal. FILES
/var/adm/wtmpx History of user access and administration information. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
dumpadm(1M), init(1M), reboot(1M), shutdown(1M), sync(1M), syslogd(1M), inittab(4), attributes(5), smf(5) NOTES
The halt and poweroff utilities do not cleanly shutdown smf(5) services. Execute the scripts in /etc/rcnum.d or execute shutdown actions in inittab(4). To ensure a complete shutdown of system services, use shutdown(1M) or init(1M) to reboot a Solaris system. SunOS 5.10 2 Nov 2004 halt(1M)
All times are GMT -4. The time now is 05:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy