Technical article 125691

The Unixware init or shutdown commands fail to change run levels.

OpenServer 6.0.0UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

Problem

When running the init or shutdown commands to shutdown or
reboot the system, the command is accepted, but the run
level doesn't change and control is returned to the shell.
There are no error messages generated on the
terminal/console or in the logs.

Cause

The likely cause for this happening is that one of the /etc/inittab processes that init is controlling fails to terminate. init must wait for entries with an action of "wait" (3rd field of the inittab entry) and it cannot continue with the run level change until these processes die.

Solution

Use your /etc/inittab file as a guide to check for "wait" processes in your process table (ps -ef) that are unable to be killed normally. Once you have identified the process that isn't dying, investigate why this process fails to terminate and rectify the situation. Commands such as crash, truss, and debug can be useful in diagnosing the reason for the hung process.

See also

inittab(4) init(1M) crash(1M) truss(1) debug(1)

From the Xinuos technical article database, record 125691. Reproduced with permission. The original is at www.sco.com/ta/125691, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.