Yes, it works ok.. but I need to remove faxgetty from inittab and restart
machine to be able to access it, because it will not let go of the device
even with a init q (after removal) and kill -9 <pid>
Héctor
----- Original Message ----- From: "Lee Howard" <faxguy@xxxxxxxxxxxxxxxx>
To: "Hector S. Mendoza Ortiz" <hector@xxxxxxxxxxxxxxxxxxx>
Cc: <hylafax-users@xxxxxxxxxxx>
Sent: Tuesday, March 01, 2005 7:08 PM
Subject: Re: [hylafax-users] faxgetty doesn't answer
Hector S. Mendoza Ortiz wrote:
Hello all!
I have a problem, I'm experimenting with deploying a hylafax
installation but I've runned into a problem.
I installed version 4.2.1-1fc3 (RPM from hylafax.org) on a fresh
installed machine with FC3 with a PCMCIA modem ActionTec Datalink
V90 LK (http://www.actiontec.com/support/modems/dlv90lk.html) modem
gets detected by linux perfectly with no problems at boot time and
creates device (ttyS3), it's already configured on inittab to launch
(mo:2345:respawn:/usr/sbin/faxgetty ttyS3), hylafax starts as expected:
Mar 1 17:53:01 fax hylafax: faxq startup succeeded
Mar 1 17:53:01 fax FaxQueuer[2392]: HylaFAX (tm) Version 4.2.1
Mar 1 17:53:01 fax FaxQueuer[2392]: Copyright (c) 1990-1996 Sam
Leffler
Mar 1 17:53:01 fax FaxQueuer[2392]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.
Mar 1 17:53:01 fax HylaFAX[2396]: HylaFAX INET Protocol Server:
restarted.
Mar 1 17:53:01 fax hylafax: hfaxd startup succeeded
Mar 1 17:53:05 fax FaxGetty[2442]: OPEN /dev/ttyS3 HylaFAX (tm)
Version 4.2.1
Mar 1 17:53:15 fax FaxGetty[2442]: MODEM AEIGFM560LKNF1
AEIGFM560LKNF1/p052099f
faxstat reports the modem as ready
[root@fax ~]# faxstat
HylaFAX scheduler on fax.intranet.acorporativa.com.mx: Running
Modem ttyS3 ((55)5393-8720): Running and idle
[root@fax ~]#
but faxgetty never answers incomming calls, i've straced faxgetty's
process and got this:
select(9, [5 8], [], [8], {29, 999096}) = 0 (Timeout)
gettimeofday({1109723926, 489798}, NULL) = 0
gettimeofday({1109723926, 490670}, NULL) = 0
gettimeofday({1109723926, 491240}, NULL) = 0
select(9, [5 8], [], [8], {0, 636}) = 0 (Timeout)
gettimeofday({1109723926, 494599}, NULL) = 0
gettimeofday({1109723926, 495321}, NULL) = 0
open("/var/lock/LCK..ttyS3", O_RDONLY) = -1 ENOENT (No such file or
directory)
gettimeofday({1109723926, 496569}, NULL) = 0
gettimeofday({1109723926, 496789}, NULL) = 0
and it keeps looping and looping, if I make a call to the fax, it
will still be the same.
When it's on the right mood and after several reboot's it will
answer the phone, but if you call it and no fax is sent, it will go
to this same mode again. Also if it's running normally and I restart
the hylafax service /etc/init.d/hylafax restart it will hang this
same way.
I've commed to see that it's a uucp locking problem, but haven't
found a way to fix it.
any ideas on what's going on? did I do something wrong?
Can you set
ServerTracing: 0xFFF
in your modem config file, restart faxgetty, and then send the
FaxGetty logs in your /var/log/messages after you call the line?
Thanks,
Lee.