SLUG Mailing List Archives
[SLUG] Mgetty - cannot set controlling tty (ioctl) ??
- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Mgetty - cannot set controlling tty (ioctl) ??
- From: Damien Gardner Jnr <rendrag@xxxxxxxxxxx>
- Date: Thu Feb 15 20:06:01 2001
- Reply-to: rendrag@xxxxxxxxxxx
- User-agent: Mutt/1.2.5i
I'm hoping someone has struck this one before - it's driving me insane!
One of our boxes has a modem hanging off it, which one of our management-types dials into We had a small power outage (ok, maybe not so small - half of the western suburbs of canberra were out, according to actew), and that machine has it's own UPS, which didn't last the length of the outage (I got about 20 seconds notice of the UPS failure, not the 5 minutes i'm accustomed to.. - not impressed... :(, so the machine went down cold..
When it came back up, everything was fine, except we're now having troubles with the dialin..
Using minicom, I can dial out, and answer calls back into the machine.. - however mgetty (run from inittab - T1:23:respawn:/sbin/mgetty -x9 -D -s 57600 ttyS1 -n 2) spits out an error, then quits.. /var/log/mgetty/mg_ttyS1 says:
02/13 16:27:41 yS1 cannot set controlling tty (ioctl): Operation not permitted
02/13 16:28:11 ##### failed dev=ttyS1, pid=32463, got signal 15, exiting
the perms on /dev/ttyS1 look ok to me, comparing them to those on other servers with the same config..:
crw-rw---- 1 root dialout 4, 65 Feb 15 19:44 ttyS1
The box is a PII-400, running Deb 2.1 and kernel 2.2.17.
Any thought's GREATLY appreciated - the management-type who usually dials into it is starting to get restless. ;)
Damien Gardner Jnr - Dip.EE StudIEAust
rendrag@xxxxxxxxxxx - http://www.rendrag.net/
Ph: 0417 055 052 - Fax: 02 6255 8663
-- I'm a Pisces - don't tell me anything you don't want my ASIO shadows to overhear