Operating System - HP-UX
1833053 Members
2433 Online
110049 Solutions
New Discussion

Re: When I reboot my HPUX 11i server it comes up in single user mode.

 
Hans Hendriks_1
Frequent Advisor

When I reboot my HPUX 11i server it comes up in single user mode.

Hello,

I Have a 3 node kluster with 3 L (5400) machines. With 11.i on it installed. We rebooted one of our nodes and then it com up in singel user mode. When I look at the messages on my console I do not see why it boots in single user mode. I shall add the dmesg from the machine.
When we do after the machine is in single user mode a init 3 then the machine goed to runlevel 3 immedeately and gives no problems.
In the inittab there is written: init:3:initdefault:
The shell for root is root:*:0:3::/:/sbin/sh

I also looked in the files /var/adm/syslog or /var/adm/Oldsyslog but cannot find anything.

So I hope someone can give me some tips to look at and find out why the machine do not boot in runlevel 3


Greetings Bart
9 REPLIES 9
Jean-Louis Phelix
Honored Contributor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

hi,

Did you check your AUTO file ? use :

lifcp /dev/rdsk/:AUTO -

It could contain something like "hpux -is".

Use mkboot to correct it (usually we use "hpux" or "hpux -lq").

Regards.
It works for me (© Bill McNAMARA ...)
Hans Hendriks_1
Frequent Advisor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

If i do the following on my machine it gives hpux

lifcp /dev/rdsk/c1t0d0:AUTO -
hpux
Bill McNAMARA_1
Honored Contributor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

what is mounted?
cat /etc/fstab

are you really in single user?
/sbin/getrunlvl


strings /etc/lvmtab
ioscan -fnkC disk
It works for me (tm)
Hans Hendriks_1
Frequent Advisor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

Hi Bill,

When the machine comes up There are no disks mounted. only the / directory. I had to do a mount -a to mount all my disks.
Jean-Louis Phelix
Honored Contributor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

Just in case ... /dev/rdsk/c1t0d0 is your system disk, but is it also the disk displayed by setboot command ? It's possible to use the isl on a disk and boot on another one.

Nothing in /etc/rc.log ?

Regards.
It works for me (© Bill McNAMARA ...)
Hans Hendriks_1
Frequent Advisor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

I cannot do a new reboot at the moment because the machine is being used.
Vicente Sanchez_3
Respected Contributor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

Hi,

I don't know if this is the same situation but in this post you have information about problems with shutdown/reboot and HPUX 11i.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe05d0fe6d0f7d61190050090279cd0f9,00.html

Have you contact with HP Response Center?.

HTH, Vicente.
John Payne_2
Honored Contributor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

Have you verified that /sbin/sh is actually there?

(Although you most likely would have other problems along with the boot problem in that event...)

Hope it helps

John
Spoon!!!!
Bernhard Mueller
Honored Contributor

Re: When I reboot my HPUX 11i server it comes up in single user mode.

Hello,

I would assume, that there is a run script in /sbin/rc1.d executed BEFORE the localmount that simply hangs and never exits. Therefore the machine cannot go on executing the rest of the run scipts.

Regards,
Bernhard