On Thu, 10 Aug 2006, Stefan Georg wrote:
> Hey guys,
>
> I just logged in to one of the boxes I admin on (just
web, mysql) and
> saw some processes being started as root:
> /sbin/agetty -L ttyS1 57600 vt100
> for instance. I'm not starting these, and I don't
believe that they
> belong to ssh either as they disappear after a few
seconds. Also they
> aren't always running but sometimes when I run
"ps aux" I see it there,
> othertimes not. Always though having been started
recently (within last
> minute or so).
>
> Then I check /var/log/secure and see tons of entries
like these
> Aug 9 18:55:43 stefangeorg agetty[9604]: ttyS1: ioctl:
Input/output
> error
It looks like agetty is trying to start, but /dev/ttyS1 is
broken or
unconfigured. On sysv init systems like linux, getty and
friends are
usually started from /etc/inittab. On other systems it is
often /etc/ttys
(man 5 ttys). Your inittab probably has a line like:
S1:2345:respawn:/sbin/agetty -L ttyS1 57600 vt100
Comment it out and run 'telinit q' to turn this off. You
may also want to
look for kernel messages about ttyS1, and test it with
statserial and
minicom. If you get it working, you can turn agetty back on
(provided you
want people to be able to log in on that serial port).
Alexey
_______________________________________________
dclug mailing list
dclug tux.org
http://www.
tux.org/mailman/listinfo/dclug
|