the init process (PID 1) handles serial connections.. make sure that your /etc/inittab does not contain any uncommented entries related to /dev/ttyS2 and restart inittab (kill -HUP 1) and try again..
nate On Sun, 23 Jan 2000, Shaul Karl wrote: shaulk >I believe mgetty-fax or start-stop-daemon and the /etc/init.d/mgetty-fax shaulk >script does not handle the port correctly. shaulk > shaulk >Does anyone else have it? shaulk > shaulk >[03:42:11 /tmp]$ cat /var/lock/LCK..ttyS2 shaulk > 623 shaulk >[03:43:12 /tmp]$ ps 623 shaulk > PID TTY STAT TIME COMMAND shaulk >[03:43:15 /tmp]$ tail /var/log/mgetty/mg_ttyS2.log shaulk >01/23 03:38:36 yS2 mod: cannot open line /dev/ttyS2: Device or resource busy shaulk >01/23 03:38:36 yS2 open device /dev/ttyS2 failed: Device or resource busy shaulk >01/23 03:38:36 yS2 cannot get terminal line dev=ttyS2, exiting: Device or shaulk >resource busy shaulk >-- shaulk >01/23 03:38:36 yS2 mgetty: experimental test release 1.1.21-Jul24 shaulk >01/23 03:38:36 yS2 check for lockfiles shaulk >01/23 03:38:36 yS2 locking the line shaulk >01/23 03:38:36 yS2 mod: cannot open line /dev/ttyS2: Device or resource busy shaulk >01/23 03:38:36 yS2 open device /dev/ttyS2 failed: Device or resource busy shaulk >01/23 03:38:36 yS2 cannot get terminal line dev=ttyS2, exiting: Device or shaulk >resource busy[03:43:28 /tmp]$ ls -l /var/lock/LCK..ttyS2 shaulk >-rw-r--r-- 1 root root 11 Jan 23 03:43 /var/lock/LCK..ttyS2 shaulk > shaulk > shaulk > shaulk > shaulk >-- shaulk >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null shaulk > ----------------------------------------[mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336 http://www.linuxpowered.net/ Powered By: http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/ -----------------------------------------[mailto:[EMAIL PROTECTED] ]-- 10:35pm up 156 days, 10:40, 2 users, load average: 1.17, 1.10, 1.08