When I edit the etc/amportal.conf file and change the default values in AMPDBUSER and AMPDBPASS it causes the database engine to fail. When I try to login I get this following screen
"
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 did also run sh apply_conf.sh which is located in usr/src/freepbx-2.7.0/ and not the usr/src/AMP/ dir specific in the amportal.conf. I get the following:
"
Reading /etc/amportal.conf
Updating configuration…
/etc/asterisk/cdr_mysql.conf
/etc/asterisk/cdr_odbc.conf
sed: can’t read
/etc/asterisk/cdr_odbc.conf: No such file or directory
sed: can’t read
/etc/asterisk/cdr_odbc.conf: No such file or directory
/etc/asterisk/manager.conf
/etc/asterisk/vm_email.inc
You might need to modify /etc/asterisk/vm_email.inc manually
Adjusting File Permissions…
SETTING FILE PERMISSIONS
Permissions OK
Done
"
You can see that I don’t have /etc/asterisk/cdr_odbc.conf file and I’m thinking this might be causing the issue. I’ve also restarted astricks after these changes without luck. Any suggestions?