Operating System - HP-UX
1849469 Members
6397 Online
104044 Solutions
New Discussion

Re: HP box boots stops at run level 2

 
Patel_3
New Member

HP box boots stops at run level 2

I have a similar problem which I am using the fix of setting root to /sbin/sh.

The .profile for users seems to fail at the
. ttysetup ( error = not found).

any ideas why this should happen ?
Hi, We are using HP 11 and multitech ZDX 5600 and have the same problem , do we need a getty pacth ?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: HP box boots stops at run level 2

I'm confused: the title of your message seems to identify one problem, yet your actual message seems to describe something completely different.

If we're trying to discern why the boot process stops at run level 2, check your /etc/inittab to see what the default run level is (in the "init:X:initdefault:" line - X is the default run level.

If we're trying to solve the problem described in your message, I'm not sure what it is you're describing or asking.


Pete



Pete
V. Nyga
Honored Contributor

Re: HP box boots stops at run level 2

Hi,

you should check this user files in .dt-directory:
errorlog and startlog

Volkmar
*** Say 'Thanks' with Kudos ***
Michael Steele_2
Honored Contributor

Re: HP box boots stops at run level 2

Check your /etc/rc.log file for errors.

Boot to single user:
ISL> hpux -is

Debug your /etc/rc.config.d directory:

# sh -x -v rc.config

-or-

# init 1
# init 2
# init 3
Support Fatherhood - Stop Family Law
Enrico P.
Honored Contributor

Re: HP box boots stops at run level 2

Hi,
run in single user mode
mountall
and
check int /etc/rc2.d directory for the start script not properly set.
Maybe that you have create a new recently.

Enrico.
Enrico P.
Honored Contributor

Re: HP box boots stops at run level 2

Hy,
sorry ...
in /sbin/rc2.d

Enrico.
Michael Steele_2
Honored Contributor

Re: HP box boots stops at run level 2

Also note that everything in /sbin/rc#.d dirs and /etc/rc.config.d dir will be executed. So if you've been working there and maybe accidently added something or copied something, better remove it.

# cd /sbin/rc#.d
# ls -lart
Support Fatherhood - Stop Family Law