I had Distro 5.211.65-6 running for a considerable time until I had a power problem and the server restarted. Now when I try to enter the gui I get the following:
DB Error: connect failed
: DB Error: connect failed
I can log in as root on the linux command line and when I try an amportal restart I get the following:
[[email protected] ~]# 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.
Would be very grateful if someone could give me some pointers on troubleshooting/fixing this. I am not adverse to paid support but would first like to try myself so I will understand the problem better and improve my knowledge.
Thanks in advance.