LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   INIT: Command is respawning too rapidly (https://www.linuxquestions.org/questions/solaris-opensolaris-20/init-command-is-respawning-too-rapidly-839261/)

scruggsdl 10-20-2010 07:58 AM

INIT: Command is respawning too rapidly
 
Good morning,

The last two weeks I have been dealing with an issue on my jobs' SunFire V100 server that has Solaris 9. Our ssh-server-config was messed up during changes to new certs being allowed to be used. The server was rebooted before I realized there was a problem with this configuration. Now I cannot ssh into my server and when attempting to hypertermial into the LOM console in the back of the SunFire V100, after a successful boot up to INIT 3 with the "system ready" text appearing, the following comes up making me unable to get to a login prompt...

INIT: Command is respawning too rapidly. Check for possible errors.
id: co"/usr/lib/saf/ttymon -g -h -p "'uname -n' console login:" -T Sun -d
/dev/console -l console -m ldterm, ttcompat

jlliagre 10-20-2010 09:10 AM

Try booting in single user mode.

scruggsdl 10-20-2010 09:18 AM

Rebooting in Single User Mode
 
Quote:

Originally Posted by jlliagre (Post 4133569)
Try booting in single user mode.

Yes, I have attempted this. When I get in single user mode I run into several problems starting from having to fsck a majority of the disks and fight with mounting and umounting, etc. However once this is in the clear and I go to edit the SSH config file, the text becomes garbled and I cannot truly locate where my cursor is because as I type, the text mushes and turns into text from several lines further down. I was thinking of looking up a way to run a search and replace to the problem line on the file and correcting it without actually seeing it.

jlliagre 10-20-2010 10:17 AM

Quote:

Originally Posted by scruggsdl (Post 4133574)
However once this is in the clear and I go to edit the SSH config file, the text becomes garbled and I cannot truly locate where my cursor is because as I type, the text mushes and turns into text from several lines further down.

Looks like you an incorrect TERM setting.

scruggsdl 10-21-2010 07:10 AM

TERM Setting?
 
Quote:

Originally Posted by jlliagre (Post 4133621)
Looks like you an incorrect TERM setting.

I've seen a few of these mentioned when digging around for answers, though I don't know a whole lot about it. I'm going to go check this out, if you have a link to something about useful, I'd much appreciate it. Thanks for that info!

jlliagre 10-21-2010 10:40 AM

Well, no real need for a link or documentation. You are running a terminal emulator (hyperterminal) that presumably is emulating some standard model, likely a vt100.

On the other hand, the OS might be setting your TERM variable to something incompatible, like "sun" or whatever.

You just need to set the TERM variable correctly before running vi, eg:

Code:

echo $TERM
TERM=vt100
vi /etc/ssh/sshd_config



All times are GMT -5. The time now is 06:20 PM.