Critical Error retrieve_conf failed, config not applied

Specs :

Virtual Machine Suse Linux Enterprise Server 10 SP2
Asterisk : 1.4.21.2
Asterisk-addons : 1.4.7

FreePBX 2.5.0.0

I am fairly new to linux and completed the installation proces of FreePBX 2.5.0.0 yesterday, it toke me a lot of time solving all the errors I had before (during install of ./install_amp) . Mainly restriction / permissions errors .

The first time I installed I got stuck but I gave it a second try . In that second try I got several permission errors . I cant recall all of them exactly , but in order to solve them I "chmod 777 "ed :

/srv/www
/var/lib/asterisk/bin
/etc/asterisk
/usr/lib/asterisk

And all subdirectory’s / files, I am aware this is not what I want security wise . But it was the quickest way for me to get the installation forward.

I’ve tried to run retrieve_conf (-rwxrwxrwx) with the file set to owner asterisk aswell as root. The error I get remains the same :

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = xxxxxxx
[ERROR] queues access failed, Queues module may not be installed: DB Error: no such table
Please update your modules and reload Asterisk by visiting http://localhost/admin


(AMPMGRPASS = xxxxxxx WHICH IS THE SAME IN manager.conf [admin] secret)

My question is; how do I solve this so the “Critical Error retrieve_conf failed, config not applied” error is removed from my freepbx interface ?

Well I hope I’ve specified enough if some important details are missing I’d be happy to add them .

(BTW I found a simulare topic http://www.freepbx.org/forum/freepbx/users/reload-failed-because-retrieve-conf-encountered-an-error-126#comment-15015 and got directed to start a new topic so here it is)

The problem is solved the key was “Queues module may not be installed” .

I solved this by simply installing that module via the interface>module admin>check for updates online. It than appeared and was ready to be installed.

Greetings Jeroen

Try disabling selinux.

Can you plz explain the above step in detail…Am stuck with the same error

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = root
Added to globals: AMPMGRPASS = SOMEPASSWORD
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = root
Added to globals: AMPDBPASS = SOMEPASSWORD
Notice: no Devices defined
Table does not exist: queues_config
Table does not exist: meetme
Table does not exist: parkinglot
Notice: no sip trunks defined
Notice: no iax trunks defined
Notice: no AMP Users defined
[ERROR] queues access failed, Queues module may not be installed: DB Error: no s uch table
Please update your modules and reload Asterisk by visiting http://10.232.14.120/admin

Try disabling selinux.
it helped for me