cancel
Showing results for 
Search instead for 
Did you mean: 

respawning

sandyunix
Occasional Advisor

respawning

Hi Techies,

I'd faced an issue with an HP-UX B.11.11 server. The server was restarted and when the server came up, it was hung after the term is loaded.From the console, i can see that a message is being generated as below.

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id: h1 "/sbin/init.d/init.cssd run >/dev/null 2>&1 INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id: h1 "/sbin/init.d/init.cssd run >/dev/null 2>&1
Later while i powered off the server and powered it on after a while, then i was able to login to the server. Please find the inittab entires below.

init:3:initdefault:
ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1
tape::sysinit:/sbin/mtinit > /dev/console 2>&1
muxi::sysinit:/sbin/dasetup /dev/console 2>&1 # mux init
stty::sysinit:/sbin/stty 9600 clocal icanon echo opost onlcr ixon icrnl ignpar vxen::bootwait:/sbin/fs/vxfs/vxenablef -a
brc1::bootwait:/sbin/bcheckrc /dev/console 2>&1 # fsck, etc.
link::wait:/sbin/sh -c "/sbin/rm -f /dev/syscon; \
/sbin/ln /dev/systty /dev/syscon" >/dev/console 2>&1
cprt::bootwait:/sbin/cat /etc/copyright >/dev/syscon # legal req
sqnc::wait:/sbin/rc /dev/console 2>&1 # system init
#powf::powerwait:/sbin/powerfail >/dev/console 2>&1 # powerfail
cons:123456:respawn:/usr/sbin/getty console console # system console
#ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600
#ttp2:234:respawn:/usr/sbin/getty -h tty0p2 9600
#ttp3:234:respawn:/usr/sbin/getty -h tty0p3 9600
#ttp4:234:respawn:/usr/sbin/getty -h tty0p4 9600
#ttp5:234:respawn:/usr/sbin/getty -h tty0p5 9600
krsd:123456:respawn:/sbin/krsd -i
sfd:123456:respawn:/sbin/sfd
#ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf
ems1::bootwait:/sbin/rm -f /etc/opt/resmon/persistence/runlevel4_flag
ems2::bootwait:/sbin/sh -c "/sbin/cat /etc/opt/resmon/persistence/reboot_flag; /sbin/chmod 644 /etc/opt/resmon/persistence/reboot_flag"
ems3:3456:wait:/sbin/sh -c "/usr/bin/touch /etc/opt/resmon/persistence/runlevel4_flag; /usr/bin/chmod 644 /etc/opt/resmon/persistence/runlevel4_flag"
ems4:3456:respawn:/etc/opt/resmon/lbin/p_client
h1:3:respawn:/sbin/init.d/init.cssd run >/dev/null 2>&1
Can someone please advise me how i can correct the error. Thanks in advanse.
3 REPLIES
Bill Hassell
Honored Contributor

Re: respawning

The simple answer is:

Edit /etc/inittab and change the last line from respawn to off:

h1:3:respawn:/sbin/init.d/init.cssd run >/dev/null 2>&1
to

h1:3:off:/sbin/init.d/init.cssd run >/dev/null 2>&1
Then run the command: init q

This means that whatever cssd is supposed to do, it is no longer running. The long term fix is to address the cssd problem. This (I guessing) is an Oracle process. You'll need to get your DBA or Oracle involved to resolve the issue permanently.


Bill Hassell, sysadmin
SoorajCleris
Honored Contributor

Re: respawning

Hi,

An action item, "respawn" to an inttab entry says that if the process stoped start it again.

So it is failed to do that.
Please review the line/process as Bill said.
The error messages can be stopped, by Hashing (#) the line, but you should know what this line stads for and how it should behave in normal condition.

Regards,Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
sandyunix
Occasional Advisor

Re: respawning

Thank you bill & sooraj, I'd edited the inittab and i dont see tha message anymore.