Solved

SCO 5.0.5 shutdown or reboot using init command

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now