HylaFAX The world's most advanced open source fax server

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

Re: bad exit status 0x6 from sub-fork





Robert,

Thanks for taking the time to reply.  I did fix the problem late last night
before I went home and was going to post a "never mind" message along with
the fix.  I had downloaded your "rjc5" source distribution and looked
through the config.site file and found the extra linker options.

I've built all the libraries from source as well and installed under
/usr/local.

Anyway, here's the linker config lines I used...

     LIBTIFF="-L/usr/local/lib -ltiff -ljpeg -lz"  # linkage convention for
libtiff
     TIFFINC="/usr/local/include"        # place to find tiffio.h
     TIFFBIN="/usr/local/bin"      # where TIFF tools live

Thanks again.

- Rick






Robert Colquhoun <rjc@trump.net.au> on 04/23/99 12:13:35 AM

To:   Rick Puckett/CORPHQ/NYTIMES, flexfax@sgi.com
cc:
Subject:  Re: flexfax: bad exit status 0x6 from sub-fork




Hi,

>From /usr/include/sys/errno.h:
#define ENXIO       6   /* No such device or address    */

You built hylafax from source on HP-UX right?  Did you link the tiff
library correctly - the tiff library provided by he Interex users group
requires that you also link in the jpeg library at compile time otherwise
you end up with an unsatisifed link at runtime and the above error no.

ie in config.site something like:
#
# The source for the TIFF library is not required
# to build this software, but the library is required
# to link against.  If libtiff is installed in a
# non-standard location then setup LIBTIFF accordingly.
#
LIBTIFF="-L/opt/tiff-3.4/lib -L/opt/jpeg-6/lib -L/opt/zlib/lib -ltiff
-ljpeg -lz
"   # linkage convention for libtiff
TIFFINC="/opt/tiff-3.4/include"     # place to find tiffio.h
TIFFBIN="/opt/tiff-3.4/bin"     # where TIFF tools live

There might be other problems too, but this is the first thing i would
check.

- Robert

At 07:14 PM 4/22/99 -0400, pucketr@nytimes.com wrote:
>
>
>I know everyone has probably heard of this... Is there a resolution?
>
>     FaxQueuer[nnnn]: JOB nn: bad exit status 0x6 from sub-fork
>
>HylaFAX:  4.0pl2 (from source, w/gcc 2.8.x patches)
>System:   T-600 (9000/893) running HP-UX 10.20
>Modem:    PM 14400 FXMT at 9600bps
>Software: gcc 2.8.1, tiff 3.4, zlib 1.1.3, gs 5.10
>
>Everything compiled and installed without error.  I've read through the
>mailing-list archives and have seen similar reports, but none of the
replies
>seem to help.  Occurs when running faxgetty or just using faxmodem.
>
>The ps2fax process returns 0 to waitpid in faxQueueApp::runConverter, (and
>I've checked this in the code), but the status gets set to 6 by the time it
>gets to faxQueueApp::prepareJobDone().
>
>I get the same results building the rjc5 version.
>
>If I hack the status to 0 in prepareJobDone(), the program runs, dials and
>connects to the remote fax modem, and does nothing.  The receiving modem
>hangs up after a minute or so.  I not concerned about this until I resolve
>the first issue as the hack may be causing the second problem :-)
>
>The syslog trace is below.  Any information would be great.
>
>- Rick
>
>FaxQueuer[7930]: servertracing = 0xffffffff (line 7)
>FaxQueuer[7930]: HylaFAX (tm) Version 4.0pl2
>FaxQueuer[7930]: Copyright (c) 1990-1996 Sam Leffler
>FaxQueuer[7930]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
>FaxQueuer[7930]: FIFO RECV "+cul0p0:RP3fd5ff3f"
>FaxQueuer[7930]: MODEM cul0p0: READY, capabilities P3fd5ff3f
>FaxQueuer[7930]: FIFO RECV "Sclient/7937:5"
>FaxQueuer[7930]: SUBMIT JOB 5
>FaxQueuer[7930]: JOB 5 (suspended dest  pri 127 tts 0:00 killtime 2:59:00):
>CREATE
>FaxQueuer[7930]: Apply CanonicalNumber rules to "1234567"
>FaxQueuer[7930]: --> match rule "^[^+]", result now "+11231234567"
>FaxQueuer[7930]: --> return result "+11231234567"
>FaxQueuer[7930]: JOB 5 (ready dest +11231234567 pri 127 tts 0:00 killtime
>2:59:00): READY
>FaxQueuer[7930]: FIFO SEND client/7937 msg "S*"
>FaxQueuer[7930]: JOB 5 (ready dest +11231234567 pri 127 tts 0:00 killtime
>2:59:00): PROCESS
>FaxQueuer[7930]: JOB 5 (active dest +11231234567 pri 127 tts 0:00 killtime
>2:59:00): ACTIVE
>FaxQueuer[7930]: JOB 5 (active dest +11231234567 pri 127 tts 0:00 killtime
>2:59:00): PREPARE START
>FaxQueuer[7941]: JOB 5 (active dest +11231234567 pri 127 tts 0:00 killtime
>2:58:59): CONVERT DOCUMENT: bin/ps2fax -o docq/doc5.cover;30 -r 98 -w 1728
>-l 280 -m 4294967295 -1 docq/doc5.cover
>FaxQueuer[7930]: JOB 5 (active dest +11231234567 pri 127 tts 0:00 killtime
>2:58:57): PREPARE DONE
>FaxQueuer[7930]: JOB 5: bad exit status 0x6 from sub-fork
>FaxQueuer[7930]: NOTIFY: bin/notify "doneq/q5" "failed" ""
>FaxQueuer[7930]: JOB 5 (done dest +11231234567 pri 127 tts 0:00 killtime
>2:58:57): DEAD
>FaxQueuer[7930]: JOB 5 (done dest +11231234567 pri 127 tts 0:00 killtime
>2:58:57): DELETE
>FaxQueuer[7930]: FIFO RECV "Q"
>FaxQueuer[7930]: QUIT
>
>









Project hosted by iFAX Solutions