Critical Error retrieve_conf failed, config not applied

Any One can help me for below Error

  1. Critical Error retrieve_conf failed, config not applied
    Reload failed because retrieve_conf encountered an error: 255
    Added 45 minutes ago
    (freepbx.RCONFFAIL)

  2. Critical Error Asterisk Manager Connection Failure
    Failed to connect to the Asterisk manager through port: 5038
    Added 20 hours, 58 minutes ago
    (retrieve_conf.FATAL)

Please help me.

check asterisk and apache are running as user asterisk : "ps aux | grep asterisk"
should see at least
asterisk … httpd
asterisk … asterisk -opts

You will need to check your firewall is allowing access on port 5038 (iptables -L). You can disable the firewall temporarily with “/etc/init.d/iptables stop”

Also check your permissions:
ls -gal /var/lib/asterisk
ls -gal /etc/asterisk
ls -gal /etc/amportal.conf
should all show
date asterisk asterisk file

Hope this helps. i’m having a similar problem and got past this error before…

above similiar problem occur with me …even tried duncanp checking …but still does not resolve problem…

how do i get resolve this …