Re: Avantfax on Archlinux - Sent Faxes Don't Show in Archive?

"David C. Rankin" <[email protected]> Thu, 15 Sep 2016 04:21:22 -0500
Newsgroups gmane.comp.telephony.fax.hylafax.user
Organization Rankin Law Firm, PLLC
Message-ID <[email protected]>
On 09/15/2016 02:33 AM, David Mimms wrote:
> 
>> -FaxrcvdCmd:     bin/faxrcvd.php
>> -DynamicConfig:  bin/dynconf.php
>> -UseJobTSI:      true
> 
> David,
> 
> What do you have in etc/config? Can you also show what you have in bin/?
> 
> cat /var/spool/hylafax/etc/config 
> 
> ls -l  /var/spool/hylafax/bin/*.php
> 
> DM
> 

He hay! Hi David!

without comments, the config is:

# noc /var/spool/hylafax/etc/config
LogFacility:            daemon
CountryCode:            1
AreaCode:               936
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          1
NotifyCmd:      bin/notify.php

a shot of the bid dir is:

# l1 /var/spool/hylafax/bin/*.php
/var/spool/hylafax/bin/dynconf.php
/var/spool/hylafax/bin/faxrcvd.php
/var/spool/hylafax/bin/notify.php

Since my php executable is /usr/bin/php56, I updated per the documentation the
interpreter environment in the following files:

./includes/faxcover.php
./includes/notify.php
./includes/phb.php
./includes/dynconf.php
./includes/avantfaxcron.php
./includes/faxrcvd.php

What doesn't make sense is all other mysql related operations work fine. Here is
the information in the SysLog table I've attached as a text attachment here. Let
me know what your think. I'm happy to try anything to get this figured out. This
is the install that still has an account for Aidan Dyk on it, so if needed I can
move the firewall around and give you access again.  I think we ought to be able
to solve the mystery.



-- 
David C. Rankin, J.D.,P.E.
avantfax.log (text/x-log, 4.5 KB)
3942    2016-09-14 01:23:11     class UserAccount> Login successful for 'admin' from IP: '192.168.6.102'
3943    2016-09-14 01:27:57     class UserAccount> Login successful for 'david' from IP: '192.168.6.102'
3944    2016-09-14 01:32:53     Archive start year: 2009
3945    2016-09-14 01:38:33     FQ>(david) /usr/bin/faxalter  -d "715xxxx" -t "2" -m "ttyS0" -P "0" -a "now" -k "now + 3 hours" -r  1
3946    2016-09-14 01:38:33     FQ>faxalter (jid 1): Job 1: duplicated as job 2.\nJob 2: done.\n (david)
3947    2016-09-14 01:38:33     FQ>killjob (jid 1): Job 1 removed (from doneq).\n  (david)
3948    2016-09-14 01:41:43     Archive start year: 2009
3949    2016-09-14 01:42:02     Archive start year: 2009
3950    2016-09-14 01:42:19     Archive start year: 2009
3951    2016-09-14 01:42:31     Archive start year: 2009
3952    2016-09-14 01:42:57     Archive start year: 2009
3953    2016-09-14 01:50:10     Archive start year: 2009
3954    2016-09-14 01:51:44     Archive start year: 2009
3955    2016-09-14 01:52:45     Archive start year: 2009
3956    2016-09-14 01:55:55     Archive start year: 2009
3957    2016-09-14 01:56:07     Archive start year: 2009
3958    2016-09-14 01:56:12     Archive start year: 2009
3959    2016-09-14 01:56:16     Archive start year: 2009
3960    2016-09-14 01:57:43     Archive start year: 2009
3961    2016-09-14 01:58:11     Archive start year: 2009
3962    2016-09-14 01:58:44     Archive start year: 2009
3963    2016-09-14 01:58:51     Archive start year: 2009
3964    2016-09-14 01:59:15     Archive start year: 2009
3965    2016-09-14 02:07:39     Archive start year: 2009
3966    2016-09-14 02:09:48     Archive start year: 2009
3967    2016-09-14 02:09:58     Archive start year: 2009
3968    2016-09-14 02:15:05     Archive start year: 2009
3969    2016-09-14 02:43:48     class UserAccount> Login successful for 'david' from IP: '192.168.6.102'
3970    2016-09-14 03:48:40     class UserAccount> Login successful for 'david' from IP: '192.168.6.102'
3971    2016-09-14 03:48:46     Archive start year: 2009
3972    2016-09-14 03:50:03     Archive start year: 2009
3973    2016-09-14 03:50:46     Archive start year: 2009
3974    2016-09-14 12:13:47     class UserAccount> Login successful for 'admin' from IP: '192.168.6.102'
3975    2016-09-14 12:16:35     Archive start year: 2009
3976    2016-09-14 12:16:58     Archive start year: 2009
3977    2016-09-14 12:17:11     Archive start year: 2009
3978    2016-09-14 12:18:01     Archive start year: 2009
3979    2016-09-14 12:18:03     Archive start year: 2009
3980    2016-09-14 12:18:05     Archive start year: 2009
3981    2016-09-14 12:18:07     Archive start year: 2009
3982    2016-09-14 12:18:08     Archive start year: 2009
3983    2016-09-14 12:18:24     Archive start year: 2009
3984    2016-09-14 12:32:42     Archive start year: 2009
3985    2016-09-14 12:42:47     class UserAccount> Login successful for 'david' from IP: '192.168.6.102'
3986    2016-09-14 12:44:45     Archive start year: 2009
3987    2016-09-14 12:47:32     class UserAccount> Login successful for 'david' from IP: '192.168.6.102'
3988    2016-09-14 12:53:41     Archive start year: 2009
3989    2016-09-14 13:52:49     Archive start year: 2009
3990    2016-09-14 15:00:00     Archive start year: 2009
3991    2016-09-14 15:28:27     Archive start year: 2009
3992    2016-09-14 15:46:09     Exec_sendfax failed: /usr/bin/sendfax -R -n -o 'david' -f '[email protected]' -x ''  -r '' -y '' -V '' -X 'Rankin Law Firm, PLLC' -Y '3111 Skyline Dr.' -U '(936) 564-xxxx' -W '(936) 560-xxxx' -S 'RankinLawFirm'   -d '715xxxx' /srv/http/avantfax/tmp/b407e0cbctestfax_20160914.pdf
3993    2016-09-14 15:46:09     Exec_sendfax error: Can not reach service hylafax at host "localhost".
3994    2016-09-14 15:48:20     Archive start year: 2009
3995    2016-09-14 15:52:04     Archive start year: 2009
3996    2016-09-14 15:52:21     Archive start year: 2009
3997    2016-09-14 17:35:08     Archive start year: 2009
3998    2016-09-14 17:46:12     FQ>(david) /usr/bin/faxalter  -d "715xxxx" -t "3" -m "ttyS0" -P "150" -a "now" -k "now + 3 hours" -r  9
3999    2016-09-14 17:46:12     FQ>faxalter (jid 9): Job 9: duplicated as job 10.\nJob 10: done.\n (david)
4000    2016-09-14 17:46:12     FQ>killjob (jid 9): Job 9 removed (from doneq).\n  (david)
4001    2016-09-14 17:51:53     FQ>killjob (jid 10): Job 10 removed (from doneq).\n  (david)
4002    2016-09-14 18:12:17     Archive start year: 2009
4003    2016-09-14 23:39:24     class UserAccount> Login successful for 'david' from IP: '192.168.6.102'
4004    2016-09-14 23:43:19     Archive start year: 2009