Amazon EC2 で動かしている CentOS5 がエラーを出し続けるので、



<pre class="prettyprint">Feb 1 04:04:08 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2628]: tty6: No such file or directory
Feb 1 04:04:10 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2629]: tty2: No such file or directory
Feb 1 04:04:11 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2630]: tty3: No such file or directory
Feb 1 04:04:15 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2631]: tty6: No such file or directory
Feb 1 04:04:18 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2633]: tty3: No such file or directory
Feb 1 04:04:18 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2632]: tty2: No such file or directory
Feb 1 04:04:22 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2634]: tty6: No such file or directory
Feb 1 04:04:26 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2635]: tty2: No such file or directory
Feb 1 04:04:26 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2636]: tty3: No such file or directory
Feb 1 04:04:29 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2637]: tty6: No such file or directory
Feb 1 04:04:33 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2639]: tty3: No such file or directory
Feb 1 04:04:48 domU-xx-xx-xx-xx-xx-xx init: Id “6” respawning too fast: disabled for 5 minutes
Feb 1 04:04:48 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2645]: tty2: No such file or directory
Feb 1 04:04:49 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2644]: tty3: No such file or directory
Feb 1 04:04:53 domU-xx-xx-xx-xx-xx-xx init: Id “2” respawning too fast: disabled for 5 minutes
Feb 1 04:04:54 domU-xx-xx-xx-xx-xx-xx init: Id “3” respawning too fast: disabled for 5 minutes
Feb 1 04:06:48 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2655]: tty5: No such file or directory
Feb 1 04:06:53 domU-xx-xx-xx-xx-xx-xx init: Id “5” respawning too fast: disabled for 5 minutes
Feb 1 04:07:50 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2656]: tty4: No such file or directory
Feb 1 04:07:56 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2657]: tty4: No such file or directory
Feb 1 04:08:42 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2664]: tty4: No such file or directory
Feb 1 04:08:49 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2665]: tty4: No such file or directory
Feb 1 04:08:54 domU-xx-xx-xx-xx-xx-xx init: Id “4” respawning too fast: disabled for 5 minutes
Feb 1 04:09:50 domU-xx-xx-xx-xx-xx-xx /sbin/mingetty[2666]: tty6: No such file or directory
</pre>

/etc/inittab からコメントアウトして kill -HUP 1 したら静かになった。



<pre class="prettyprint"># Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6
</pre>

たしかに、/dev の下には tty1 しかない。その代わり ttya0 とかがいっぱいあるけど。これは何に使われるのだろう?