![]() |
Hi Aidan, 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[8841]: JOB 84 (...): CONTROL FaxQueuer[8913]: JOB 84 (...): JOB CONTROL: bin/jobcontrol 84 FaxQueuer[8841]: JOB 84 (...): CMD DONE: exit status 0 BTW, I just noticed that jobcontrol is ran as the root user, is it correct ?!? But now I have a more serious problem which happens ONLY if I have a JobControl script specified in etc/config; faxq CRASHES with Segmentation fault Here is the trace of faxq crash while sending a fax: http://pastebin.com/m5e774660 bin/jobcontrol is VERY simple: #!/bin/bash echo "ModemDialCmd: \"ATS0=255;+iO0110674704;DT%s\"" /usr/bin/touch /tmp/hywbr 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 Regards 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[1207]: JOB 68 (suspended dest +390113395491092 pri 127 tts 0:00 killtime 2:59:00): CONTROL >> Jul 20 15:59:07 faxgw FaxQueuer[1288]: 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[1207]: FIFO SEND client/1287 msg "S*" >> Jul 20 15:59:10 faxgw FaxQueuer[1288]: 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[1207]: 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[1207]: 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 > installed. > > a. > ____________________ 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*