Urgent Help Needed - Elastix just shows blank page

oshkosh

Joined
Jul 27, 2010
Messages
59
Likes
0
Points
0
#1
Hey everyone,

Here's my problem. I have Elastix 2.0 and I needed to move it to a new server. I updated everything, yum update, yum update elastix, latest version of FreePBX etc. I then ran the Elastix backup.

I downloaded the latest version of Elastix from the website here, installed it and did the same, updated everything to the latest version then I restored the backup. Everything worked immediately, except phones couldn't call each other it would go to voicemail. Rebooted the system and everything works exactly the same no issues at all.

That was 2 days ago. This morning I accessed the Elastix admin page, it let me log in and brought me to the main page. However clicking PBX just shows a blank page. Going to http://asteriskip/admin says:


FATAL ERROR

DB Error: connect failed

Trace Back

Array
(
[0] => Array
(
[file] => /var/www/html/admin/common/db_connect.php
[line] => 69
[function] => die_freepbx
[args] => Array
(
[0] => DB Error: connect failed
)

)

[1] => Array
(
[file] => /var/www/html/admin/header.php
[line] => 131
[args] => Array
(
[0] => /var/www/html/admin/common/db_connect.php
)

[function] => require_once
)

[2] => Array
(
[file] => /var/www/html/admin/config.php
[line] => 54
[args] => Array
(
[0] => /var/www/html/admin/header.php
)

[function] => include
)

I rebooted a few times, now going to the Elastix login page it's just blank right off the bat. If I run amportal restart it says:


[root@asterisk asterisk]# amportal restart

STOPPING ASTERISK

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

Asterisk Stopped

STOPPING FOP SERVER
FOP Server Stopped
SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk Started

STARTING FOP SERVER
FOP Server Started

The file asterisk.ctl does exist so no sure but it's empty if that means anything. The phones all work and there's no issues but I can't access FreePBX or Elastix. I read somewhere the latest ISO from Elastix seems to have this as a bug so not sure what to do. I can't really wipe it and start from scratch as I did the migration over the weekend and now my users will need access to their phones during the week. Is there anything I can check? Thanks so much.
 

antovincent

Joined
Sep 7, 2011
Messages
3
Likes
0
Points
0
#2
For me i changed asteriskuser password from mysql CLI console
now pbxconfig and freepbx are not connecting to DB
in which file i need to change password?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,901
Messages
130,885
Members
17,561
Latest member
marouen
Top