HylaFAX The world's
most advanced open source fax server
Re: [hylafax-users] JobControlCmd not executed
I succeded in running jobcontrol as you can see from my logs (it was a
stupid problem, during one of my tentative I removed the shebang on the
first line of jobcontrol... )
FaxQueuer: JOB 84 (...): CONTROL
FaxQueuer: JOB 84 (...): JOB CONTROL: bin/jobcontrol 84
FaxQueuer: JOB 84 (...): CMD DONE: exit status 0
BTW, I just noticed that jobcontrol is ran as the root user, is it
But now I have a more serious problem which happens ONLY if I have a
JobControl script specified in etc/config; faxq CRASHES with
Here is the trace of faxq crash while sending a fax:
bin/jobcontrol is VERY simple:
echo "ModemDialCmd: \"ATS0=255;+iO0110674704;DT%s\""
If I remove the ModemDialCmd line everything works fine
I also tried with echoing another parameter (I tried with "UseJobTSI:
yes" and it worked)
Anybody has clues about it ?
Tnx again for help
Aidan Van Dyk ha scritto:
> 2008/7/20 Edoardo Serra <eserra@xxxxxxxxxx>:
>> Ok, I noticed there were 2 ServerTracing directives in the config file,
>> I removed the second one and now Hylavax is more verbose
> I noticed that too. Glad you caught it.
>> Here it si jobcontrol related messages
>> Jul 20 15:59:07 faxgw FaxQueuer: JOB 68 (suspended dest +390113395491092 pri 127 tts 0:00 killtime 2:59:00): CONTROL
>> Jul 20 15:59:07 faxgw FaxQueuer: JOB 68 (suspended dest +390113395491092 pri 127 tts 0:00 killtime 2:59:00): JOB CONTROL: bin/jobcontrol 68
>> Jul 20 15:59:07 faxgw FaxQueuer: FIFO SEND client/1287 msg "S*"
>> Jul 20 15:59:10 faxgw FaxQueuer: JOB 68 (suspended dest +390113395491092 pri 127 tts 0:00 killtime 2:58:57): JOB CONTROL: failed to exec: Exec format error
>> Jul 20 15:59:10 faxgw FaxQueuer: JOB 68 (suspended dest +390113395491092 pri 127 tts 0:00 killtime 2:58:57): CMD DONE: exit status 0xff00
>> Jul 20 15:59:10 faxgw FaxQueuer: JOB 68: bad exit status 0xff00 from sub-fork
> So, running "bin/jobcontrol 68" failed to run.
> You'll have to double-check all the permissions/paths/etc, on it,
> keeping in mind that faxq trys to run it as uucp.
> Check *any* MAC/DAC (not just SELinux, maybe AppArmour?) that might be
____________________ 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*