Operating System - HP-UX
1840114 Members
2508 Online
110161 Solutions
New Discussion

INIT: command is respawning too rapidly

 
SOLVED
Go to solution
Murthy  Bhavaraju
Occasional Advisor

INIT: command is respawning too rapidly

I get this message when ever i try to boot the machine.

>>INIT: command is respawning too rapidly
>>Will try again in 5 minutes
>>check for possible errors
>>id:samd "usr/sam/lbin/samd #system mgmt daemon"

During the boot as well as if i run set_parms i get this vague error that line 25: ')' not expected. accross various files. RPC daemon and few others FAIL during start up. Is there anyway that i can fix these issues?

thanks
8 REPLIES 8
Ermin Borovac
Honored Contributor

Re: INIT: command is respawning too rapidly

Firstly check /etc/inittab file.

samd entry should look like this.

samd:23456:respawn:/usr/sam/lbin/samd # system mgmt daemon

Once you change /etc/inittab file, run 'init q' to force init to re-read the file.

As for the set_parms error, try running it with sh -x, it might give you a clue about the error.

# /sbin/sh -x /sbin/set_parms
Murthy  Bhavaraju
Occasional Advisor

Re: INIT: command is respawning too rapidly

The errors include:

Initialize loadable modules
--------------------------------
sbin/rc1.d/S112kminit[206]: Syntax error at line 25: '(' not expected.

setting hostname
-------------------------------
sbin/rc1.d/S320hostname[36]: Syntax error at line 25: '(' not expected

Configuring PFIL
-----------------------------
sbin/rc2.d/S130pfilboot[5]: Syntax error at line 25: '(' not expected

Starting IPFilter
-------------------------------
sbin/rc2.d/S131lipboot[6]: Syntax error at line 25: '(' not expected

configure LAN interfaces
-----------------------------------
sbin/rc2.d/S340net[134]: Syntax error at line 25: '(' not expected

etc ... for name server daemon, multicast routing daemon, internet services daemon, dynamic routing daemon, discover protocol, RPC and so on...!

any help is greatly appreciated! thanks
Murthy  Bhavaraju
Occasional Advisor

Re: INIT: command is respawning too rapidly

the listing looks exactly the same

samd:23456:respawn:/usr/lbin/samd #system mgmt daemon

Ermin Borovac
Honored Contributor
Solution

Re: INIT: command is respawning too rapidly

It's probably one of the files in /etc/rc.config.d. Check that you don't have any core files or temporary files in there.
Ermin Borovac
Honored Contributor

Re: INIT: command is respawning too rapidly

Try the following to find the culprit.

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

File name printed before "syntax error" is the one you should have a look at.
Murthy  Bhavaraju
Occasional Advisor

Re: INIT: command is respawning too rapidly

Thanks for the help you were right it was the /etc/rc.config.d/netconf and i missed a '#' while editing. I finnaly went through the rc.log line by line (1000! of them) ... and saw that it is not able to update the new config and was trying to revert to the old config. Thanks for you help again!
Thayanidhi
Honored Contributor

Re: INIT: command is respawning too rapidly

Murthy  Bhavaraju
Occasional Advisor

Re: INIT: command is respawning too rapidly

Please see the post above