Hi,
I’m new here, so sorry if I put something in the wrong place, etc…
FreePBX: 2.8.0.2
Asterisk: 1.6.2.7
Ubuntu: 10.04 LTS 32bit
This system was manually built and has been working perfectly for many weeks and still works as far as telephony goes. Recently upgraded FreePBX from 2.7 to 2.8.0.2.
Problem: If anything is changed on the “Tools - System Administration - Asterisk SIP Settings” page, after clicking Submit and clicking the orange bar and then clicking ‘Continue with Reload’ in the orange box, the reload does not complete. After a time, the orange box displays “Error: Did not receive valid response from server”. If I close the orange box and move to another category on the left menu, the orange confirmation bar disappears and the settings ARE entered into FreePBX.
So it all works, except it just hangs instead of completing the reload. In an effort to resolve this myself, I found advice to run /var/lib/asterisk/bin/retrieve.conf but apart from seeing errors, I don’t know where to look next. I’ve pasted the output from ‘retrieve.conf’ below in the hope that someone here can help.
Thanks in advance,
Joseph
[email protected]
====================
[email protected]:/var/lib/asterisk/bin# ./retrieve_conf
PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 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
Sun, 25 Jul 2010 01:34:41 +1000 - Got event… registry
Sun, 25 Jul 2010 01:34:41 +1000 - No event handler for event 'registry’
Sun, 25 Jul 2010 01:34:42 +1000 - Got event… peerstatus
Sun, 25 Jul 2010 01:34:42 +1000 - No event handler for event 'peerstatus’
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 = xxxxxxxx
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = xxxxxxxx
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/freepbx/admin/extensions.class.php on line 315
PHP Warning: Invalid argument supplied for foreach() in /var/www/freepbx/admin/extensions.class.php on line 315
Notice: no Queues defined
Notice: no Conferences defined
Notice: no Parking Lots defined
Notice: no iax trunks defined
Notice: no AMP Users defined
Please update your modules and reload Asterisk by visiting http://xxx.xxx.xxx.xxx/admin
Thanks again.