Hi,
I am using FreePBX version 2.9.0.7 and have just upgraded Asterisk from version 1.4.24, (which was running with no issues), to the latest Asterisk version 1.8.7.1, by following instructions given here: (up to the end of the section dealing with Music on Hold).
The reason for doing so is to enable T.38 termination for the Digium Free Fax to Asterisk application, which was only introduced in version 1.6.
Although the upgrade was apparently successful, (according to YUM update), Asterisk now won’t start. I then downloded the RPM files and re-installed Version 1.8.7.1 using the instructions here:
http://www.freepbx.org/support/documentation/howtos/how-to-upgrade-asterisk
This has made no difference and I would be VERY grateful if someone might be able to help point me in the right direction to solve this problem.
The system is a CentosOS based FreePBX distro and FreePBX has been regularly updated.
The error output is as follows:
[[email protected] ~]# amportal start
SETTING FILE PERMISSIONS
Permissions OK
STARTING ASTERISK
/usr/sbin/safe_asterisk: line 145: 9737 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
/usr/sbin/safe_asterisk: line 145: 9774 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
mpg123: no process killed
Asterisk could not start!
Use ‘tail /var/log/asterisk/full’ to find out why.
The logfile referenced shows no apparent errors:
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘from-paul-custom’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-queues’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-group’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-busy-off-any’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-fax’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-callwaiting-cwon’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-vmmain’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-calltrace’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-speeddial’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-speakextennum’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-queue-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-pbdirectory’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-gabcast’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘parkedcalls’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dnd-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dnd-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dictate-send’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘grps’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dialvm’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘fmgrps’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-unavailable-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-test’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-meetme’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-off-any’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-local’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-busy-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-findmefollow’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-busy-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-zapbarge’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-callwaiting-cwoff’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-userlogonoff’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-blacklist’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-speakingclock’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-recordings’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-pickup’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-fmf-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘vmblast-grp’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-echo-test’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dnd-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-directory’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dictate-record’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘from-internal-custom’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-chanspy’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-unavailable-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-1’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-7’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-2’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-10’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-4’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-miscapps’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-fax’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘from-paul-custom’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-queues’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-group’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-busy-off-any’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-fax’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-callwaiting-cwon’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-vmmain’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-calltrace’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-speeddial’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-speakextennum’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-queue-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-pbdirectory’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-gabcast’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘parkedcalls’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dnd-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dnd-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dictate-send’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘grps’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dialvm’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘fmgrps’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-unavailable-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-test’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-meetme’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-off-any’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-local’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-busy-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘ext-findmefollow’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-busy-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-zapbarge’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-callwaiting-cwoff’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-userlogonoff’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-blacklist’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-speakingclock’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-recordings’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-pickup’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-fmf-toggle’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘vmblast-grp’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-echo-test’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dnd-on’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-directory’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-dictate-record’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘from-internal-custom’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-chanspy’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-cf-unavailable-off’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-1’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-7’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-2’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-10’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘outrt-4’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-miscapps’ in context ‘from-paul’
[Oct 19 01:53:11] VERBOSE[10352] pbx.c: – Including context ‘app-fax’ in context ‘from-paul’
When running: asterisk -vvvvvvvvgc the console output shows much the same, terminating with the following message (which is not actually logged)
Segmentation fault (core dumped)
The only thing I notice is that the precise failure occurs at a slightly different point in the loading sequence each time it is run - so it doesn’t appear connected with the contexts.
Kind regards,
Andy Woolford