Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Booting error in hp ux 10.20

Saifudheen_1
Advisor

Booting error in hp ux 10.20

hi,
still i have problem for booting the hp ux 10.20 server. the same msgs coming again.

INIT: Command is respawning too rapidily
will try again 5 minites
check for possible errors
ID:Cons "/usr/sbin/getty consol console # system console"

give me some more explanation.

thanks
saifu
17 REPLIES
Kent Ostby
Honored Contributor

Re: Booting error in hp ux 10.20

Saifu --

Generally this means that you are having a problem because the startup scripts did not complete.

Reboot the system (via the power switch if you can't get it any other way).

Interrupt the boot process and boot in single user mode:

(from ISL): hpux -is

Once you are in single user mode type the following:

mount -a

The key here is to check to see if there is an error given that mentions the layout of the fstab. If there is then mount /usr and /var to give you a working vi and fix the offending line.

If not, cd to /etc/rc.config.d and check the files there via ll -tr.

The files that have been modified since your last GOOD reboot need to be checked in this way:

. ./

Other files to check are files that dont appear on other machines in this same directory.

If you find a file that returns ANYTHING that file either has an error in it (such as a mismatched quote) or is a script type of file which should NOT be in this directory.

Fix or remove that file and reboot the system and your problem should be gone.

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

thanks for your prompt reply.

I have found the ditecotry in /etc/rc.config.d/ ../ directory.

Shall i remove this directory..please conform

awaiting your reply soon.

Thanks

Saifu
Todd McDaniel_1
Honored Contributor

Re: Booting error in hp ux 10.20

What Kent is implying, if I can read his mind, is that you need to look at your config files in /etc/rc.config.d/*

These are the files that setup the variables for your startup scripts.

You need to try and execute each one of them as suggested and if you get an error either:

1) move them to another directory for analysis

2) correct the config problem so your error will go away.



_________________________________________________
IF you move them out of /etc/rc.config.d please disable the Startup script in /sbin/rc#.d that is linked to it...

Once you have done these things you should be able to reboot without this problem.
Unix, the other white meat.
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

tks, i will try as per ur email..if any problem i will let u know.

Thank you for your cooperation.

Regards,
Saifu
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

hi,

Me here again and looking for some more help for booting error. I have found in /etc/rc.config.d/ two direcoty one ./ and other one ../ , now i can't enter into this directory ../ pls tell me how to find out the name for this directory (../)

Thanks
Saifu
Naveej.K.A
Honored Contributor

Re: Booting error in hp ux 10.20

hi saif,

. refers to the current directory i.e. /etc/rc.config.d and

.. refers to the parent directory i.e. /etc/

regds
Naveej
practice makes a man perfect!!!
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

hi Naveej,

I refered already but i can't find there..

Can u give me ur personal email id? for me.

Thanks
saifu
T G Manikandan
Honored Contributor

Re: Booting error in hp ux 10.20

Examine your /etc/inittab file.
Might be some problem with that file.
T G Manikandan
Honored Contributor

Re: Booting error in hp ux 10.20

Might be you can copy this /etc/inittab

#cp /etc/inittab /etc/inittab.old
#cp /usr/newconfig/etc/inittab /etc/inittab


Revert
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

hi Manikandan,

Thanks let me try with it..hope it will work.

tks
saifu
Todd McDaniel_1
Honored Contributor

Re: Booting error in hp ux 10.20

You only need to check the files in the directory not the . and .. those are your pwd and parent dirs.

Did you find any errors?
Unix, the other white meat.
T G Manikandan
Honored Contributor

Re: Booting error in hp ux 10.20

Also check whether you have any execution scripts in /etc/rc.config.d dir.

Just do a
/usr/bin/ksh -x /sbin/rc

Revert with results
T G Manikandan
Honored Contributor

Re: Booting error in hp ux 10.20

The best way to check any execution scripts present in /etc/rc.config.d dir

#for i in /etc/rc.config.d/*
do
echo $i
done

this should find out the culprit

Revert
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

hi Manikandan,

Not yet, becouse i just restarted the server. Actually u know am facing the problem will give u a small explanation. I have 3 hp servers here and last week one server unix hardisk failed. i have tried to recover the hardisk, but i faild to do so. then install unix in new hardsik and restore some file which is required for some application. after restore the file if quit from sam am getting some error. /var/adm/sam/log. pls find attached the samlog file. then if i restart the server i getting this problem

INIT: Command is respawning too rapidily
will try again 5 minites
check for possible errors
ID:Cons "/usr/sbin/getty consol console # system console"

then system will not boot.

any solutions?

thanks
saifu
Naveej.K.A
Honored Contributor

Re: Booting error in hp ux 10.20

execute ./usr/sam/bin/samlog_viewer

the error log file you have attached can't be read as it is...

regds
Naveej
practice makes a man perfect!!!
SANTOSH S. MHASKAR
Trusted Contributor

Re: Booting error in hp ux 10.20

Just check the cable connection of console.

- Santosh
Saifudheen_1
Advisor

Re: Booting error in hp ux 10.20

hi,naveej

pls check this attachment

thanks
saifu