Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

init[1]: Id "c1" respawning too fast: disabled for 5 minutes

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
najkon
n00b
n00b
Posts: 13
Joined: Sun Aug 14, 2016 9:15 pm

init[1]: Id "c1" respawning too fast: disabled for

  • Quote

Post by najkon » Sat Sep 10, 2016 11:36 pm

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: Select all

############# /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: Select all

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
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sun Sep 11, 2016 8:13 pm

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/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
najkon
n00b
n00b
Posts: 13
Joined: Sun Aug 14, 2016 9:15 pm

  • Quote

Post by najkon » Sun Sep 11, 2016 10:21 pm

Code: Select all

# 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
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Mon Sep 12, 2016 4:46 am

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/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
Post Reply

4 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic