PBX stopped after update from 4.211 to 5.211

Hi, after updating using the wiki asterisk will not run i have checked the passwords match etc

When I run: amportal a dbug

2014-Jul-24 13:57:18    /var/www/html/admin/modules/extensionroutes/functions.inc/functions.inc.php:0

[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/extensionroutes/functions.inc/functions.inc.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/ivrpro/functions.inc/functions.inc.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/ivrpro/functions.inc/functions.inc.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/faxpro/functions.inc.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/faxpro/functions.inc.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/freepbx_ha/functions.inc/general.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/freepbx_ha/functions.inc/general.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/recording_report/functions.inc/functions.inc.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/recording_report/functions.inc/functions.inc.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/conferencespro/functions.inc.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/conferencespro/functions.inc.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/callerid/functions.inc/functions.inc.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!

2014-Jul-24 13:57:18 /var/www/html/admin/modules/callerid/functions.inc/functions.inc.php:0
[WARNING]: License check failed!

2014-Jul-24 13:57:26 /var/www/html/admin/libraries/php-asmanager.php:343
[WARNING]: fsockopen(): unable to connect to localhost:5038 (Connection refused)

I’m at a loss as to whats going on i can get in the GUI but i cant reload it:

[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

Also when i run asterisk -r:

[root@localhost ~]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

yes the ctl file exists and the permission is asterisk

Hope someone can help?

thanks

What was the FreePBX Distro version your system had before the migration?
Was it FreePBX Distro 4.211.64-10 (the latest available of Track 4) or, at worst, the FreePBX Distro 4.211.64-9?
Did you then performed the migration to FreePBX Distro 5.211.65-1 using the Upgrade Script found here (the one named “upgrade-4.211.64-to-5.211.65-1.sh”)?
That Upgrade Script checks your running FreePBX Distro and performs all necessary steps to migrate the FreePBX Distro from Track 4 to Track 5 (not the latest on the Track 5, just the very first release FreePBX Distro 5.211.65-1).

Hi, it was on 4.211.64-9

i updated to 4.211.64-10

this went fine calls worked etc.

then used upgrade-4.211.64-to-5.211.65-1.sh

this is what broke the PBX. i have tried upgrade-4.211.64-to-5.211.65-2.sh hoping it may correct something but this made no effect.

The upgrade script “upgrade-4.211.64-to-5.211.65-2.sh” doesn’t exist at all, AFAIK…so I don’t understand what you tried to do after the first (migration) try.

Are you able to provide the actual status of the upgrade? check the created 5.211.65-1 log file under:

**/var/log/pbx/upgrade**

directory.

There you will find all the upgrade generated logs (various 4.211.64-x, for sure 4.211.64-9 and 4.211.64-10 and probably the 5.211.65-1).

Sorry a copy and paste typo there. ment to read: upgrade-5.211.65-2.sh

here is the 5.211.65-1 file.

Thu Jul 24 11:05:24 BST 2014 Check to make sure this is a FreePBX Distro system before executing
Thu Jul 24 11:05:24 BST 2014 This appears to be a FreePBX Distro system as it has a Distro Version of 4.211.64-10
Thu Jul 24 11:05:24 BST 2014 Make sure this is version 4.211.64-9 or greater before executing
Thu Jul 24 11:05:24 BST 2014 This appears to be FreePBX Distro version 4.211.64.10 so we can now upgrade you to the 5.211.65 track as version 5.211.65-1
VARIABLES SET FOR UPGRADE
asterisk=Asterisk 11.7.0 built by root @ jenkins-el6-64.schmoozecom.net on a x86_64 running Linux on 2013-12-18 22:17:47 UTC
Privilege escalation protection disabled!
See Home - Asterisk Documentation for more details.
kernel=Linux localhost.localdomain 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 23:51:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
version=4.211.64.10
brand=FreePBXDistro
host=localhost.localdomain
upgradeversion=5.211.65-1
virtual=

Thu Jul 24 11:05:24 BST 2014 Your FreePBX Distro System is being upgraded to 5.211.65-1. Please standby…

Thu Jul 24 11:05:24 BST 2014 STAGE 1 STARTING - GUI Modules
Thu Jul 24 11:05:24 BST 2014 Upgrade All FreePBX GUI Modules
Thu Jul 24 11:05:37 BST 2014 STAGE 1 COMPLETED - GUI Modules - Moving to Stage 2

Thu Jul 24 11:05:37 BST 2014 STAGE 2 STARTING - RPM’s
Thu Jul 24 11:05:37 BST 2014 Replace repos with only FreePBX Distro since some people have added other repos which can break updates
Thu Jul 24 11:05:39 BST 2014 Cleanup old Kernels to make space in boot
Thu Jul 24 11:06:17 BST 2014 Updating all remaining RPMS now to Centos 6.5
Thu Jul 24 11:38:32 BST 2014 STAGE 2 COMPLETED - Misc Items - Moving to Stage 4

Thu Jul 24 11:38:32 BST 2014 STAGE 3 STARTING - Misc Items
Thu Jul 24 11:38:32 BST 2014 STAGE 3 COMPLETED - Misc Items - Moving to Stage 4

Thu Jul 24 11:38:32 BST 2014 STAGE 4 STARTING - Clean Up
Thu Jul 24 11:38:32 BST 2014 updatedb for locate command
Thu Jul 24 11:38:34 BST 2014 Restart incron to be safe
Thu Jul 24 11:38:34 BST 2014 STAGE 4 COMPLETED - Clean Up - Moving to Stage 5

Thu Jul 24 11:38:34 BST 2014 STAGE 5 STARTING - Final Verifications
Thu Jul 24 11:38:34 BST 2014 STAGE 5 COMPLETED - Final Verifications - Moving to Stage 6

Thu Jul 24 11:38:34 BST 2014 UPGRADE 100% COMPLETED
Thu Jul 24 11:38:34 BST 2014 REBOOT YOUR BOX NOW FOR NEW KERNEL, DAHDI AND ASTERISK

Also this is on the end o the asterisk Full log:

[2014-07-24 14:46:17] ERROR[19292] pbx_dundi.c: Unable to load config dundi.conf
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘BLACKLIST’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_blacklist.so => (Look up Caller*ID name/number from blacklist database)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘AST_CONFIG’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_config.so => (Asterisk configuration file variable access)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘CELGenUserEvent’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_celgenuserevent.so => (Generate an User-Defined CEL event)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘SayUnixTime’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘DateTime’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_sayunixtime.so => (Say time)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘MixMonitor’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘StopMixMonitor’
[2014-07-24 14:46:17] VERBOSE[19292] manager.c: == Manager registered action MixMonitorMute
[2014-07-24 14:46:17] VERBOSE[19292] manager.c: == Manager registered action MixMonitor
[2014-07-24 14:46:17] VERBOSE[19292] manager.c: == Manager registered action StopMixMonitor
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_mixmonitor.so => (Mixed Audio Monitoring Application)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘ChanIsAvail’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_chanisavail.so => (Check channel availability)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘ENV’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘STAT’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘FILE’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘FILE_COUNT_LINE’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘FILE_FORMAT’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_env.so => (Environment/filesystem dialplan functions)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘ControlPlayback’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_controlplayback.so => (Control Playback Application)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘GLOBAL’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘SHARED’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_global.so => (Variable dialplan functions)
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: pbx_realtime.so => (Realtime Switch)
[2014-07-24 14:46:17] VERBOSE[19292] bridging.c: == Registered bridge technology multiplexed_bridge
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: bridge_multiplexed.so => (Multiplexed two channel bridging module)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘While’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘EndWhile’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘ExitWhile’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘ContinueWhile’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_while.so => (While Loops and Conditional Execution)
[2014-07-24 14:46:17] VERBOSE[19292] bridging.c: == Registered bridge technology simple_bridge
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: bridge_simple.so => (Simple two channel bridging module)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘Morsecode’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_morsecode.so => (Morse code)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘DISA’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_disa.so => (DISA (Direct Inward System Access) Application)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘MP3Player’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_mp3.so => (Silly MP3 Application)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘NBScat’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_nbscat.so => (Silly NBS Stream Application)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘ICONV’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_iconv.so => (Charset conversions)
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: pbx_spool.so => (Outgoing Spool Support)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘ODBC_FETCH’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘ODBCFinish’
[2014-07-24 14:46:17] NOTICE[19292] func_odbc.c: Unable to load config for func_odbc: func_odbc.conf
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘VMCOUNT’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_vmcount.so => (Indicator for whether a voice mailbox has messages in a given folder.)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘Read’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_read.so => (Read Variable Application)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘MYSQL’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_mysql.so => (Simple Mysql Interface)
[2014-07-24 14:46:17] ERROR[19292] chan_unistim.c: Unable to load config unistim.conf
[2014-07-24 14:46:17] VERBOSE[19292] res_security_log.c: – Security Logging Enabled
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: res_security_log.so => (Security Event Logging)
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: res_format_attr_h263.so => (H.263 Format Attribute Module)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered application ‘DumpChan’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: app_dumpchan.so => (Dump Info About The Calling Channel)
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘CUT’
[2014-07-24 14:46:17] VERBOSE[19292] pbx.c: == Registered custom function ‘SORT’
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: func_cut.so => (Cut out information from a string)
[2014-07-24 14:46:17] VERBOSE[19292] bridging.c: == Registered bridge technology softmix
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: bridge_softmix.so => (Multi-party software based channel mixing)
[2014-07-24 14:46:17] ERROR[19292] res_clialiases.c: res_clialiases configuration file ‘cli_aliases.conf’ not found
[2014-07-24 14:46:17] VERBOSE[19292] loader.c: res_clialiases.so => (CLI Aliases)
[2014-07-24 14:46:17] NOTICE[19292] chan_ooh323.c: Unable to load config ooh323.conf, OOH323 disabled
[2014-07-24 14:46:17] ERROR[19292] chan_ooh323.c: Can’t load ooh323 config file, OOH323 Disabled

it just keeps ;looping this over and over when i tail -f it

What’s the result of (CLI) command:

amportal a ma listonline|grep upgrade

or

amportal a ma showupgrades

But I’m not sure FreePBX Modules are in the picture…if Asterisk is not running (or can’t run).

1 Like

[root@localhost ~]# amportal a ma listonline|grep upgrade
restapi 2.11.0.17 Disabled; Pending upgrade to 2.11.1.17
restapps 2.11.2.14 Disabled; Pending upgrade to 2.11.2.30
xmpp 2.11.0.7 Disabled; Pending upgrade to 2.11.1.15

[root@localhost ~]# amportal a ma showupgrades

Fetching FreePBX settings with gen_amp_conf.php…

no repos specified, using: [standard] from last GUI settings

Up to date.
[root@localhost ~]#

on the web GUI it has error next to Asterisk. as far as i can tell asterisk cant run.

So Asterisk is stopped if you check via service asterisk status command? Try to check the mysqld deamon status too (I mean: did you perform a clean system reboot, isn’t it?).
If you force a service asterisk start (or restart), what’s about full log?

Yep a clean reboot was done after every stage of the upgrade.

[root@localhost samba]# service asterisk status
asterisk (pid 30560) is running…

[root@localhost samba]# service mysqld status
mysqld (pid 1539) is running…

the full log is over 130MB big as it’s looping over and over. so here is an extract that i think doesn’t look healthy

[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-blacklist-add’ tries to include nonexistent context ‘app-blacklist-add-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-blacklist-check’ tries to include nonexistent context ‘app-blacklist-check-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-blacklist’ tries to include nonexistent context ‘app-blacklist-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-featurecodes’ tries to include nonexistent context ‘ext-featurecodes-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-callwaiting-cwon’ tries to include nonexistent context ‘app-callwaiting-cwon-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-callwaiting-cwoff’ tries to include nonexistent context ‘app-callwaiting-cwoff-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-miscdests’ tries to include nonexistent context ‘ext-miscdests-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘sub-from-ccss’ tries to include nonexistent context ‘sub-from-ccss-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘from-ccss-extension’ tries to include nonexistent context ‘from-ccss-extension-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘from-ccss-internal’ tries to include nonexistent context ‘from-ccss-internal-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-ccss-default’ tries to include nonexistent context ‘macro-ccss-default-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘sub-ccss’ tries to include nonexistent context ‘sub-ccss-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-campon-toggle’ tries to include nonexistent context ‘app-campon-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-campon-request’ tries to include nonexistent context ‘app-campon-request-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-campon-cancel’ tries to include nonexistent context ‘app-campon-cancel-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘sub-rgsetcid’ tries to include nonexistent context ‘sub-rgsetcid-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-group’ tries to include nonexistent context ‘ext-group-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-orig-proxy’ tries to include nonexistent context ‘c-x-operator-panel-orig-proxy-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-spy’ tries to include nonexistent context ‘c-x-operator-panel-spy-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-listen-to-voice-mail’ tries to include nonexistent context ‘c-x-operator-panel-listen-to-voice-mail-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-park-announce-answer’ tries to include nonexistent context ‘c-x-operator-panel-park-announce-answer-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-park’ tries to include nonexistent context ‘c-x-operator-panel-park-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-meetme’ tries to include nonexistent context ‘c-x-operator-panel-meetme-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-voice-mail’ tries to include nonexistent context ‘c-x-operator-panel-voice-mail-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘c-x-operator-panel-hold’ tries to include nonexistent context ‘c-x-operator-panel-hold-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-findmefollow’ tries to include nonexistent context ‘ext-findmefollow-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-fmf-toggle’ tries to include nonexistent context ‘app-fmf-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-vmmain’ tries to include nonexistent context ‘app-vmmain-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘from-did-direct-ivr’ tries to include nonexistent context ‘from-did-direct-ivr-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-local’ tries to include nonexistent context ‘ext-local-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-dialvm’ tries to include nonexistent context ‘app-dialvm-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘cidlookup’ tries to include nonexistent context ‘cidlookup-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-outisbusy’ tries to include nonexistent context ‘macro-outisbusy-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘park-hints’ tries to include nonexistent context ‘park-hints-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘park-return-routing’ tries to include nonexistent context ‘park-return-routing-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘park-orphan-routing’ tries to include nonexistent context ‘park-orphan-routing-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘park-dial’ tries to include nonexistent context ‘park-dial-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘parkedcallstimeout’ tries to include nonexistent context ‘parkedcallstimeout-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-parked-call’ tries to include nonexistent context ‘macro-parked-call-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-dictate-send’ tries to include nonexistent context ‘app-dictate-send-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-dictate-record’ tries to include nonexistent context ‘app-dictate-record-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-cf-hints’ tries to include nonexistent context ‘ext-cf-hints-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-toggle’ tries to include nonexistent context ‘app-cf-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-unavailable-prompt-on’ tries to include nonexistent context ‘app-cf-unavailable-prompt-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-unavailable-on’ tries to include nonexistent context ‘app-cf-unavailable-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-unavailable-off’ tries to include nonexistent context ‘app-cf-unavailable-off-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-prompting-on’ tries to include nonexistent context ‘app-cf-prompting-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-on’ tries to include nonexistent context ‘app-cf-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-off-any’ tries to include nonexistent context ‘app-cf-off-any-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-off’ tries to include nonexistent context ‘app-cf-off-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-busy-prompting-on’ tries to include nonexistent context ‘app-cf-busy-prompting-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-busy-on’ tries to include nonexistent context ‘app-cf-busy-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-busy-off-any’ tries to include nonexistent context ‘app-cf-busy-off-any-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-cf-busy-off’ tries to include nonexistent context ‘app-cf-busy-off-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-systemrecording’ tries to include nonexistent context ‘macro-systemrecording-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-recordings’ tries to include nonexistent context ‘app-recordings-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-agent-del’ tries to include nonexistent context ‘macro-agent-del-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-agent-add’ tries to include nonexistent context ‘macro-agent-add-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘from-queue-exten-only’ tries to include nonexistent context ‘from-queue-exten-only-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘from-queue-exten-internal’ tries to include nonexistent context ‘from-queue-exten-internal-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-queue-caller-count’ tries to include nonexistent context ‘app-queue-caller-count-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘from-queue’ tries to include nonexistent context ‘from-queue-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-queues’ tries to include nonexistent context ‘ext-queues-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-all-queue-pause-toggle’ tries to include nonexistent context ‘app-all-queue-pause-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-queue-pause-toggle’ tries to include nonexistent context ‘app-queue-pause-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-toggle-add-agent’ tries to include nonexistent context ‘macro-toggle-add-agent-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-toggle-del-agent’ tries to include nonexistent context ‘macro-toggle-del-agent-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-all-queue-toggle’ tries to include nonexistent context ‘app-all-queue-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-queue-toggle’ tries to include nonexistent context ‘app-queue-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-hotelwakeup’ tries to include nonexistent context ‘app-hotelwakeup-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-speeddial-set’ tries to include nonexistent context ‘app-speeddial-set-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-speeddial’ tries to include nonexistent context ‘app-speeddial-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-speeddial-lookup’ tries to include nonexistent context ‘macro-speeddial-lookup-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-dnd-hints’ tries to include nonexistent context ‘ext-dnd-hints-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-dnd-toggle’ tries to include nonexistent context ‘app-dnd-toggle-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-dnd-on’ tries to include nonexistent context ‘app-dnd-on-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-dnd-off’ tries to include nonexistent context ‘app-dnd-off-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘sub-hr24format’ tries to include nonexistent context ‘sub-hr24format-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-speakingclock’ tries to include nonexistent context ‘app-speakingclock-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘sub-hr12format’ tries to include nonexistent context ‘sub-hr12format-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-speakextennum’ tries to include nonexistent context ‘app-speakextennum-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-echo-test’ tries to include nonexistent context ‘app-echo-test-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-calltrace-perform’ tries to include nonexistent context ‘app-calltrace-perform-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-calltrace’ tries to include nonexistent context ‘app-calltrace-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘app-paging’ tries to include nonexistent context ‘app-paging-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘macro-autoanswer’ tries to include nonexistent context ‘macro-autoanswer-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-intercom-users’ tries to include nonexistent context ‘ext-intercom-users-custom’
[2014-07-24 15:12:37] WARNING[4077] pbx.c: Context ‘ext-intercom’ tries to include nonexistent context ‘ext-intercom-custom’
[2014-07-24 15:12:37] VERBOSE[4077] loader.c: pbx_config.so => (Text Extension Configuration)
[2014-07-24 15:12:37] ERROR[4077] config_options.c: Unable to load config file ‘acl.conf’

What’s about executing /var/lib/asterisk/bin/retrieve_conf first as root user and the as asterisk user (with su - asterisk /var/lib/asterisk/bin/retrieve_conf)? Maybe there is an issue with password.

As root performing an amportal a r what gives you? did you forced an amportal chown command?

[root@localhost asterisk]# /var/lib/asterisk/bin/retrieve_conf
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
[root@localhost asterisk]# su - asterisk /var/lib/asterisk/bin/retrieve_conf
/var/lib/asterisk/bin/retrieve_conf: line 2: ?php: No such file or directory
/var/lib/asterisk/bin/retrieve_conf: line 4: //include: No such file or directory
/var/lib/asterisk/bin/retrieve_conf: line 5: [freepbx_auth]: command not found
/var/lib/asterisk/bin/retrieve_conf: line 6: syntax error near unexpected token getenv' /var/lib/asterisk/bin/retrieve_conf: line 6:if (!@include_once(getenv(‘FREEPBX_CONF’) ? getenv(‘FREEPBX_CONF’) : ‘/etc/freepbx.conf’)) {’
[root@localhost asterisk]# amportal a r

Fetching FreePBX settings with gen_amp_conf.php…

Error(s) have occured, the following is the retrieve_conf output:
exit: 1
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

In the php file it tries to include:

/etc/asterisk/freepbx.conf

however this file does not exist?

OK, sorry the right one is the /var/lib/asterisk/bin/retrieve_conf issued by root…

Yep that’s what i ran.

In my system it doesn’t exist. Try an amportal chown. Yes, the /var/lib/asterisk/bin/retrieve_conf issued by another user (asterisk) gives me exactly the same errors like you…so I think it’s not a relevant test (the su - asterisk one I mean).

I’ve just done the chown command and it’s made no difference. :frowning:

Content of /etc/hosts file? Is SELINUX disabled (I think it is if we’re working on a FreePBX Distro)? Are you 100% sure that your credentials match (AMPMGR of /etc/amportal.conf with secret of /etc/asterisk/manager.conf)?

The issue is Asterisk 11.11 has a bug where Asterisk fails to start if their is no ooh323.conf file. We have reported the bug to Digium and supplied a patch. We will have new RPMs shortly.

For the time being doing a

touch /etc/asterisk/ooh323.conf

then restart asterisk will fix your issue.

Hi,

/etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain

Yep the secrets match

[root@localhost asterisk]# sestatus
SELinux status: disabled

Tony,

I have ran: touch /etc/asterisk/ooh323.conf

Yet the results are the same asterisk wont start. it is start stopping start stopping.

[2014-07-25 11:19:25] WARNING[32239]: res_calendar.c:497 load_tech_calendars: Calendar support disabled, not loading exchange calendar module
[2014-07-25 11:19:25] WARNING[32239]: res_calendar.c:497 load_tech_calendars: Calendar support disabled, not loading ical calendar module
[2014-07-25 11:19:25] WARNING[32239]: cdr_manager.c:79 load_config: Failed to load configuration file. Module not activated.
[2014-07-25 11:19:25] WARNING[32239]: cdr_adaptive_odbc.c:103 load_config: Unable to load cdr_adaptive_odbc.conf. No adaptive ODBC CDRs.
[2014-07-25 11:19:25] ERROR[32239]: cel_custom.c:90 load_config: Unable to load cel_custom.conf. Not logging CEL to custom CSVs.
[2014-07-25 11:19:25] WARNING[32239]: cdr_odbc.c:178 odbc_load_module: cdr_odbc: Unable to load config for ODBC CDR’s: cdr_odbc.conf
[2014-07-25 11:19:25] ERROR[32239]: cdr_syslog.c:134 load_config: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2014-07-25 11:19:25] ERROR[32239]: cdr_custom.c:90 load_config: Unable to load cdr_custom.conf. Not logging custom CSV CDRs.
[2014-07-25 11:19:25] WARNING[32239]: app_followme.c:397 reload_followme: No follow me config file (followme.conf), so no follow me
[2014-07-25 11:19:25] ERROR[32239]: pbx_dundi.c:4820 set_config: Unable to load config dundi.conf
[2014-07-25 11:19:25] NOTICE[32239]: func_odbc.c:1478 load_module: Unable to load config for func_odbc: func_odbc.conf
[2014-07-25 11:19:25] ERROR[32239]: chan_unistim.c:6598 reload_config: Unable to load config unistim.conf
[2014-07-25 11:19:25] ERROR[32239]: res_clialiases.c:193 load_config: res_clialiases configuration file ‘cli_aliases.conf’ not found
[2014-07-25 11:19:25] NOTICE[32239]: chan_ooh323.c:3098 reload_config: Failed to determine local ip address. Please specify it in ooh323.conf. OOH323 Disabled
[2014-07-25 11:19:25] ERROR[32239]: chan_ooh323.c:3901 load_module: Can’t load ooh323 config file, OOH323 Disabled