[SOLVED] FreePBX not detecting asterisk

We recently had a bad config file blow up our server, and after running “make samples”, things seemed to be working. However, upon further inspection, FreePBX no longer detects that asterisk is running and all of the extensions are failing to register with a ‘wrong password’.

I’ve moved the configuration files over that contained extension data, and they aren’t working. The database still has everything in there as well.

I’m getting the error message "Reload failed because retrieve_conf encountered an error: 1"
or from SSH: “Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf”

Any ideas?

Asterisk 13.0.1
FreePBX 12.0.17
CentOS 6.5

I ended up running the install scripts for FreePBX and then recopied the config files for my extensions/sip settings/manager and now I’m back up and running.