TUTORIAL AvantFAX database is DOWN - New Install

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Just finished a brand new install and have not made any modifications other than the SIP Config and Module e-mail. I followed the instructions here http://nerdvittles.com/?p=13599 for a Centos 6.5 build of Incredible PBX on Ipsystemsltd. Then moved on to run the fax install (rebooted 3x's) and then the Webmin install. - a cherry system all new.

When I go to Avant Fax from the main menu, the above error appears. Any suggestions?

Asterisk 11.17.1 Incredible GUI 2.11.0.34
 
happened to me, mysql user avantfax wasn't created during install (a bug maybe).

Use phpmyadmin and create the avantfax user with password; d58fe49 and grant all privileges to the avantfax db
 
Thanks! That allowed me to enter the Avantfax web interface. On the main screen I see : ttyIAX0 [Please wait] (for all of the modems).

Via Webmin, I do not see the active fax modems. I do have an inbound/outbound route defined..

Still hunting...
 
Check if faxgetty is running
Code:
ps -e | grep faxgetty

You should have 4 faxgetty process, if not make sure that the file /etc/rc.local is a link to /etc/rc.d/rc.local and the "exit 0" line is at the end of the script
 
Bingo! You were right on all suspicions. The "exit 0" was before the /usr/sbin/faxgetty -D ttyIAX0 statements, corrected and now all is working.

Thanks for your help!
 
did it now here's what I have:

nano -w /etc/rc.local

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/usr/local/sbin/iptables-restart
/usr/sbin/faxgetty -D ttyIAX0
/usr/sbin/faxgetty -D ttyIAX1
/usr/sbin/faxgetty -D ttyIAX2
/usr/sbin/faxgetty -D ttyIAX3
exit 0

nano -w /etc/rc.d/rc.local

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/usr/local/sbin/iptables-restart
exit 0
/usr/sbin/faxgetty -D ttyIAX0
/usr/sbin/faxgetty -D ttyIAX1
/usr/sbin/faxgetty -D ttyIAX2
/usr/sbin/faxgetty -D ttyIAX3
now:

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/usr/local/sbin/iptables-restart
/usr/sbin/faxgetty -D ttyIAX0
/usr/sbin/faxgetty -D ttyIAX1
/usr/sbin/faxgetty -D ttyIAX2
/usr/sbin/faxgetty -D ttyIAX3
exit 0

ttyIAX0 [Idle] ttyIAX1 [Idle] ttyIAX2 [Idle] ttyIAX3 [Idle]

thanks again...leon
 
I installed the Vertualbox SL image and had the same problem with modems in the wait mode, I made the adjustments from above "/etc/rc.d/rc.local and the "exit 0" line is at the end of the script" and all is good.

gary
 
Hi folks,

Struggling to get IncredibleFAX installed on my IncrediblePBX 11-11.1 on RentPBX.

This is what I did:
./incrediblefax11.sh

followed all the prompts, specified area code. system rebooted.

the result was no AvantFax button on the main menu and accessing AvantFax from the Incredible GUI Admin via menu Other-->AvantFax gives me a 404 not found from Apache.

Found additional information here: http://nerdvittles.com/?p=14656
and thought I had an "HylaFax/AvantFax in Limbo." error so I followed the instructions and did:

wget http://incrediblepbx.com/incrediblefax11-centos.tar.gz
tar zxvf incrediblefax11-centos*
./incrediblefax11.sh

with no change in the problem.

I tried resetting my webmin password:
htpasswd -b /etc/pbx/wwwpasswd admin something-i-madeup-here

Then I tried setting my avantfax password as follows:
/root/avantfax-pw-change

And received the error: -bash: /root/avantfax-pw-change: No such file or directory
Why I am missing such a file is puzzling me.
If anyone has a suggestion to work around this operator error conundrum I've found myself in, would appreciate your help.
 
Did you wantch the install for errors? The last time I tried to install it (Monday maybe?) it was failing to download some important things from Sourceforge, so it may still be broken.
 
Thank you.

I watched the flying text as closely as I could the second time I installed and didn't notice an error...but I think I got up from my desk once (and could have missed it).

Is there a way to monitor the brokenness of the link or if they are fixed? Or do I re-install the ./incrediblefax11.sh script once a week and watch carefully the flying text for errors?
 
When mine failed it attempted 10 times to download the iax-modem.tar file, so it was noticeable.
 

Members online

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top