I am getting the error "Reload failed because retrieve_conf encountered an error: 126" when I apply configuration changes

After Installation I was updating it via Module admin TAB. When I click on “Apply config” I am getting the below error


Reload failed because retrieve_conf encountered an error: 126

exit: 126
sh: /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.


I’ve given the permission 777 to /var/lib/asterisk/bin/retrieve_conf but still same error pop-ups

PLEASE HELP!!!