Warning keeps coming up: Critical error retrieve_conf failed, config not applied

Is it a serious problem? Can I just ignore it? Anyone knows how to fix it?
I am using FreePBX 2.11.0.43, Asterisk 11.
I know that they are old, but they are the only systems my machine can run. Don’t tell me I should upgrade to the latest versions!

Hi:
Please give more details with this error?

In the GUI, it says Asterisk server error:

Reload failed because retrieve_conf encountered an error: 1
Added 2 hours, 9 minutes ago
(freepbx.RCONFFAIL)

WheneverI press the “Apply Config” button, it gives back :slight_smile:

[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

Did you do that?

What did that error say?

We can’t read these things for you and there are literally hundreds of things this could be, including several dozen most of us have never seen before.

Reload failed because retrieve_conf encountered an error: 1
Added 2 hours, 9 minutes ago
(freepbx.RCONFFAIL)

&

[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

This is either a credentialing (username/password) problem, or a permissions problem. I’m going to guess that, if you are accessing Asterisk from FreePBX on the same machine, I’m going to guess that one of your manager.conf files has a PERMIT=“local net” but not “PERMIT = localhost”.

Just a guess of course, but it’s a place to start.

In manager.conf
PERMIT = 127.0.0.1/255.255.255.0

In /var/log/asterisk/freepbx.log I find the following:

[2016-Jul-01 14:54:16] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 14:54:16] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 14:54:16] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 14:54:16] [INFO] (bin/module_admin:339) - All dependencies met for module dashboard
[2016-Jul-01 14:55:17] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 14:55:17] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 14:55:17] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 14:55:17] [INFO] (bin/module_admin:66) - Module dashboard successfully installed
[2016-Jul-01 14:56:19] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 14:56:19] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 14:56:19] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 14:56:19] [INFO] (bin/module_admin:55) - Module dashboard successfully enabled
[2016-Jun-30 23:56:19] [INFO] (freepbx/install_amp:461) - Checking dashboard… installed
[2016-Jul-01 14:57:19] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 14:57:19] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 14:57:20] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 14:57:20] [INFO] (bin/module_admin:335) - The following dependencies are not met:
[2016-Jul-01 14:57:20] [INFO] (bin/module_admin:336) - - Module Core is required, but yours is disabled.
[2016-Jun-30 23:57:20] [INFO] (freepbx/install_amp:446) - Checking sipsettings… dependencies pending
[2016-Jul-01 14:58:20] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 14:58:20] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 14:58:20] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 14:58:20] [INFO] (bin/module_admin:339) - All dependencies met for module infoservices
[2016-Jul-01 14:59:21] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 14:59:21] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 14:59:21] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 14:59:21] [INFO] (bin/module_admin:66) - Module infoservices successfully installed
[2016-Jul-01 15:00:23] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 15:00:23] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed
[2016-Jul-01 15:00:23] [PHP-NOTICE] (/usr/share/php/Console/Getopt.php:277) - Undefined offset: 1
[2016-Jul-01 15:00:23] [INFO] (bin/module_admin:55) - Module infoservices successfully enabled
[2016-Jul-01 00:00:23] [INFO] (freepbx/install_amp:461) - Checking infoservices… installed
[2016-Jul-01 15:01:23] [PHP-WARNING] (/var/www/admin/libraries/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (Connect$
[2016-Jul-01 15:01:23] [CRITICAL] (admin/bootstrap.php:122) - Connection attmempt to AMI failed

Did you notice :- 14131211 characters left (stupid forum!)

How can I enable it? I got the warnings when I installed FreePBX.
I am a newbie. Thanks in advance.

Start with the wiki , link above.