FreePBX Apply Config slow

January 3, 2023 0 Comments

This is becoming frustrated, after you do some configuration changes and apply configuration it takes forever to save it and sometimes you will need to kill the process. Looks like the problem is the hostname:

Change the hostname on:

sudo nano /etc/hosts

sudo nano /etc/hostname

Then you will need to reboot: shutdown -r now

Afte the reboot you run

fwconsole debug

You will find the following error:

AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using pbx.thehost1.com. Set the ‘ServerName’ directive globally to suppress this message

You will need to modify: nano /etc/httpd/conf/httpd.conf

sudo nano /etc/httpd/conf/httpd.conf

Under Server admin you will add the following line, please replace my IP address for your server IP address:

ServerName 192.168.1.10

Save it and then run the following command

apachectl configtest

The result should be: Syntax OK