Good Afternoon,
I was hoping someone may have the magic bullet for this one because I'm at a loss of what to do.
I'm currently following the guide provided at
https://www.linode.com/docs/applications/voip/deploy-voip-services-with-asterisk-and-freepbx-on-ubuntu-12-04-preciseIt's all going well up until I try to install FreePBX, then the system starts spitting errors out left and right. The biggest issue I'm having is that my asterisk database dosen't appear to be connecting.
Code:
FATAL ERROR
DB Error: connect failed
Trace Back
/var/www/html/admin/libraries/db_connect.php:71 die_freepbx()
[0]: DB Error: connect failed
/var/www/html/admin/bootstrap.php:85 require_once()
[0]: /var/www/html/admin/libraries/db_connect.php
/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php
/var/www/html/admin/config.php:99 include_once()
[0]: /etc/freepbx.conf
I tried to reload the AMPORTAL to see if maybe it just needed the configurations reset, but then I got this.
Code:
root@thecommnode:/var/www/html# amportal restart
Fetching FreePBX settings with gen_amp_conf.php..
/usr/local/sbin/amportal: line 49: [FATAL]: command not found
/var/lib/asterisk/bin/freepbx_engine: line 98: [FATAL]: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p '
mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.
root@thecommnode:/var/www/html#
It seems to be referencing a non existent directory, but I can't figure out what it wants or where it's getting it's information from.
Has anyone had any experience with this who could help me figure this out?
Thanks!!!!!