Operating System - HP-UX
1833137 Members
3396 Online
110051 Solutions
New Discussion

INIT:Command is respawing too rapidly

 
alfred keoy
Occasional Advisor

INIT:Command is respawing too rapidly

RP7410 when booting halt with the following messages.

INIT:Command is respawing too rapidly
id:ems4 "/etc/opt/resmon/lbin/p client"
id:Dial "/opt/sanmgr/hostagent/sbin/diald"
id:hagt "/opt/sanmgr/hostagent/sgin/HostAgent"id:cons "/usr/sbin/getty console console #system console.

action taken boot using as single user ok.
Kindly advice. Thank you.
10 REPLIES 10
Jannik
Honored Contributor

Re: INIT:Command is respawing too rapidly

This a messages system error. You could uncomment the entry in the inittab but usally the issue is created by another error like /stand not mounted.

Frauke Denker in this link describes the way to stop and start the EMS:
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=781417

You might look at all you logfiles:
dmesg, syslog, console when booting and the /etc/rc.log.

Make sure you have a ignite backup handy :-).
jaton
alfred keoy
Occasional Advisor

Re: INIT:Command is respawing too rapidly

Have followed Frauke Denker's suggestions except at cstm.
cstm>remap ,system responded : A-- (RemapSystem is currently diable). When run stm , it hanged when first page of infomation been display.

1. After changes made except remap, reboot system, halt with same error.
2. Uncomment the 4 errors in inittab and rebooot. It halt with messages : /sbin/rc[67]: core : unknown test operator.
Please advice most of logfiles seem ok.




Dennis Handly
Acclaimed Contributor

Re: INIT:Command is respawing too rapidly

/sbin/rc[67]: core : unknown test operator.

Typically this occurs because a variable isn't defined and isn't quoted:
$ if [ $abc -eq 0 ]; then

If "abc" isn't set, then $abc isn't there at all.

Can you show lines around 67?
Use nl -ba and paste that here. Or attach the whole file.

Perhaps you have a junk file left in the /etc/rc.config.d/ directory?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1116823
SANTOSH S. MHASKAR
Trusted Contributor

Re: INIT:Command is respawing too rapidly

Hi,

This message generall comes on console and caused by some errors
in processes defined in /etc/inittab.

Here it seems that the process with
init id ems4 dial hagt are respawning very fast due to some reasons.

I think these processes are related to some type of SAN storage configured in ur system,
Just check network, fiber connectivity to this system.

Just check whether the errors goes if u comment
lines in /etc/inittab having these init ids.


-Santosh
alfred keoy
Occasional Advisor

Re: INIT:Command is respawing too rapidly

hi Dennis

Attached is the requested file. Appreciate id you could assist. Thank you
Dennis Handly
Acclaimed Contributor

Re: INIT:Command is respawing too rapidly

>Attached is the requested file.

The file seems to be corrupted? Is it like that on your system?
I see several "fi" and "}" missing.

What do you get with: (-n checks syntax)
$ sh -n /sbin/rc
alfred keoy
Occasional Advisor

Re: INIT:Command is respawing too rapidly

#sh -n/sbin/rc
no message as it return to #
Dennis Handly
Acclaimed Contributor

Re: INIT:Command is respawing too rapidly

>no message as it return to #

That's good, no errors on that file.

I took a look at my /sbin/rc and line 67 is:
. /etc/rc.config

This means you need to look there. And looking there shows a hint of the problem:
for CFG_FILE in /etc/rc.config.d/* /etc/TIMEZONE; do
fname=${CFG_FILE##*/} # get file basename
if [ -f $CFG_FILE -a "$fname" != "core" -a "${fname##*[.,~\#]}" = "$fname" ]

I'm not sure how you get that particular error but I think my suggestion of a junk file in /etc/rc.config.d/ makes sense.
alfred keoy
Occasional Advisor

Re: INIT:Command is respawing too rapidly

I would like thank all the gentlemen who have assisted. Suppect OS kernel corrupted.
Restored the failed server using make_tape_recovery from another server.

Best Regards
Alfred
Dennis Handly
Acclaimed Contributor

Re: INIT:Command is respawing too rapidly

You have not assigned any points yet. If you have gotten some helpful answers please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33