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
 

TirsoJRP

Member
Joined
Jan 8, 2015
Messages
99
Reaction score
32
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
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
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...
 

TirsoJRP

Member
Joined
Jan 8, 2015
Messages
99
Reaction score
32
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
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
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!
 

wa4zlw

Member
Joined
Feb 14, 2008
Messages
845
Reaction score
22
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
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
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
 

Marc Lange

New Member
Joined
Sep 13, 2015
Messages
21
Reaction score
4
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.
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
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.
 

Marc Lange

New Member
Joined
Sep 13, 2015
Messages
21
Reaction score
4
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?
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
When mine failed it attempted 10 times to download the iax-modem.tar file, so it was noticeable.
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
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.
Top