Ubuntu 16.04 Hylafax + Avantfax

Discussion in 'Installation/Configuration' started by Sheshman, Apr 17, 2017.

  1. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Have you restarted nginx after adding the code?
     
  2. Linux_Newbie

    Linux_Newbie New Member

    I did. It still didn't work. This is what I got.
    upload_2017-7-1_11-59-50.png

    upload_2017-7-1_12-0-50.png
    upload_2017-7-1_12-1-40.png
     
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Find and try commenting this line out from the code to be like this:
    Code:
    # fastcgi_param HTTPS $fastcgi_https;
     
  4. Linux_Newbie

    Linux_Newbie New Member

    I commented the line
    # fastcgi_param HTTPS $fastcgi_https; per your instruction (screenshot)
    and restarted Nginx. The browser loads now but it is just white screen (screenshot).

    The ISPConfig site is working fine without problems (screenshot)

    upload_2017-7-2_15-19-42.png

    upload_2017-7-2_15-24-30.png

    upload_2017-7-2_15-33-52.png
     

    Attached Files:

  5. Linux_Newbie

    Linux_Newbie New Member

    I am getting an HTTP ERROR 500 if i use a "client" computer on the same LAN.
    OS: Windows 8

    upload_2017-7-2_16-6-44.png
     
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Edited: Going through your earliest postings, I noted that you failed to install MDB2_driver_mysql, so please do try to reinstall it via this command "pear install -f MDB2_driver_mysql". Restart nginx and see whether you get the avantfax site working.

    If that is not working, do post the avantfax directory contents by running "ls -l /var/www/avantfax".
     
    Last edited: Jul 3, 2017
  7. Linux_Newbie

    Linux_Newbie New Member

    Here it is:
    root@server1:~# ls -l /var/www/avantfax
    total 240
    -rw-r--r-- 1 www-data www-data 5837 May 24 2010 addressbook_edit.php
    -rw-r--r-- 1 www-data www-data 1031 May 24 2010 addressbook.php
    drwxr-xr-x 2 www-data www-data 4096 Jul 2 14:14 admin
    drwxr-xr-x 2 www-data www-data 4096 Jul 2 14:14 ajax
    -rw-r--r-- 1 www-data www-data 10975 Jan 12 2016 archive.php
    -rw-r--r-- 1 www-data www-data 3120 May 24 2010 assign.php
    -rw-r--r-- 1 www-data www-data 2885 May 24 2010 assignx.php
    -rw-r--r-- 1 www-data www-data 574 May 24 2010 check_login.php
    drwxr-xr-x 3 www-data www-data 4096 Jul 2 14:14 css
    -rw-r--r-- 1 www-data www-data 1062 May 24 2010 distrocontacts.php
    -rw-r--r-- 1 www-data www-data 4105 May 24 2010 distrolist_edit.php
    -rw-r--r-- 1 www-data www-data 2219 May 24 2010 distrolist_helper.php
    -rw-r--r-- 1 www-data www-data 1008 May 24 2010 distrolist.php
    -rw-r--r-- 1 www-data www-data 3168 May 24 2010 emailbook_edit.php
    -rw-r--r-- 1 www-data www-data 1047 May 24 2010 emailbook.php
    -rw-r--r-- 1 www-data www-data 933 May 24 2010 emailcontacts.php
    -rw-r--r-- 1 www-data www-data 4878 May 24 2010 email.php
    -rw-r--r-- 1 www-data www-data 894 May 24 2010 favicon.ico
    -rw-r--r-- 1 www-data www-data 1039 May 24 2010 faxcontacts.php
    drwxrwx--- 4 www-data uucp 4096 Jul 2 14:14 faxes
    -rw-r--r-- 1 www-data www-data 1141 May 24 2010 file.php
    -rw-r--r-- 1 www-data www-data 1852 May 24 2010 forgot.php
    drwxr-xr-x 2 www-data www-data 4096 Jul 2 14:14 images
    -rw-r--r-- 1 www-data www-data 5253 May 24 2010 inbox.php
    drwxr-xr-x 5 www-data www-data 4096 Jul 2 14:20 includes
    -rw-r--r-- 1 www-data www-data 2431 Aug 31 2015 index.php
    -rw-r--r-- 1 www-data www-data 1609 May 24 2010 interface.css
    drwxr-xr-x 3 www-data www-data 4096 Jul 2 14:14 js
    -rw-r--r-- 1 www-data www-data 427 May 24 2010 logout.php
    -rw-r--r-- 1 www-data www-data 1592 May 24 2010 no-database.php
    -rw-r--r-- 1 www-data www-data 3319 May 24 2010 outbox.php
    -rw-r--r-- 1 www-data www-data 754 May 24 2010 pdf.php
    -rw-r--r-- 1 www-data www-data 2082 May 24 2010 pwdexpired.php
    -rw-r--r-- 1 www-data www-data 11502 May 24 2010 refax.php
    -rw-r--r-- 1 www-data www-data 866 May 24 2010 rotate.php
    -rw-r--r-- 1 www-data www-data 5616 May 24 2010 rubrica_edit.php
    -rw-r--r-- 1 www-data www-data 962 May 24 2010 rubrica.php
    -rw-r--r-- 1 www-data www-data 845 May 24 2010 search.php
    -rw-r--r-- 1 www-data www-data 10064 May 24 2010 sendfax.php
    -rw-r--r-- 1 www-data www-data 926 May 24 2010 setcompany.php
    -rw-r--r-- 1 www-data www-data 5599 May 24 2010 settings.php
    drwxrwx--- 2 www-data uucp 4096 Jul 2 14:14 tmp
    drwxr-xr-x 2 www-data www-data 4096 Jul 2 14:14 tools
    -rw-r--r-- 1 www-data www-data 1740 Jun 16 2010 txreport.php
    -rw-r--r-- 1 www-data www-data 3292 Jun 4 2010 upload_contacts.php
    -rw-r--r-- 1 www-data www-data 4412 Jun 4 2010 upload_faxcontacts.php
    -rw-r--r-- 1 www-data www-data 2838 May 24 2010 viewfax.php
    root@server1:~#l
     
  8. Linux_Newbie

    Linux_Newbie New Member

    I installed pear install -f MDB2_driver_mysql and it is working now. Thank you very much!!!

    root@server1:~# pear install -f MDB2_driver_mysql
    warning: pear/mdb2 requires package "pear/MDB2_Driver_mysql" (version >= 1.5.0b4), downloaded version is 1.4.1
    warning: pear/MDB2_Driver_mysql requires PHP extension "mysql"
    downloading MDB2_Driver_mysql-1.4.1.tgz ...
    Starting to download MDB2_Driver_mysql-1.4.1.tgz (36,787 bytes)
    ..........done: 36,787 bytes
    install ok: channel://pear.php.net/MDB2_Driver_mysql-1.4.1
    root@server1:~# service nginx restart
    root@server1:~#
     
  9. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Thank you for the response. I already updated the script in my github with the above mentioned fix. Hopefully, nobody will face any difficulties in installing avantfax in ubuntu 16.04 following the earlier posted guide next time. :)
     

Share This Page