SOLVED Re: NOT-SOLVED [was Re: Avantfax on Archlinux - Sent Faxes Don't Show in Archive?]

"David C. Rankin" <[email protected]> Sat, 17 Sep 2016 20:06:32 -0500
Newsgroups gmane.comp.telephony.fax.hylafax.user
Organization Rankin Law Firm, PLLC
Message-ID <[email protected]>
On 09/17/2016 06:24 AM, David Mimms wrote:
>> The log shows that bin/notify.php is being called, the same way I would call it
>> manually, but it does show a non-zero exit code:
>>
>> Sep 17 05:10:38 valkyrie FaxQueuer[460]: NOTIFY: bin/notify.php "doneq/q71"
>> "done" "0:01:17"
> 
> What happens if you execute the command as uucp (using sudo) from /var/spool/hylafax/?
> 
> DM
> 

AAAAAARRRRRRRGGGGGGGHHHHHHHH!!!!!!!!

Shit!

  (of course all hell broke loose running as 'sudo -u uucp...`)

  # chown http:uucp /srv/http/avantfax/includes/local_config.php

and all is good in the world again!

Thank you DM (once again)! This must be a new restriction with php 5.6. On my
current 5.4 install, there is no complaint with ownership of 'http:http'. So for
reasons I can't explain, the current install requires ownership of 'http:uucp'
to allow the inclusion with 'include
(/srv/http/avantfax/includes/local_config.php);'

It's always the little things that cause you to lose the most hair...

-- 
David C. Rankin, J.D.,P.E.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*