HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: Multitech & faxaddmodem problem
Hi,
Thank you Nico (and Jay) for the help. I looked at the processes running as you suggested Nico and there doesn't seem to be any competition for /dev/ttyS1 that I can see (I have appended the output of ps -A at the end the this mail).
I've been trying everything I can think of. I tried to look at the what is going on with the "sh -x `which faxaddmodem`" and here is the pertinent output:
"+ prompt Serial port that modem is connected to []?
+ echo -n Serial port that modem is connected to []?
Serial port that modem is connected to []? + read TTY
ttyS1
+ [ -z ttyS1 -o ! -c /dev/ttyS1 ]
+ JUNK=/tmp/addmodem997
+ trap /bin/rm -f $JUNK; exit 1 0 1 2 15
+ [ ! -d /var/lock ]
++ ttyPort ttyS1
++ expr ttyS1 : tty\(.*\)
+ PORT=S1
++ ttyLocks ttyS1
++ echo /var/lock/LCK..ttyS1
+ LOCKX=/var/lock/LCK..ttyS1
++ ttyAliases ttyS1
++ echo /dev/ttyS1
+ DEVS=/dev/ttyS1
++ ttyDev ttyS1
++ echo /dev/ttyS1
+ tdev=/dev/ttyS1
++ echo ttyS1
++ tr / _
+ DEVID=ttyS1
+ CONFIG=/var/spool/fax/etc/config.ttyS1
+ [ -f /var/lock/LCK..ttyS1 ]
+ OLDCONFIG=
+ OLDFIFO=
+ checkPort ttyS1
+ return
+ JUNK=/tmp/addmodem997 /var/lock/LCK..ttyS1
++ expr 997 : .*\(..........\)
+ LOCKSTR= 997
+ echo 997
+ fuser -k /dev/ttyS1
+ cat
Hmm, there does not appear to be an fuser command on your machine.
This means that I am unable to insure that all processes using the
modem have been killed. I will keep going, but beware that you may
have competition for the modem.
+ cat
And when I Ctrl-C out I get this (irrelevant code cut out).
"+++ /bin/rm -f /tmp/addmodem997 /var/lock/LCK..ttyS1 /tmp/faxpr997
+++ exit 1
+ /bin/rm -f /tmp/addmodem997 /var/lock/LCK..ttyS1 /tmp/faxpr997
+ exit 1
"
I can see that the program uses fuse -k to kill the process, but I am not knowledgeable enough to know what else is going on (yet).
By the way, I get this problem on two machines, both UART 16450 (but diff manufacturer for the cards), both 486's, and both RH 6.0. The only consistency is the modem. But it seems to work fine with minicom, and statserial looks good.
thanks again for your help,
Jeff
PS. the ps list below
>> On Mon, Aug 02, 1999 at 11:17:39AM -0400, Nico Kadel-Garcia wrote:
>> > > I get the error message:
>> > > "Hmmm, there does not appear to be an fuser command on your machine. This
>> > > means that I an unable to insure that all processes using the modem have
>> > > been killed. I will keep going but be aware that you may have competition
>> > > for the modem"
>> >
>> > Jeff, look for other jobs that have things running on /dev/modem or
>> > /dev/ttyS1. mgetty (if you have that installed!), minicom, PPP, etc.
>> > "fuser" should *not* fail.
>
>
>> Forgive me, Nico, but doesn't that message mean that fuser is
>> _missing_, rather than merely not running?
>
>Actually, no. This is an unfortunate aspect of many error messages
>in systems maintained by people without a manager to tell them "make
>the messages correct for every possibility": it wasn't able to successfully
>*RUN* fuser, and assumes you actually don't have one. It's not always
>right about it. The odds of a modern OS not having fuser is quite
>small.
>
>If you run "sh -x `which faxaddmodem`", you should be able to see
>exactly what it does with the fuser that generates this message.
ps -A
PID TTY TIME CMD
1 ? 00:00:03 init
2 ? 00:00:00 kflushd
3 ? 00:00:00 kpiod
4 ? 00:00:00 kswapd
5 ? 00:00:00 mdrecoveryd
206 ? 00:00:00 pump
256 ? 00:00:00 portmap
303 ? 00:00:00 syslogd
314 ? 00:00:01 klogd
328 ? 00:00:00 atd
342 ? 00:00:00 crond
360 ? 00:00:00 inetd
374 ? 00:00:02 snmpd
388 ? 00:00:00 named
402 ? 00:00:00 routed
416 ? 00:00:00 lpd
433 ? 00:00:00 rpc.statd
444 ? 00:00:00 rpc.rquotad
455 ? 00:00:00 rpc.mountd
470 ? 00:00:00 nfsd
471 ? 00:00:00 nfsd
472 ? 00:00:00 nfsd
473 ? 00:00:00 nfsd
474 ? 00:00:00 nfsd
475 ? 00:00:00 nfsd
476 ? 00:00:00 nfsd
477 ? 00:00:00 nfsd
478 ? 00:00:00 lockd
479 ? 00:00:00 rpciod
493 ? 00:00:00 rpc.rstatd
507 ? 00:00:00 rpc.rusersd
521 ? 00:00:00 rwhod
556 ? 00:00:00 sendmail
571 ttyS0 00:00:00 gpm
585 ? 00:00:00 httpd
589 ? 00:00:00 httpd
590 ? 00:00:00 httpd
591 ? 00:00:00 httpd
592 ? 00:00:00 httpd
594 ? 00:00:00 httpd
595 ? 00:00:00 httpd
596 ? 00:00:00 httpd
598 ? 00:00:00 httpd
599 ? 00:00:00 httpd
600 ? 00:00:00 httpd
635 ? 00:00:00 xfs
658 ? 00:00:00 faxq
660 ? 00:00:00 hfaxd
696 tty1 00:00:00 mingetty
697 tty2 00:00:00 mingetty
698 tty3 00:00:00 mingetty
699 tty4 00:00:00 mingetty
700 tty5 00:00:00 mingetty
701 tty6 00:00:00 mingetty
702 ? 00:00:00 prefdm
704 ? 00:00:00 update
706 ? 00:00:04 X
709 ? 00:00:00 prefdm
713 ? 00:00:01 gdmgreeter
718 ? 00:00:00 in.telnetd
719 pts/0 00:00:00 login
720 pts/0 00:00:00 bash
732 pts/0 00:00:00 su
736 pts/0 00:00:00 bash
738 pts/0 00:00:00 ps