HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] problem sending faxes



I'm not sure if this message made it to the list yet.  My apologies if its a duplicate.

Unfortunately, I don't think raising my ServerTracing to 0xFFF has produced
any new information.  What else can I do to get more information on this
problem?  The problem appears to be after the tiff2fax script is executed, but I'm not sure of how to get output from it.  I've tried putting -x in the #!/bin/sh line, but apparently its called from one of the daemons and who knows  where that output/err goes? My new /var/log/messages output follows:

Sep 30 03:17:51 cygnus-vmail FaxQueuer[12648]: HylaFAX (tm) Version 4.3.1
Sep 30 03:17:51 cygnus-vmail FaxQueuer[12648]: Copyright (c) 1990-1996 Sam
Leffler
Sep 30 03:17:51 cygnus-vmail FaxQueuer[12648]: Copyright (c) 1991-1996
Silicon Graphics, Inc.
Sep 30 03:17:52 cygnus-vmail HylaFAX[12650]: HylaFAX INET Protocol Server:
restarted.
Sep 30 03:17:52 cygnus-vmail FaxGetty[12661]: OPEN /dev/ttyS0  HylaFAX (tm)
Version 4.3.1
Sep 30 03:18:06 cygnus-vmail FaxGetty[12661]: MODEM USROBOTICS SPORTSTER
V.34+ FAX /
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: servertracing = 0xFFF (line 54)
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: HylaFAX INET connection from
localhost [ 127.0.0.1]
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: USER root
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: FAX LOGIN FROM localhost [
127.0.0.1], root
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: TZONE LOCAL
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: FORM TIFF
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: TYPE I
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: PORT 127.0.0.1 ;2834
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: STOT
Sep 30 03:18:39 cygnus-vmail HylaFAX[12668]: sendq/q32: line 63: Null or
missing number in job request
Sep 30 03:18:40 cygnus-vmail FaxQueuer[12648]: SUBMIT JOB 32
Sep 30 03:18:40 cygnus-vmail FaxQueuer[12648]: JOB 32 (suspended dest  pri
127 tts 0:00 killtime 2:58:59): CREATE
Sep 30 03:18:40 cygnus-vmail FaxQueuer[12648]: JOB 32 (ready dest +1415322
pri 127 tts 0:00 killtime 2:58:59): READY
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (ready dest +1415322
pri 127 tts 0:00 killtime 2:58:58): PROCESS
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (active dest +1415322
pri 127 tts 0:00 killtime 2:58:58): ACTIVE
Sep 30 03:18:41 cygnus-vmail FaxGetty[12661]: LOCKWAIT
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (active dest +1415322
pri 127 tts 0:00 killtime 2:58:58): PREPARE START
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12669]: JOB 32 (active dest +1415322
pri 127 tts 0:00 killtime 2:58:58): CONVERT DOCUMENT: bin/tiff2fax -o
docq/doc36.tif;00 -r 98 -w 1728 -l 297 -m 4294967295 -U -1 docq/doc36.tif.32
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12669]: JOB 32: CONVERT DOCUMENT:
exit status 0xb
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (active dest +1415322
pri 127 tts 0:00 killtime 2:58:58): PREPARE DONE
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: NOTIFY: bin/notify
"doneq/q32" "format_failed" ""
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (failed dest +1415322
pri 127 tts 0:00 killtime 2:58:58): DEAD
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: NOTIFY exit status: 0 (12671)
Sep 30 03:18:42 cygnus-vmail FaxQueuer[12648]: JOB 32 (failed dest +1415322
pri 127 tts 0:00 killtime 2:58:57): DELETE
Sep 30 03:19:23 cygnus-vmail FaxGetty[12661]: MODEM USROBOTICS SPORTSTER
V.34+ FAX /




On Dec 4, 2007 11:15 AM, Michael Quicquaro <michael.quicquaro@xxxxxxxxx> wrote:
Unfortunately, I don't think raising my ServerTracing to 0xFFF has produced any new information.  What else can I do to get more information on this problem?  My new /var/log/messages output follows:

