cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX does not boot

 
Michael Steele_2
Honored Contributor

Re: HP-UX does not boot

a) who -r
b) mount -a
c) bdf
d) grep -i err /etc/rc.log
e) dmesg

Get your file systems up! What's your run level?
Support Fatherhood - Stop Family Law
Dennis Handly
Acclaimed Contributor

Re: HP-UX does not boot

>Michael: What is 'who -r'?

Unfortunately who(1) is broken and will always return 3 or greater.
But it is probably 3 since this rc(1m) error:
/sbin/rc3.d/S200tps.rc[15]: /usr/bin/hostname: not found

>b) mount -a
>Get your file systems up!

Right, these are most important to find out why this failed:
.................... FAIL *
Mount file systems ........ FAIL *
And why the first doesn't seem to have a name?

>d) grep -i err /etc/rc.log

This may help.
mahbub
Advisor

Re: HP-UX does not boot

Dear all,

Thanks for your mail.

INIT: Overriding default level with level 's'

INIT: SINGLE USER MODE

INIT: Running /sbin/sh

# who -r
sh: who: not found
# uname -a
HP-UX unknown B.11.11 U 9000/800 248600844 unlimited-user license
# mount -a
# bdf
sh: bdf: not found
# dmesg

Jan 3 07:30
Can't get kernel namelist
# grep -i err /etc/rc.log
sh: grep: not found



Thanks and regards
Mahbub
Vishu
Trusted Contributor

Re: HP-UX does not boot

Hi,

If you are in Single User mode, then first try mounting the /usr

# mount /usr
# bdf

First, set the hostname of your server with the command

# hostname
# mount -a

Then try changing the run level for the single user mode

# init 2
# init 3
mahbub
Advisor

Re: HP-UX does not boot

Dear all,


mount /usr--didn't mount
# bdf
sh: bdf: not found
# hostname
sh: hostname: not foun

I tried changing the run level for the single user mode but boot failed

What will be next step?

Best regards
Mahbub
Vishu
Trusted Contributor

Re: HP-UX does not boot


1)Can you tell me which run level you are in.
2) is /usr is a separate FS in your server.

okay, now from you vgdisplay of vg00, it is seen that you have two disks mirrored in your vg00. So, try booting your server from the alternate disk and see it the server is coming up.

if not again, then go to single user mode by

ISL> hpux -is -lq
Dinesh Kumar B
Occasional Visitor

Re: HP-UX does not boot

Mahbub

to get BCH mode type CO on the MP login

then u can able to try to boot from alt disk and previous kernel.

mahbub
Advisor

Re: HP-UX does not boot

Dear,

ISL> hpux /stand/vmunix.old

Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix.old
disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix.old: cannot open, or not executable
Exec failed: No such file or directory.

Best Regards
Mahbub
johnsonpk
Honored Contributor

Re: HP-UX does not boot

hi ,

On ISL prompt

execute
ISL> hpux ll
to list the contents of /stand and confirm that vmunix.old exist there
Michael Steele_2
Honored Contributor

Re: HP-UX does not boot

Hi

a) Please explain the history of this box
b) Please explain the history of this crash - this is very important - don't leave anything out
c) After you perform 'johnsonpk's'
ISL> hpux ll...

please post the results by copy and paste.

Note that I'll be online most of the day if you'd like to work through this.

d) Do you have ignite backups?
e) Do you have data backups?
f) What application runs on this box?
Support Fatherhood - Stop Family Law