Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] faxgetty doesn't answer
Hello Lee! thanks for your time in advance!
I've added the requested server tracing, kill -9 <pid> for faxgetty and I
got this:
Mar 1 19:40:41 fax FaxGetty[3415]: OPEN /dev/ttyS3 HylaFAX (tm) Version
4.2.1
Mar 1 19:40:42 fax FaxGetty[3415]: MODEM set DTR OFF
Mar 1 19:40:42 fax FaxGetty[3415]: DELAY 75 ms
Mar 1 19:40:42 fax FaxGetty[3415]: MODEM set DTR ON
Mar 1 19:40:42 fax FaxGetty[3415]: DELAY 2600 ms
Mar 1 19:40:46 fax FaxGetty[3415]: MODEM set baud rate: 19200 baud, input
flow XON/XOFF, output flow XON/XOFF
Mar 1 19:40:46 fax FaxGetty[3415]: DELAY 10 ms
Mar 1 19:40:46 fax FaxGetty[3415]: MODEM flush i/o
Mar 1 19:40:46 fax FaxGetty[3415]: <-- [4:ATZ\r]
Mar 1 19:41:16 fax FaxGetty[3415]: MODEM TIMEOUT: reading line from modem
Mar 1 19:41:16 fax FaxGetty[3415]: MODEM <Timeout>
Mar 1 19:41:16 fax FaxGetty[3415]: MODEM set DTR OFF
Mar 1 19:41:16 fax FaxGetty[3415]: DELAY 75 ms
Mar 1 19:41:16 fax FaxGetty[3415]: MODEM set DTR ON
Mar 1 19:41:16 fax FaxGetty[3415]: DELAY 2600 ms
Mar 1 19:41:19 fax FaxGetty[3415]: MODEM set baud rate: 19200 baud, input
flow XON/XOFF, output flow XON/XOFF
Mar 1 19:41:19 fax FaxGetty[3415]: DELAY 10 ms
Mar 1 19:41:19 fax FaxGetty[3415]: MODEM flush i/o
Mar 1 19:41:19 fax FaxGetty[3415]: <-- [4:ATZ\r]
Mar 1 19:41:49 fax FaxGetty[3415]: MODEM TIMEOUT: reading line from modem
Mar 1 19:41:49 fax FaxGetty[3415]: MODEM <Timeout>
Mar 1 19:41:49 fax FaxGetty[3415]: MODEM set DTR OFF
I also tried stopping hylafax and restarting it and I got this:
Mar 1 19:45:50 fax FaxQueuer[3445]: HylaFAX (tm) Version 4.2.1
Mar 1 19:45:50 fax FaxQueuer[3445]: Copyright (c) 1990-1996 Sam Leffler
Mar 1 19:45:50 fax FaxQueuer[3445]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.
Mar 1 19:45:50 fax hylafax: faxq startup succeeded
Mar 1 19:45:50 fax HylaFAX[3449]: HylaFAX INET Protocol Server: restarted.
Mar 1 19:45:50 fax hylafax: hfaxd startup succeeded
Mar 1 19:45:50 fax FaxGetty[3415]: CAUGHT SIGNAL 15
Mar 1 19:45:50 fax FaxGetty[3415]: CLOSE /dev/ttyS3
Mar 1 19:45:50 fax FaxGetty[3456]: OPEN /dev/ttyS3 HylaFAX (tm) Version
4.2.1
Mar 1 19:45:50 fax FaxGetty[3456]: Purge stale UUCP lock
/var/lock/LCK..ttyS3
Mar 1 19:45:50 fax hylafax: faxgetty shutdown succeeded
Mar 1 19:45:51 fax FaxGetty[3456]: MODEM set DTR OFF
Mar 1 19:45:51 fax FaxGetty[3456]: DELAY 75 ms
Mar 1 19:45:51 fax FaxGetty[3456]: MODEM set DTR ON
Mar 1 19:45:51 fax FaxGetty[3456]: DELAY 2600 ms
Mar 1 19:45:55 fax FaxGetty[3456]: MODEM set baud rate: 19200 baud, input
flow XON/XOFF, output flow XON/XOFF
Mar 1 19:45:55 fax FaxGetty[3456]: DELAY 10 ms
Mar 1 19:45:55 fax FaxGetty[3456]: MODEM flush i/o
Mar 1 19:45:55 fax FaxGetty[3456]: <-- [4:ATZ\r]
Mar 1 19:46:25 fax FaxGetty[3456]: MODEM TIMEOUT: reading line from modem
Mar 1 19:46:25 fax FaxGetty[3456]: MODEM <Timeout>
Mar 1 19:46:25 fax FaxGetty[3456]: MODEM set DTR OFF
Mar 1 19:46:25 fax FaxGetty[3456]: DELAY 75 ms
Mar 1 19:46:25 fax FaxGetty[3456]: MODEM set DTR ON
Mar 1 19:46:25 fax FaxGetty[3456]: DELAY 2600 ms
and still no answer from hylafax on the call
Thanks again for the time!
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.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*