Sep 30 03:17:51 cygnus-vmail FaxQueuer[12648]: HylaFAX (tm) Version 4.3.1
Sep 30 03:17:51 cygnus-vmail FaxQueuer[12648]: Copyright (c) 1990-1996 Sam Leffler
Sep 30 03:17:51 cygnus-vmail FaxQueuer[12648]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Sep 30 03:17:52 cygnus-vmail HylaFAX[12650]: HylaFAX INET Protocol Server: restarted.
Sep 30 03:17:52 cygnus-vmail FaxGetty[12661]: OPEN /dev/ttyS0  HylaFAX (tm) Version 4.3.1
Sep 30 03:18:06 cygnus-vmail FaxGetty[12661]: MODEM USROBOTICS SPORTSTER V.34+ FAX /
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: servertracing = 0xFFF (line 54)
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: HylaFAX INET connection from localhost [127.0.0.1]
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: USER root
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: FAX LOGIN FROM localhost [ 127.0.0.1], root
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: TZONE LOCAL
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: FORM TIFF
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: TYPE I
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: PORT 127.0.0.1;2834
Sep 30 03:18:38 cygnus-vmail HylaFAX[12668]: STOT
Sep 30 03:18:39 cygnus-vmail HylaFAX[12668]: sendq/q32: line 63: Null or missing number in job request
Sep 30 03:18:40 cygnus-vmail FaxQueuer[12648]: SUBMIT JOB 32
Sep 30 03:18:40 cygnus-vmail FaxQueuer[12648]: JOB 32 (suspended dest  pri 127 tts 0:00 killtime 2:58:59): CREATE
Sep 30 03:18:40 cygnus-vmail FaxQueuer[12648]: JOB 32 (ready dest +1415322 pri 127 tts 0:00 killtime 2:58:59): READY
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (ready dest +1415322 pri 127 tts 0:00 killtime 2:58:58): PROCESS
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:58): ACTIVE
Sep 30 03:18:41 cygnus-vmail FaxGetty[12661]: LOCKWAIT
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:58): PREPARE START
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12669]: JOB 32 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:58): CONVERT DOCUMENT: bin/tiff2fax -o docq/doc36.tif;00 -r 98 -w 1728 -l 297 -m 4294967295 -U -1 docq/doc36.tif.32
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12669]: JOB 32: CONVERT DOCUMENT: exit status 0xb
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:58): PREPARE DONE
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: NOTIFY: bin/notify "doneq/q32" "format_failed" ""
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: JOB 32 (failed dest +1415322 pri 127 tts 0:00 killtime 2:58:58): DEAD
Sep 30 03:18:41 cygnus-vmail FaxQueuer[12648]: NOTIFY exit status: 0 (12671)
Sep 30 03:18:42 cygnus-vmail FaxQueuer[12648]: JOB 32 (failed dest +1415322 pri 127 tts 0:00 killtime 2:58:57): DELETE
Sep 30 03:19:23 cygnus-vmail FaxGetty[12661]: MODEM USROBOTICS SPORTSTER V.34+ FAX /



On Dec 3, 2007 3:50 PM, Aidan Van Dyk <aidan@xxxxxxxx> wrote:
* Just Me <q1001001@xxxxxxxxx> [071203 15:36]:
> Hi,
>
> Sep 29 05:56:46 cygnus HylaFAX[9845]: sendq/q30: line 63: Null or missing
> number in job request

You'll need to increase ServerTracing in hfaxd.conf to give us much more
context for this error.

> Sep 29 05:56:47 cygnus FaxQueuer[9617]: JOB 30 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:59): PREPARE START
> Sep 29 05:56:47 cygnus FaxQueuer[9846]: JOB 30 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:59): CONVERT DOCUMENT: bin/tiff2fax -o docq/doc34.tif;00 -r 98 -w 1728 -l 297 -m 4294967295 -U -1 docq/doc34.tif.30
> Sep 29 05:56:47 cygnus FaxQueuer[9846]: JOB 30: CONVERT DOCUMENT: exit status 0xb
> Sep 29 05:56:47 cygnus FaxQueuer[9617]: JOB 30 (active dest +1415322 pri 127 tts 0:00 killtime 2:58:59): PREPARE DONE
> Sep 29 05:56:47 cygnus FaxQueuer[9617]: NOTIFY: bin/notify "doneq/q30" "format_failed" ""
> Sep 29 05:56:47 cygnus FaxQueuer[9617]: JOB 30 (failed dest +1415322 pri 127 tts 0:00 killtime 2:58:59): DEAD
> Sep 29 05:56:47 cygnus FaxQueuer[9617]: NOTIFY exit status: 0 (9848)
> Sep 29 05:56:48 cygnus FaxQueuer[9617]: JOB 30 (failed dest +1415322 pri 127 tts 0:00 killtime 2:58:58): DELETE
> Sep 29 05:57:29 cygnus FaxGetty[9630]: MODEM USROBOTICS SPORTSTER V.34+ FAX

> One problem I see immediately is that in the bin/tiff2fax command that is
> generated, there is a ;00 in the middle.  This
> causes the command to fail if I try to run it manually from the
> /var/spool/hylafax directory.  It works just fine if I take it out.


No the ; is just fine - but depending on the shell youre using, you'll
proably have to "quote" it, or escape it.  The simplest way is just put
"quote" marks around the fielname argurments.

The exit status 0xb implies that the "script" tiff2fax crashed with a
segfault.  But that shouldn't happen, the script is pretty careful to
catch exits of the program it runs, and only exits with known values.

What version of HylaFAX are you using?

> Regarding the first error about line 63, I'm not sure what is wrong since I
> don't understand the queue request file format, but I did notice that when I
> compare the queue request file generated to the one I get off a ubuntu
> machine that works, the ubuntu machine has a exclamation point before the
> tiff: directive.

That's because your ubuntu machine is acutally successfully converting
the document.  The ! is a marker HylaFAX uses internally to mark
documents as converted or not.

a.


--
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFHVGv7uVxNPsxNPScRAiTfAJ0UTFw/Fgf8kgngErX2qefCNJH50ACfW7VO
MnQTSu9iWPCb00oypiicYzc=
=YYdx
-----END PGP SIGNATURE-----






Project hosted by iFAX Solutions