Aldo Bergamini
2014-Feb-12 21:44 UTC
[asterisk-users] Asterisk Not Starting after YUM Update
Hi List, it feels silly, but here I am. My Asterisk box is useless, after running a long delayed yum update (Centos box). ***** A few details on the box: cat /etc/redhat-release CentOS release 5.10 (Final) arch i686 uname -a Linux hermes 2.6.18-371.4.1.el5 #1 SMP Thu Jan 30 06:09:24 EST 2014 i686 athlon i386 GNU/Linux asterisk -r Asterisk 1.6.2.20, Copyright (C) 1999 - 2010 Digium, Inc. and others. ***** Starting Asterisk very verbosely seems to load the dialplan, but at some point I get a segmentation fault. This is new to me! [?] edited [?] chan_agent.so => (Agent Proxy Channel) == Registered custom function 'EXTENSION_STATE' func_extstate.so => (Gets an extension's state in the dialplan) == Registered application 'DAHDIBarge' app_dahdibarge.so => (Barge in on DAHDI channel application) == Registered custom function 'CALLERPRES' == Registered custom function 'CALLERID' func_callerid.so => (Caller ID related dialplan functions) [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:760 load_module: G.729A transcoding module version 1.6.0_3.1.4, Copyright (C) 1999-2009 Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:761 load_module: This module is supplied under a commercial license granted by Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:762 load_module: Please see the full license text supplied by the accompanying [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:763 load_module: "register" utility, or ask for a copy from Digium. Segmentation fault **** The problem seems to come after the callerid module loads: does this make sense? BTW: I do have a G729 pack of licenses (they were actually active without any problem before messing with the update).. What should the clever sysadmin do? Thanks in advance, Aldo
Tzafrir Cohen
2014-Feb-12 22:22 UTC
[asterisk-users] Asterisk Not Starting after YUM Update
On Wed, Feb 12, 2014 at 10:44:42PM +0100, Aldo Bergamini wrote:> Hi List, > > it feels silly, but here I am. > > My Asterisk box is useless, after running a long delayed yum update (Centos box).[snip]> > Starting Asterisk very verbosely seems to load the dialplan, but at some point I get a segmentation fault. This is new to me! > > [?] edited [?] > chan_agent.so => (Agent Proxy Channel) > == Registered custom function 'EXTENSION_STATE' > func_extstate.so => (Gets an extension's state in the dialplan) > == Registered application 'DAHDIBarge' > app_dahdibarge.so => (Barge in on DAHDI channel application) > == Registered custom function 'CALLERPRES' > == Registered custom function 'CALLERID' > func_callerid.so => (Caller ID related dialplan functions) > [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:760 load_module: G.729A transcoding module version 1.6.0_3.1.4, Copyright (C) 1999-2009 Digium, Inc. > [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:761 load_module: This module is supplied under a commercial license granted by Digium, Inc. > [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:762 load_module: Please see the full license text supplied by the accompanying > [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:763 load_module: "register" utility, or ask for a copy from Digium. > Segmentation fault > > **** > > The problem seems to come after the callerid module loads: does this make sense? > > BTW: I do have a G729 pack of licenses (they were actually active without any problem before messing with the update).. > > What should the clever sysadmin do? > > Thanks in advance, > AldoTry: # standard asterisk command-line. No verbosity strace -eopen asterisk -U asterisk -c See which module was the one last loaded. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com
On Wednesday 12 Feb 2014, Aldo Bergamini wrote:> Hi List, > > it feels silly, but here I am. > > My Asterisk box is useless, after running a long delayed yum update (Centos > box).If you got a new kernel as part of the upgrade, you will need to rebuild at least DAHDI and maybe Asterisk. Just cd to the folder with your DAHDI source code and # make install The `make` command does the magic for you, and only rebuilds what needs rebuilding. All should be fine after a reboot. If not, run the same command in your Asterisk source folder and reboot again. -- AJS Answers come *after* questions.