Web Interface Doesn't Work... Takes too long to lo

Discussion in 'General' started by scott, Dec 11, 2009.

  1. scott

    Joined:
    Dec 8, 2009
    Messages:
    11
    Likes Received:
    0
    hi all!

    first post in the forum! my web interface takes way to long to load. it takes about minutes to load a page, and after that i get a blank screen. i've logged into the server, and the server is running, so is apache, asterisk and mysql (?). what could be the problem?

    any help would be appreciated!
     
  2. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    When does it started to happend? Is it a clean installation?

    A blank page, normally would recomend to check the apache logs.

    regards,

    RAfael
     
  3. scott

    Joined:
    Dec 8, 2009
    Messages:
    11
    Likes Received:
    0
    thanks for the reply! this happens after a vanilla install. it happens when i click on any linke, whether it be to setup networking or create an extension.
     
  4. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    weird.. Are you using latest Elastix 1.6?

    run
    Code:
    tail -f /var/log/httpd/access_log
    
    and reproduce the error. Then see what are the logs.

    I suspect that your iso may be corrupted. Other option could be to re downlaod and install again

    regards,

    rafael
     
  5. echelon75

    Joined:
    Dec 27, 2009
    Messages:
    75
    Likes Received:
    0
    Hi,

    I have similar problem on a clean install.
    I only create 4 extensions,3 trunks and server is online since 4 weeks and upgrade it with a sinlge yum update .
    My elastik version is 1.6.3

    [root@elastix yum.repos.d]# tail -f /var/log/httpd/access_log
    192.168.0.x - - [17/Jan/2010:15:04:19 +0100] "GET / HTTP/1.1" 302 280 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"

    I type IP server, I got webpage with authentification and When I click on PBX I got a blank page with the following URL:
    https://192.168.0.x/index.php?menu=pbxconfig

    Regards

    Richard
     
  6. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    try:
    tail -f /var/log/httpd/error_log
     
  7. echelon75

    Joined:
    Dec 27, 2009
    Messages:
    75
    Likes Received:
    0
    Hi,

    Thank you for your reply and here is log returned:
    # tail -f /var/log/httpd/error_log
    [Sun Jan 17 15:20:06 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sun Jan 17 15:20:09 2010] [notice] Digest: generating secret for digest authentication ...
    [Sun Jan 17 15:20:09 2010] [notice] Digest: done
    [Sun Jan 17 15:20:13 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
    [Sun Jan 17 15:20:38 2010] [notice] caught SIGTERM, shutting down
    [Sun Jan 17 15:20:39 2010] [notice] SELinux policy enabled; httpd running as context root:system_r:initrc_t:s0-s0:c0.c1023
    [Sun Jan 17 15:20:39 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sun Jan 17 15:20:40 2010] [notice] Digest: generating secret for digest authentication ...
    [Sun Jan 17 15:20:40 2010] [notice] Digest: done
    [Sun Jan 17 15:20:44 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations

    Another problem, if I try to check CDR with elastix interface all is empty.

    Regards

    Richard
     
  8. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
  9. echelon75

    Joined:
    Dec 27, 2009
    Messages:
    75
    Likes Received:
    0
    Hi,

    I tried to enable or disable but each time I tried PBX folder I got a blank page
    echo 1 >/selinux/enforce
    echo 0 >/selinux/enforce

    :(

    Richard
     
  10. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    I suggest you TOTALLY disable it then reboot.

    I believe you should watch the logs in /var/log/httpd ssl_access_log and ssl_error_log if using https
     
  11. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    try:

    system-config-securitylevel

    Regards,

    Rafael
     
  12. echelon75

    Joined:
    Dec 27, 2009
    Messages:
    75
    Likes Received:
    0
    Here is Log from ssl_error_log

    [Mon Jan 18 17:17:37 2010] [error] [client 192.168.0.8] PHP Fatal error: Call to undefined method DB_Error::escapeSimple() in /var/www/html/admin/functions.inc.php on line 1297, referer: https://192.168.0.7/
    [Mon Jan 18 17:19:14 2010] [error] [client 192.168.0.8] PHP Fatal error: Call to undefined method DB_Error::escapeSimple() in /var/www/html/admin/functions.inc.php on line 1297, referer: https://192.168.0.7/
    [Mon Jan 18 19:45:03 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Jan 18 19:45:08 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Jan 18 19:45:35 2010] [error] [client 192.168.0.8] PHP Fatal error: Call to undefined method DB_Error::escapeSimple() in /var/www/html/admin/functions.inc.php on line 1297, referer: https://192.168.0.7/

    I will compare /var/www/html/admin/functions.inc.php on another elastix server..

    Regards

    Richard
     
  13. rajputbhanu27

    Joined:
    May 26, 2009
    Messages:
    16
    Likes Received:
    0
    HI TEam

    I am gettign the following error.

    [root@iga-ilabs-epbx asterisk]# tail -f /var/log/httpd/error_log
    [Mon Feb 22 19:22:59 2010] [notice] caught SIGTERM, shutting down
    [Mon Feb 22 19:22:59 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Feb 22 19:22:59 2010] [notice] Digest: generating secret for digest authentication ...
    [Mon Feb 22 19:22:59 2010] [notice] Digest: done
    [Mon Feb 22 19:22:59 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
    [Mon Feb 22 19:52:14 2010] [notice] caught SIGTERM, shutting down
    [Mon Feb 22 19:52:14 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Feb 22 19:52:14 2010] [notice] Digest: generating secret for digest authentication ...
    [Mon Feb 22 19:52:14 2010] [notice] Digest: done
    [Mon Feb 22 19:52:14 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
     

Share This Page