Solved

SCO 5.0.5 shutdown or reboot using init command

Posted on 2007-04-03
5
2,761 Views
Last Modified: 2013-12-05
I am using SCO 5.0.5 and on other PC's where I have used I could from the root prompt either type init 6 to reboot or init 0 to get it in a turn off/ press any key to reboot state.
The new machine I'm using works great but when I use either init 6 or 0, it gets to the
Safe to Power Off
or
Press any key to restart.
Regardless of what I do nothing happens. It won't reboot and pressing the power key should turn it off immediately but doesn't.
I have checked man reboot, man init man shutdown but I'm damned if I can find where or which file to vi and change it.
0
Comment
Question by:weeph
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 18848645
Can you use:

shutdown -g0 i0

or haltsys

to shutdown the system?

or
shutdown -g0 i6

to reboot the box?

check /etc/default/shutdown file

check /var/adm/messages to see if any error.
0
 

Author Comment

by:weeph
ID: 18848801
Sorry I should have mentioned that even using shutdown doesn't work.  Usining init 6 should reboot automatically and init 0 whould give the option to turn it off or press a key to restart.  Neither works.  Pressing a key does not reboot and pressing the power switch also does nothing.

haltsys & reboot do not shut down all of the processes that are running and I  can't afford to corrupt my database which has happened when I have used these options in the past.
When I use init 6 the unit stops all of the process and then comes up with
'The system is down
Automatic Boot Procedure'

But it certainly doesn't reboot itself as it should.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 18849043
You might have corrupt file in your box, can you copy the shutdown file from other SCO 5.0.5 box to see if it work?

0
 

Author Comment

by:weeph
ID: 18861358
Tried that, but no luck.  Still won't reboot on init 6 or allow me to press any key to restart or switch off using init 0.
Shutdown has the same effect.  Can't restart with a press of a key
0
 

Author Comment

by:weeph
ID: 18887420
Had a guts full of it so I trook the hard drive out of the box and put it in a crappy Compaq Deskpro EN desktop and away it went.  Init 0 & 6 wirk fine.  Must have something to do with the box which is a Celeron 2.4.  Even stting it at fail safe option in the bios made no difference.  
The points are yours
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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

627 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