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] etc/FaxAccounting beeing ignored



Wolfgang Klein wrote:
I compiled and installed Hylafax 5.2.7 (http://hylafax.sourceforge.net/)
and created the file /var/spool/hylafax/etc/FaxAccounting, as beeing
told in the HowTo, but the file is totally ignored and doesn't do
anything. For testing purpose I put in just this one command:

#!/bin/bash
echo "executing script" | mail -s "Fax" wolfgang@localhost


Permission and ownership of this file look like this:


-rwxr-xr-x 1 uucp uucp 942 2008-10-13 18:21 FaxAccounting

The hfaxd also runs as user uucp and entries to xferlog are being made,
but still the script FaxAccounting is not being executed. What am I
doing wrong there?

You'll want to start debugging your etc/FaxAccounting script by putting this at the top of it right after the shebang (#!...)


set -x
exec 2> /tmp/FaxAccounting.$$

Then cause accounting activity to occur and then examine /tmp/FaxAccounting.<pid> to see what the matter is. If the /tmp file is not being created then it means that FaxAccounting is not being executed at all for some reason... thus you'd want to verify your installation, etc.

Thanks,

Lee.


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




Project hosted by iFAX Solutions