FreePBX /var/lib/asterisk/bin/retrieve_conf: Permission denied

Hi,

Installed CentOS 5.6, with Asterisk 1.8 seemed to go ok. Then installed FreePBX lastest version, no errors during install. But nowwhen I log into freepbx it says Asterisk is not running when checking top it is running.

Oppanel has a warining saying its not running.

MySQL and webserver are ok

But SSH is showing as error as well.

I have tried to do apply configuration settings as its a new install but when I do it I get error:

exit: 126sh: /var/lib/asterisk/bin/retrieve_conf: Permission denied
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

File details are:

[[email protected] bin]# ls -al retrieve_conf
-rwxrwxrwx 1 asterisk asterisk 33749 Jun 24 20:59 retrieve_conf

If I do retrieve_conf logged in as asterisk user it runs without error.

It seems somehow my freepbx interface has some incorrect setting or passowrd that is not allowing it to make changes.

Thanks

I used the following guide to set it up. http://www.powerpbx.org/content/rhel-asterisk-freepbx-install-guide-rhel-v6-asterisk-v18-freepbx-v29%20