From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622119.tru64-unix-managers.marc@archive.invalid> From: "Brehl, Blake" Date: Wed, 06 Feb 2002 16:31:12 +0000 To: tru64-unix-managers Subject: SUMMARY: INIT respawning too often (init to level 4) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622119 This list is wonderful again!!! I have the server working gracefully with a run level 4 ! Original inquiry at the end. The server was INIT respawning "too much" during boot when I tried to implement a run level 4. Thanks to Steve VanDevener, Donald Rye, Alan Davis, Dr. Thomas Blinn: their responses are below. Changing all run level entries in the inittab, which were originally "3" or "23" to "34" or "234" solved the INIT respawning ...which I believe was a lack of resources as many entries wouldn't invoke during a >>> to init 4 boot. Best Regards, Blake Replys: Steve VanDevener: It won't just say "init respawning too often", it'll say "init respawing 'foo' too often". And "foo" will tell you which init job is respawning too often, so you can fix it. It looks like the "cons" getty job is the only one shown that is set to respawn, which probably indicates getty can't attach to the system console. Alan Davis: I've never tried to add a runlevel, there is software (like sendmail) that gets upset if it's not in the runlevel expected. The typical reason for the respawning too rapidly thing is a /var filesystem with files in it under the mounted filesystem, an empty /usr or /var, or a corrupted /usr or /var domain. There may be something else that is related to runlevel, but it's uncommon to add custom runlevels, so there's not much info to help diagnose with. You could instrument your rc4 script and see where it's breaking. Donald Rye: I have seen this error when the /usr file system fails to mount. Dr. Thomas Blinn: So, look in your active /etc/inittab for things with "respawn". Make sure that the ONLY lines in there that're respawn-ing are things that aren't competing for some resource. For instance, if you are starting X on the graphics console in the usual place (near the end of run level 3), then by the time you get to run level 4, X owns the console and your "cons" line is going to restart a getty going into run level 4 that's going to fail because it can't grab the console. You might need to move the X startup into your new run level 4. -----Original Message----- Hello Tru64ers, 5.1A pk1 I'm trying to make a run level 4 with a /etc/rc4, /etc/rc4.d, and the following modifications to the inittab: is:4:initdefault: #from 3 to 4 s2:234:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1 #added 4 s3:34:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1 #added 4 s4:4:wait:/sbin/rc4 < /dev/console > /dev/console 2>&1 #added line cons:12345:respawn:/usr/sbin/getty console console vt100 #added 5 Single-user to level 4 works fine, but booting SRM to 4 errors with "INIT respawning too often". Any ideas? Best Regards, Blake This message is intended for the use of the individual/entity to whom it is addressed. This message may contain privileged information exempt from disclosure. If you are not the addressee, distribution or copying of this message, or dissemination of the information contained herein is strictly prohibited. If you should receive this message in error, please destroy it, or return to sender, Thank You