HylaFax / AvantFax for PBXIAF! UPDATED
Thanks to all the early adopters for helping find an area of the install script that needed a bit of fixing. Your feedback helped us get this solved in much less time that it would otherwise have taken!
The good news is the installation script has been corrected - thanks Joe Roper! It's now safe and sane to begin using the HylaFax / AvantFax for PBXIAF!
As always - please keep providing your feedback - projects like this live on feedback and success/failure reports.
Thanks again
- tshif
i think i still had some left overs from the previous installation, and now there are some errors when running the updated script... please try to help...
here are the logs...
Nothing to do
Installing AvantFAX and configuring HylaFAX
Error - cannot open file: /var/spool/hylafax/etc/hosts.hfaxd: No such file or directory
Error - cannot open file: /var/spool/hylafax/etc/hosts.hfaxd: No such file or directory
cat: /var/spool/hylafax/etc/hosts.hfaxd: No such file or directory
./rh-install.sh: line 101: /var/spool/hylafax/etc/hosts.hfaxd: No such file or directory
./rh-install.sh: line 111: /etc/hylafax/hyla.conf: No such file or directory
Disabling SELinux for Apache
setsebool: SELinux is disabled.
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
## Creating AvantFAX MySQL database ##
mysqladmin: CREATE DATABASE failed; error: 'Can't create database 'avantfax'; database exists'
Tables_in_avantfax
AddressBook
AddressBookEmail
AddressBookFAX
BarcodeRoute
DIDRoute
DistroList
DynConf
FaxArchive
FaxCategory
Modems
SysLog
UserAccount
UserPasswords
Database: avantfax
+------------------+
| Tables |
+------------------+
| AddressBook |
| AddressBookEmail |
| AddressBookFAX |
| BarcodeRoute |
| DIDRoute |
| DistroList |
| DynConf |
| FaxArchive |
| FaxCategory |
| Modems |
| SysLog |
| UserAccount |
| UserPasswords |
+------------------+
ln: creating symbolic link `/var/spool/hylafax/bin/faxrcvd.php' to `/var/www/html/avantfax/includes/faxrcvd.php': No such file or directory
ln: creating symbolic link `/var/spool/hylafax/bin/dynconf.php' to `/var/www/html/avantfax/includes/dynconf.php': No such file or directory
ln: creating symbolic link `/var/spool/hylafax/bin/notify.php' to `/var/www/html/avantfax/includes/notify.php': No such file or directory
ln: creating symbolic link `/usr//bin/faxcover' to `/var/www/html/avantfax/includes/faxcover.php': File exists
ln: creating symbolic link `/usr/share/misc/magic' to `/usr/share/file/magic': File exists
ln: creating symbolic link `/usr/share/misc/magic.mgc' to `/usr/share/file/magic.mgc': File exists
ln: creating symbolic link `/usr/share/misc/magic.mime' to `/usr/share/file/magic.mime': File exists
ln: creating symbolic link `/usr/share/misc/magic.mime.mgc' to `/usr/share/file/magic.mime.mgc': File exists
Setting up sudo
mkdir: cannot create directory `/var/spool/hylafax/etc/abackup': No such file or directory
cp: cannot stat `/var/spool/hylafax/etc/config*': No such file or directory
ls: /var/spool/hylafax/etc/config.*: No such file or directory
./rh-install.sh: line 224: /var/spool/hylafax/etc/config: No such file or directory
ls: /var/spool/hylafax/etc/config.*: No such file or directory
Setting up /etc/cron.d/avantfax
Installation complete
Log into the Administrative interface at:
http://192.168.2.169/admin/
Username: admin
Password: password
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IAXModem/Hylafax/Avantfax installation complete
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avantfax is covered by its own security, the credentials are admin / password
You will be prompted to change the root password, then you can add other users
Point a DID at the custom destination, FAX (Hylafax) which has been created for
you in FreePBX. Outbound faxing will go out via the normal trunks
nv-faxdetect has not been added in this install, so DID cannot be shared between
extensions and faxes
A Hylafax webmin module has been placed in /var/pbx_load//hylafax_mod-1.8.2.wbm.gz
This is added via Webmin | Webmin Configuration | Webmin Modules | From Local File