1834010 Members
2085 Online
110063 Solutions
New Discussion

Server is not booting

 
Shashikiran_1
Advisor

Server is not booting


I am facing a problem with my one of the K Class Server( HPUX 10.20).
After the reboot we get the following errors:

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id: cons "/usr/sbin/getty console console"

I haven't touched the /etc/inittab file.

When I boot it from single user mode, Only "/" is mounted. (/dev/vg00/lvol3 / hfs defaults 0 1 107240779 )

I have tried mounting /var ,/usr...etc manualy .

It wont gives any errors but wont mounts anything.

Without mounting these directories i cant mount the file systems.

Could you pls give some hints for mounting the local file systems.



Thanks

Shashi
5 REPLIES 5
Hazem Mahmoud_3
Respected Contributor

Re: Server is not booting

Shashi,
Have you tried executing "mount -a"? That should mount all file systems in /etc/mnttab. Also, how does your /etc/mnttab file look?

-Hazem
Steven E. Protter
Exalted Contributor

Re: Server is not booting

Something may have touched the inittab file.

Boot into single user mode again and use the type command to look at the file, comparing it to a valid one from a good system.

If you have a recent make_recovery or make_tape
_recovery tape you might consider booting off that tape and restoring system to a good point.

I would guess however that some kind of hardware problem as cropped up.

At the console after booting, typs sea and enter after interupting the boot at the 10 second prompt.

See if it shows all the disk you expect to be there.

Report results quickly, not to many people on itrc today. I turn into a pumpkin in less than two hours.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: Server is not booting

The getty responding too rapidly means that the serial connection to the console is 'running away', that is, whatever is connected to the console port is generating something (noise) that produces text on the port and this is passed to login which then fails, the connection is dropped and started again, over and over. If you have a terminal connected, remove the cable and that will stop the messages. Then fix the terminal (configuration? fried by a storm? wrong cable? wrong baud rate?)

As far as single user, the only way to get to single user mode is by interactive boot (shutdown and init do not work). In single user mode, you will always have just two filesystems: / and /stand. mount -a is not the best choice since it will attempt to mount non-HP-UX filesystems including NFS, disk arrays, etc. Mount /var or /usr and check use the mount command eith no options (bdf in on /usr so if it isn't mounted, the command is not there yet). If mount produces an error message for /usr, please list the message. If it produces nothing, run lvlnboot -v to see if there are any errors. Also run vgdisplay vg00, again looking for error messages.


Bill Hassell, sysadmin
T. M. Louah
Esteemed Contributor

Re: Server is not booting

Did you try to boot in maintenance mode, is your root disk mirrored? did you try to boot from alternate disk ...

If able to boot single user then you may try this:
# mv /etc/inittab /etc/inittab.orig
# cp /usr/newconfig/etc/inittab /etc/inittab
# init q (this will rescan inittab)

# mv /etc/mnttab /etc/mnttab.orig
# mount /usr
# mount /var
if there is a problem it usually ask you to run fsck:
# fsck -F vxfs -y -o full /dev/vg00/rlvolX
try mounting again. Now check ur old inittab for any differences with the default one, mnttab will be recreated by "mount -a" .

Good luck & Happy 2004 all
T+
Little learning is dangerous!
Brian Lee_4
Regular Advisor

Re: Server is not booting

If you can not mount other file systems except root, check "mount" binary file if the size is zero or permission is correct.
brian lee