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] Bad exit status



This is what I get when I apply the patch....

faxQCleanApp.o: In function `faxQCleanApp::archiveJob(FaxRequest const&)':
/usr/src/redhat/BUILD/hylafax-4.1.7/faxd/../util/Str.h:99: undefined reference to `faxApp::runCmd(char const*, bool)'
collect2: ld returned 1 exit status
make[1]: *** [faxqclean] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/hylafax-4.1.7/faxd'
make: *** [default] Error 2



At 09:59 AM 10/23/2003 -0400, you wrote:


The problem isn't s much the bad exit status, as the time that notify is
taking to run.

See:
        http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=445

The attached patch works. I don't think it's made it into CVS yet.

The problem is that faxq is blocking for the notify to finish.  In the 6
seconds it's been blocked, the FIFO it process fills up and gives the
"Bad FIFO cmd" when it reads a 1/2 message, but that also means that it
tries to process a "half" message too.

If you bump your faxq logging up a lot more, you'll see that faxq is
getting messed up before bombing out.

Fixing your mail issue (whatever is causing notify to take 6 seconds to
run) will "fix" your issue, but doesn't fix the root of the problem.
That's taken care of by the patch in bugzilla.

a.

* Jeff Herring <jeffh@xxxxxxxxx> [031023 09:48]:
> I'm getting this in my log...
> ....
> Oct 22 13:44:20 HYLAFAX FaxSend[23775]: SEND FAX: JOB 25169 SENT in 0:23
> Oct 22 13:44:26 HYLAFAX FaxQueuer[4860]: Bad exit status 040000 for
> 'bin/notify "doneq/q25153" "failed" "2:14"'
> Oct 22 13:44:26 HYLAFAX FaxQueuer[4860]: SUBMIT JOB 25179
> Oct 22 13:44:26 HYLAFAX FaxQueuer[4860]: Bad FIFO cmd '7' from client
> Oct 22 13:44:26 HYLAFAX FaxGetty[4971]: LOCKWAIT
> Oct 22 13:44:26 HYLAFAX FaxGetty[4956]: LOCKWAIT
> Oct 22 13:44:26 HYLAFAX FaxGetty[4960]: LOCKWAIT
> Oct 22 13:44:26 HYLAFAX FaxGetty[4963]: LOCKWAIT
>
> After which point faxq stops running and everything grinds to a halt...
> I've searched the archives, however I'm missing the solution...Is this a
> sendmail issue?
>
> -Jeff H.
>
> --------------------------------------
> Jeff Herring  /  jeffh@xxxxxxxxx
> Seacoast Laboratory Data Systems, Inc.
> --------------------------------------
>
>
> ____________________ 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@xxxxxxxxxxxx*

--
Aidan Van Dyk                                             Create like a god,
aidan@xxxxxxxxxxx                                       command like a king,
http://www.highrise.ca/                                work like a slave.

-------------------------------------- Jeff Herring / jeffh@xxxxxxxxx Seacoast Laboratory Data Systems, Inc. Voice: 603 431 4114 x14 FAX: 603 431 2112 --------------------------------------


____________________ 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@xxxxxxxxxxxx*




Project hosted by iFAX Solutions