Very strange issue with freepbx, says asterisk isn't running, but is

I’ve seen this on a few other places on the web, and I have looked and looked for the solution but it alludes me. I’m currently on Trixbox 2.8. Earlier today I noticed a strange issue, freepbx says that I’m not connected to asterisk any longer in the bottom right of the screen on the System Maintenance page.

I have restarted the server, amportal, I have checked the amportal.conf and the manager.cong, the ports are right, and I have the hosts file correct. In fact, when I run retrieve_conf, it apparently ends with flying colors. After saying “ok” next to all the lines, and then it spills the “added to globals”, I get “Please update your modules and reload Asterisk by browsing to your server.”.

When i go to reload the configs from freepbx, it ends with a dialog that says:
exit: 0

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = amp111
Please update your modules and reload Asterisk by browsing to your server.

1 error(s) occured, you should view the notification log on the dashboard or main screen to check for more details.

Am assuming this 1 error is that it can’t connect to asterisk. But asterisk is running just fine, I can place calls and everything.

If I look at the top of freepbx under Notices on the System Status, it says the following:
Reload failed because trixbox could not connect to the asterisk manager interface.
Added 1 minute ago
(freepbx.RCONFFAIL)

Can you guys please help me? I’m desperate on this one.

Trixbox use a “forked” version of FreePBX that they call pbxconfig.

We do not know what they have done with that “forked” version so my best answers are:

Ask your question over at trixbox

Scrap trixbox and install a decent distro like AsteriskNOW, PBX in a Flash or Elastix.