Solved

SCO 5.0.5 shutdown or reboot using init command

Posted on 2007-04-03
5
2,663 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

Technology Partners: 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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

739 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