HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] faxsend not being called by faxq



Hi,
i checked out the cvs,built hylafax set it up on a SuSE 8.1 System with self-
compiled 2.4.21-ac4 kernel. Ran faxsetup, start one faxgetty process via 
inittab start the server via init-script Everything seems to work fine,status 
is o.k for server and modem. i can transmit files to the server, the queue-file 
is written correctly the job is marked as submitted by . But the faxsend 
programm does not get called by faxq
(see attached logs). I can call faxsend manually and everything seems to work 
fine (apart from the not hearing the local dialtone, which i think has nothing 
to do with my specific problem. Why doesn't  the server call faxsend?
Did i forget something on setup ?
Here some details:

/etc/inittab
mo:35:respawn:/usr/sbin/faxgetty /dev/ttyS0

Trace of Client Server Communication

Jul  4 08:44:22 faxserverneu FaxQueuer[1377]: HylaFAX (tm) Version 4.1.6
Jul  4 08:44:22 faxserverneu FaxQueuer[1377]: Copyright (c) 1990-1996 Sam 
Leffler
Jul  4 08:44:22 faxserverneu FaxQueuer[1377]: Copyright (c) 1991-1996 Silicon 
Graphics, Inc.
Jul  4 08:44:22 faxserverneu FaxGetty[1009]: HELLO
Jul  4 08:44:22 faxserverneu HylaFAX[1379]: HylaFAX INET Protocol Server: 
restarted.
Jul  4 08:44:32 faxserverneu HylaFAX[1381]: servertracing = 0xffff (line 14)
Jul  4 08:44:32 faxserverneu HylaFAX[1381]: useraccessfile = /etc/hosts.hfaxd 
(line 21)
Jul  4 08:44:32 faxserverneu HylaFAX[1381]: faxqfifoname = /FIFO (line 24)
Jul  4 08:44:32 faxserverneu HylaFAX[1381]: <--- 220 faxserverneu.hueper.de 
server (HylaFAX (tm) Version 4.1.6) ready.


Jul  4 08:49:09 faxserverneu HylaFAX[1456]: servertracing = 0xffff (line 14)
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: useraccessfile = /etc/hosts.hfaxd 
(line 21)
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: faxqfifoname = /FIFO (line 24)
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 220 faxserverneu.hueper.de 
server (HylaFAX (tm) Version 4.1.6) ready.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: HylaFAX INET connection from 
localhost [127.0.0.1]
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: USER xxxx
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: USER xxxx
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 230 User xxxx logged in.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: FAX LOGIN FROM localhost 
[127.0.0.1], tkempf
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: TYPE I
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: TYPE I
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 200 Type set to Image.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: PORT 127,0,0,1,128,72
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: PORT 127.0.0.1;18560
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 200 PORT command successful.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: MODE Z
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: MODE Z
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 200 Mode set to ZIP.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: STOT
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: STOT
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: Filesystem has SysV-style file 
creation semantics.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 150 FILE: /tmp/doc4.ps 
(Opening new data connection).
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 226 Transfer complete (FILE: 
/tmp/doc4.ps).
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JNEW
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 200 New job created: jobid: 4 
groupid: 4.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM FROMUSER "xxxx yyyy"
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 FROMUSER set to "xxxx 
yyyy".
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM LASTTIME 000259
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 LASTTIME set to 000259.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM MAXDIALS 12
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 MAXDIALS set to 12.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM MAXTRIES 3
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 MAXTRIES set to 3.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM SCHEDPRI 127
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 SCHEDPRI set to 127.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM DIALSTRING "12345"
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 DIALSTRING set to "12345".
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM NOTIFYADDR 
"xxxx@faxserverneu"
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 NOTIFYADDR set to 
"xxxx@faxserverneu".
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM VRES 98
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 VRES set to 98.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM PAGEWIDTH 209
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 PAGEWIDTH set to 209.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM PAGELENGTH 296
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 PAGELENGTH set to 296.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM NOTIFY "none"
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 NOTIFY set to "none".
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM PAGECHOP "default"
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 PAGECHOP set to "default".
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM CHOPTHRESHOLD 3
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 213 CHOPTHRESHOLD set to 3.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JPARM DOCUMENT 
/tmp/doc4.ps
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 200 Added document 
/tmp/doc4.ps as docq/doc4.ps.4.
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: command: JSUBM
Jul  4 08:49:09 faxserverneu FaxQueuer[1377]: SUBMIT JOB 4
Jul  4 08:49:09 faxserverneu HylaFAX[1456]: <--- 200 Job 4 submitted.



Here is the trace after calling Faxsend manually
with "faxsend -m ttyS0 sendq/q4"

Jul  4 09:14:43 faxserverneu FaxSend[1561]: MODEM set DTR OFF
Jul  4 09:14:43 faxserverneu FaxSend[1561]: MODEM set DTR ON
Jul  4 09:14:46 faxserverneu FaxSend[1561]: MODEM set baud rate: 19200 baud, 
input flow RTS/CTS, output flow RTS/CTS
Jul  4 09:14:46 faxserverneu FaxSend[1561]: MODEM flush i/o
Jul  4 09:14:46 faxserverneu FaxSend[1561]: <-- [4:ATZ\r]
Jul  4 09:14:48 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [5:ATX3\r]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [4:ATX3]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [5:ATE0\r]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [4:ATE0]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [5:ATV1\r]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [5:ATQ0\r]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [7:ATS0=0\r]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [7:ATS8=2\r]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:51 faxserverneu FaxSend[1561]: <-- [8:ATS7=60\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [12:AT+IFC=2,2;\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [6:AT&D2\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [6:AT&C1\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [12:AT+FCLASS=?\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [7:0,1,2,8]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [12:AT+FCLASS=1\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [5:ATI3\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [25:Version 1.04 / 14.07.2000]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [5:ATI0\r]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:52 faxserverneu FaxSend[1561]: <-- [9:AT+FTM=?\r]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: --> 
[41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: <-- [9:AT+FRM=?\r]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: --> 
[41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: <-- [12:AT+FCLASS=1\r]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: MODEM VERSION 1.04 / 14.07.2000 /
Jul  4 09:14:53 faxserverneu FaxSend[1561]: <-- [5:ATM0\r]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: --> [2:OK]
Jul  4 09:14:53 faxserverneu FaxSend[1561]: MODEM input buffering disabled
Jul  4 09:14:53 faxserverneu FaxSend[1561]: SEND FAX: JOB 4 DEST xxxx COMMID 
00000004 DEVICE '/dev/ttyS0'
Jul  4 09:15:56 faxserverneu FaxSend[1561]: SEND FAILED: JOB 4 DEST xxxx ERR No 
local dialtone
Jul  4 09:16:46 faxserverneu FaxGetty[1009]: MODEM VENUS V.90 KFAV173 SERIAL 
"VERSION 1.04 / 14.07.2000" Venus V.90 kfav173 Serial "Version 1.04 / 
14.07.2000"/"Version 1.04 / 14.07.2000"

Mit freundlichen Gruessen
Thomas Kempf

-- 
Thomas Kempf          
Atelier Hueper
im Bruehl 1,  89520 Heidenheim
Fon: +49 7321 969845   Fax: +49 7321 969891


____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions