Unix Technical Forum

Re: hpux autoboot problem

This is a discussion on Re: hpux autoboot problem within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi Jun > I have an H40 running hpux-11.00. Whenever you do a reboot, it will drop > you ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 04:45 PM
Florian Anwander
 
Posts: n/a
Default Re: hpux autoboot problem

Hi Jun

> I have an H40 running hpux-11.00. Whenever you do a reboot, it will drop
> you to a root shell, without anything mounted. You can type init 3 to
> get the system fully functional, though.
>
> autoboot is enabled, and initdefault is 3 in inittab.

Two possibilities come to my mind:

1.) your bootstring is set to "hpux -is" or "hpux -lm", which would cause
this.
Check it with:

lifcp /dev/dsk/c1t2d0:AUTO -

2.) You entered a shell other than /sbin/sh as shell for root in
/etc/passwd.
/sbin/sh is mandatory (exception: you do not have seperated mountpoints for
/usr and /var). As far as I know a csh-style shell won't work ever.

Florian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 04:47 PM
Jun Zhang
 
Posts: n/a
Default Re: hpux autoboot problem

Florian,
You got my problem solved. The specified root shell is
/usr/bin/ksh. I changed it to /sbin/ksh and the system booted up.
Thank you very much!

Jun

Florian Anwander wrote:
> Hi Jun
>
>
>>I have an H40 running hpux-11.00. Whenever you do a reboot, it will drop
>>you to a root shell, without anything mounted. You can type init 3 to
>>get the system fully functional, though.
>>
>>autoboot is enabled, and initdefault is 3 in inittab.

>
> Two possibilities come to my mind:
>
> 1.) your bootstring is set to "hpux -is" or "hpux -lm", which would cause
> this.
> Check it with:
>
> lifcp /dev/dsk/c1t2d0:AUTO -
>
> 2.) You entered a shell other than /sbin/sh as shell for root in
> /etc/passwd.
> /sbin/sh is mandatory (exception: you do not have seperated mountpoints for
> /usr and /var). As far as I know a csh-style shell won't work ever.
>
> Florian


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:56 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com