{"id":430,"date":"2009-12-21T06:47:05","date_gmt":"2009-12-21T10:47:05","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=430"},"modified":"2010-06-20T05:26:46","modified_gmt":"2010-06-20T09:26:46","slug":"respawning-too-fast-disabled-for-5-minutes","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/respawning-too-fast-disabled-for-5-minutes","title":{"rendered":"Id &#8220;c1&#8221; respawning too fast: disabled for 5 minutes"},"content":{"rendered":"<p>You may see the <strong>tty device error messages<\/strong> like<span style=\"color: #0000ff;\"><strong> &#8216;\/dev\/tty1: cannot open as standard input: Permission denied&#8217;<\/strong><\/span> in the server logs and many more like<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>Jan 10 xx:xx:xx [agetty] \/dev\/tty1: cannot open as standard input: Permission denied<br \/>\nJan 10 xx:xx:xx [agetty] \/dev\/tty2: cannot open as standard input: Permission denied<br \/>\nJan 10 xx:xx:xx [agetty] \/dev\/tty3: cannot open as standard input: Permission denied<br \/>\nJan 10 xx:xx:xx [init] Id &#8220;c1&#8221; respawning too fast: disabled for 5 minutes<br \/>\nJan 10 xx:xx:xx [init] Id &#8220;c2&#8221; respawning too fast: disabled for 5 minutes<br \/>\nJan 10 xx:xx:xx [init] Id &#8220;c3&#8221; respawning too fast: disabled for 5 minutes<\/strong><\/span><\/p><\/blockquote>\n<p>The tty &#8220;Permission denied&#8221; error message is because of the <span style=\"color: #0000ff;\"><strong>misconfiguration in your \/etc\/inittab file<\/strong><\/span> in which case you have to <span style=\"color: #0000ff;\"><strong>edit the file and comment the agetty\/getty lines.<\/strong><\/span> Login to your server as root and edit the file:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>pico \/etc\/inittab<\/strong><\/span><\/p><\/blockquote>\n<p>Search for the lines<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>c1:12345:respawn:\/sbin\/agetty 38400 tty1 linux<\/strong><\/span><\/p><\/blockquote>\n<p>and <strong>comment the lines by placing a #<\/strong> in front of them.<\/p>\n<p>Save the file and you won&#8217;t see the messages.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>OR<\/strong><\/span><\/p>\n<p>you may <span style=\"color: #0000ff;\"><strong>try re-creating the terminals<\/strong><\/span> again from shell as root. Login to your server as root and execute the command:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>\/sbin\/makedev \/dev\/tty1<\/strong><\/span><\/p><\/blockquote>\n<p>and <span style=\"color: #0000ff;\"><strong>replace 1 with 2,3,4,5,6,7 for other terminals<\/strong><\/span> and reboot the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may see the tty device error messages like &#8216;\/dev\/tty1: cannot open as standard input: Permission denied&#8217; in the server logs and many more like<br \/>\nJan 10 xx:xx:xx [agetty] \/dev\/tty1: cannot open as standard input: Permission denied<br \/>\nJan 10 xx:xx:xx [agetty] \/dev\/tty2: cannot open as standard input: Permission denied<br \/>\nJan 10 xx:xx:xx [agetty] \/dev\/tty3: cannot open as standard input: Permission denied<br \/>\nJan 10 xx:xx:xx [init] Id &#8220;c1&#8221; respawning too fast: disabled for 5 minutes<br \/>\nJan 10 xx:xx:xx [init] Id &#8220;c2&#8221; respawning too fast: disabled for 5 minutes<br \/>\nJan 10 xx:xx:xx [init] Id &#8220;c3&#8221; respawning [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[592,589,593,595,596,590,591,594],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/430"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=430"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/430\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/430\/revisions\/432"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}