Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
init[1]: Id "c1" respawning too fast: disabled for 5 minutes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
najkon
n00b
n00b


Joined: 14 Aug 2016
Posts: 13

PostPosted: Sat Sep 10, 2016 11:36 pm    Post subject: init[1]: Id "c1" respawning too fast: disabled for Reply with quote

Hi,

I moved whole system from another physical machine to another.
I made it through using fsarchiver (a great tools for backup FS ;) ) with option savefs

the process of transferring data passed without a problem. I installed from scratch grub2 and make a new config file.
system got up without any problem, services work - great!
but...
and here is the problem because from time to time without cause hangs my server, and the only thing I see in console its magic
init[1]: Id "c1" respawning too fast: disabled for 5 minutes
repeated endlessly. The only solution is to reboot the server..

There is my question - how resolv that? where can be a problem?

There is my config file
Code:

############# /etc/inittab
# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/openrc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/openrc boot

l0:0:wait:/sbin/openrc shutdown
l0s:0:wait:/sbin/halt -dhnp
l1:1:wait:/sbin/openrc single
l2:2:wait:/sbin/openrc nonetwork
l3:3:wait:/sbin/openrc default
l4:4:wait:/sbin/openrc default
l5:5:wait:/sbin/openrc default
l6:6:wait:/sbin/openrc reboot
l6r:6:wait:/sbin/reboot -dkn
#z6:6:respawn:/sbin/sulogin

# new-style single-user
su0:S:wait:/sbin/openrc single
su1:S:wait:/sbin/sulogin

# TERMINALS
#x1:12345:respawn:/sbin/agetty 38400 console linux
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux

# SERIAL CONSOLES
s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now



and output from ps aux |grep getty
Code:

root      4099  0.0  0.0 117504  1828 tty1     Ss+  00:07   0:00 /sbin/agetty 38400 tty1 linux
root      4100  0.0  0.0 117504  1832 tty2     Ss+  00:07   0:00 /sbin/agetty 38400 tty2 linux
root      4101  0.0  0.0 117504  1904 tty3     Ss+  00:07   0:00 /sbin/agetty 38400 tty3 linux
root      4102  0.0  0.0 117504  1908 tty4     Ss+  00:07   0:00 /sbin/agetty 38400 tty4 linux
root      4103  0.0  0.0 117504  1824 tty5     Ss+  00:07   0:00 /sbin/agetty 38400 tty5 linux
root      4104  0.0  0.0 117504  1840 tty6     Ss+  00:07   0:00 /sbin/agetty 38400 tty6 linux
root      4105  0.0  0.0  12608  1840 ttyS0    Ss+  00:07   0:00 /sbin/agetty -L 115200 ttyS0 vt100


- Yes, I use a serial console for TERM
- and for extra security also use ikvm connection ;)
- I do not have access to the machine physically
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7127
Location: almost Mile High in the USA

PostPosted: Sun Sep 11, 2016 8:13 pm    Post subject: Reply with quote

Sounds like you have no physical console virtual terminals set up in the kernel for your server? Do you want to login to console and use it?

CONFIG_VT and associated?

If you don't have or need the virtual consoles, you can remove the lines from inittab.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
najkon
n00b
n00b


Joined: 14 Aug 2016
Posts: 13

PostPosted: Sun Sep 11, 2016 10:21 pm    Post subject: Reply with quote

Code:
# zcat /proc/config.gz |grep CONFIG_V
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_VT_HW_CONSOLE_BINDING=y


If I remove virtual consoles (#TERMINALS) then the server didin't boot - unpack kernel from GRUB Menu and nothing - screen dark, the server is not responding to ICMP
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7127
Location: almost Mile High in the USA

PostPosted: Mon Sep 12, 2016 4:46 am    Post subject: Reply with quote

Usually the "respawning too fast" warning is when the init program dies too quickly, in this case it's agetty. You should only be getting no more than 1 warning every 5 minutes...

If that virtual terminal actually works (c1, i.e., /dev/tty1) then likely your ... keyboard emulator (KVM?) is sending characters to end your logins prematurely? I don't know your exact physical setup.

If /dev/tty1 does not work at any time, even after fresh boot, then perhaps your agetty binary is broken or, as you have seemed to verify OK, your /dev/ttyX virtual terminals are broken...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum