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

scott

Joined
Dec 8, 2009
Messages
11
Likes
0
Points
0
#1
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!
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#2
When does it started to happend? Is it a clean installation?

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

regards,

RAfael
 

scott

Joined
Dec 8, 2009
Messages
11
Likes
0
Points
0
#3
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.
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#4
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
 

echelon75

Joined
Dec 27, 2009
Messages
75
Likes
0
Points
0
#5
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
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#6
try:
tail -f /var/log/httpd/error_log
 

echelon75

Joined
Dec 27, 2009
Messages
75
Likes
0
Points
0
#7
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
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#8

echelon75

Joined
Dec 27, 2009
Messages
75
Likes
0
Points
0
#9
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
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#10
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
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#11
try:

system-config-securitylevel

Regards,

Rafael
 

echelon75

Joined
Dec 27, 2009
Messages
75
Likes
0
Points
0
#12
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
 

rajputbhanu27

Joined
May 26, 2009
Messages
16
Likes
0
Points
0
#13
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
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top