retrieve_conf failed, config not applied

I am using freepbx 2.5.1, ubuntu 8.04 lts, asterisk 1.4.17 (from repos).

I am getting an error

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

note: file permission is 775

It generates an increased number of messages that people have to sift through. You can also get confused real quickly if two different people start giving you advice from two different directions, one in each thread.

I found the answer. Make sure your php is to asterisk:asterisk and to apache too. I found this very useful for a ubuntu 8.04 server. I am using freepbx 2.5.1 and asterisk