Cannot Apply Config after upgrading to 2.11.0.0rc1.5

After upgrading to 2.11.0.0rc1.5 I cannot apply config, reporting a problem of exit: 1
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

the freepbx.log has these inputs

[2013-May-08 13:46:17] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:44] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:53] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:55] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:57] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:58] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:58] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:46:58] [FATAL] (libraries/utility.functions.php:439) - Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
[2013-May-08 13:46:58] [CRITICAL] (admin/functions.inc.php:384) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied
[2013-May-08 13:47:00] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:00] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:00] [FATAL] (libraries/utility.functions.php:439) - Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
[2013-May-08 13:47:00] [CRITICAL] (admin/functions.inc.php:384) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied
[2013-May-08 13:47:03] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:15] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:16] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:41] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:43] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:43] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:43] [FATAL] (libraries/utility.functions.php:439) - Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
[2013-May-08 13:47:43] [CRITICAL] (admin/functions.inc.php:384) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied
[2013-May-08 13:47:44] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:45] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed
[2013-May-08 13:47:45] [FATAL] (libraries/utility.functions.php:439) - Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
[2013-May-08 13:47:45] [CRITICAL] (admin/functions.inc.php:384) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied
[2013-May-08 13:48:39] [CRITICAL] (admin/bootstrap.php:135) - Connection attmempt to AMI failed

Any immediate help would be highly appreciated!

Is asterisk running?

I had the same problem.Someone in the forum mentioned it was the google voice module and i should disable it, however it was too late to confirm to see if that would fix, as i have installed asterisk 11.
I’m not sure but you might try disabling fail2ban. or check vi /var/log/secure and vi /var/log/fail2ban.log

this is what i found
May 6 22:24:08 localhost sudo: root : TTY=unknown ; PWD=/usr/src/freepbx-2.11.0rc1 ; USER=asterisk ; COMMAND=/var/lib/asterisk/bin/retrieve_conf --run-install --skip-registry-checks

Nope, asterisk won’t run at all!!

As for the google voice module, it is not installed!!

If asterisk won’t run at all then you have bigger problems than just freepbx. Asterisk must be running before freepbx can do anything so posting errors from asterisk when ou try to start it would be much more helpful

Fetching FreePBX settings with gen_amp_conf.php…

SETTING FILE PERMISSIONS
Permissions OK
Removing any dangling symlinks
Dangling symlinks removed

STARTING ASTERISK
/usr/sbin/safe_asterisk: line 145: 19268 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Automatically restarting Asterisk.
/usr/sbin/safe_asterisk: line 145: 19281 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Automatically restarting Asterisk.
mpg123: no process killed


Asterisk could not start!
Use ‘tail /var/log/asterisk/full’ to find out why.

This is what I get from “am portal start”.

Although my “full” log is empty!! :frowning:

Shot in the dark. Are your running on a virtual machine by any chance? Digium made some recent changes to compile defaults that is causing some compatibility problems with VM’s. The solution is the re-compile on the VM you are currently on. Only works if you are compiling from source obviously. Not sure how you get around it if you are using RPM’s.

You seemed to imply you didn’t change Asterisk but sounds like you did if it’s not starting now.

Did anyone ever resolve this? I am having a similar problem…

http://www.freepbx.org/forum/general-help/retrieveconf-failed#comment-137162