[Asterisk-Users] Asterisk Won't start after SVN Trunk Update

Joshua Colp jcolp at digium.com
Thu Apr 20 13:25:41 MST 2006


Fred Noris wrote:
> Hi:
> 
> I deleted old modules in /usr/lib/asterisk/modules
> before make install.  I built zaptel and libpri before
> asterisk.  Modprobe zaptel and modprobe -v wctdm
> executed witiout complaint.  Starting asterisk
> produced the output below with several warnings and a
> failure.  Can someone help, please.  I double-spaced
> the warnings in the text below.   The first warning is
> about music on hold because it gets depricated because
> I turned off chan modem loading.  When it loads it
> fails to find a common object as well.  It seems like
> I'm missing one or more module that may have remained
> from an older build, but I'm not sure what I haven't
> deleted from the earlier builds.  It is probably
> obvious to a few of you.  Thanks very much in advance
> for your help.
> _________________________________________________
> 
> ScottSuSE:/usr/src/asterisk # asterisk -vvvvvvvvvgc
>   == Parsing '/etc/asterisk/asterisk.conf': Found
>   == Parsing '/etc/asterisk/extconfig.conf': Found
> Asterisk SVN-trunk-r21707, Copyright (C) 1999 - 2006
> Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show
> warranty' for details.
> This is free software, with components licensed under
> the GNU General Public
> License version 2 and other licenses; you are welcome
> to redistribute it under
> certain conditions. Type 'show license' for details.
> =========================================================================
>   == Parsing '/etc/asterisk/logger.conf': Found
> Asterisk Event Logger Started
> /var/log/asterisk/event_log
> Asterisk Dynamic Loader loading preload modules:
>   == Parsing '/etc/asterisk/modules.conf': Found
>   == Manager registered action Ping
>   == Manager registered action Events
>   == Manager registered action Logoff
>   == Manager registered action Hangup
>   == Manager registered action Status
>   == Manager registered action Setvar
>   == Manager registered action Getvar
>   == Manager registered action Redirect
>   == Manager registered action Originate
>   == Manager registered action Command
>   == Manager registered action ExtensionState
>   == Manager registered action AbsoluteTimeout
>   == Manager registered action MailboxStatus
>   == Manager registered action MailboxCount
>   == Manager registered action ListCommands
>   == Manager registered action WaitEvent
>   == Parsing '/etc/asterisk/manager.conf': Found
> Apr 20 08:27:58 NOTICE[13559]: cdr.c:1116 do_reload:
> CDR simple logging enabled.
>   == Parsing '/etc/asterisk/rtp.conf': Found
>   == RTP Allocating from port range 10000 -> 20000
>   == UDPTL allocating from port range 4500 -> 4999
> Asterisk PBX Core Initializing
> Registering builtin applications:
>  [Answer]
>   == Registered application 'Answer'
>  [BackGround]
>   == Registered application 'BackGround'
>  [Busy]
>   == Registered application 'Busy'
>  [Congestion]
>   == Registered application 'Congestion'
>  [Goto]
>   == Registered application 'Goto'
>  [GotoIf]
>   == Registered application 'GotoIf'
>  [GotoIfTime]
>   == Registered application 'GotoIfTime'
>  [ExecIfTime]
>   == Registered application 'ExecIfTime'
>  [Hangup]
>   == Registered application 'Hangup'
>  [NoOp]
>   == Registered application 'NoOp'
>  [Progress]
>   == Registered application 'Progress'
>  [ResetCDR]
>   == Registered application 'ResetCDR'
>  [Ringing]
>   == Registered application 'Ringing'
>  [SayNumber]
>   == Registered application 'SayNumber'
>  [SayDigits]
>   == Registered application 'SayDigits'
>  [SayAlpha]
>   == Registered application 'SayAlpha'
>  [SayPhonetic]
>   == Registered application 'SayPhonetic'
>  [SetAMAFlags]
>   == Registered application 'SetAMAFlags'
>  [SetGlobalVar]
>   == Registered application 'SetGlobalVar'
>  [Set]
>   == Registered application 'Set'
>  [ImportVar]
>   == Registered application 'ImportVar'
>  [Wait]
>   == Registered application 'Wait'
>  [WaitExten]
>   == Registered application 'WaitExten'
> Asterisk Dynamic Loader Starting:
>   == Parsing '/etc/asterisk/modules.conf': Found
>  [res_musiconhold.so]Apr 20 08:27:58 WARNING[13559]:
> loader.c:726 __load_resource: new style
> res_musiconhold.so (0x30) loaded RTLD_LOCAL
>  => (Music On Hold Resource)
>   == Registered application 'MusicOnHold'
>   == Registered application 'WaitMusicOnHold'
>   == Registered application 'SetMusicOnHold'
>   == Registered application 'StartMusicOnHold'
>   == Registered application 'StopMusicOnHold'
>   == Parsing '/etc/asterisk/musiconhold.conf': Found
> 
> Apr 20 08:27:58 WARNING[13559]: res_musiconhold.c:1007
> load_moh_classes: The old musiconhold.conf syntax has
> been deprecated!  Please refer to the sample
> configuration for information on the new syntax.
>  [res_indications.so]Apr 20 08:27:58 WARNING[13559]:
> loader.c:726 __load_resource: new style
> res_indications.so (0x10) loaded RTLD_LOCAL
>  => (Indications Configuration)
>   == Parsing '/etc/asterisk/indications.conf': Found
>     -- Registered indication country 'cl'
>     -- Registered indication country 'tw'
>     -- Registered indication country 'us'
>     -- Registered indication country 'au'
>     -- Registered indication country 'fr'
>     -- Registered indication country 'de'
>     -- Registered indication country 'nl'
>     -- Registered indication country 'uk'
>     -- Registered indication country 'fi'
>     -- Registered indication country 'no'
>     -- Registered indication country 'br'
>     -- Registered indication country 'za'
>     -- Registered indication country 'it'
>     -- Registered indication country 'us-o'
>     -- Registered indication country 'gr'
>     -- Registered indication country 'ru'
>     -- Registered indication country 'nz'
>     -- Registered indication country 'sg'
>     -- Registered indication country 'hu'
>     -- Registered indication country 'lt'
>     -- Registered indication country 'pl'
>     -- Registered indication country 'pt'
>     -- Registered indication country 'ee'
>     -- Registered indication country 'mx'
>     -- Registered indication country 'se'
>     -- Setting default indication country to 'us'
>   == Registered application 'PlayTones'
>   == Registered application 'StopPlayTones'
> 
>  [res_smdi.so]Apr 20 08:27:58 WARNING[13559]:
> loader.c:726 __load_resource: new style res_smdi.so
> (0x0) loaded RTLD_LOCAL
>  => (Asterisk Simplified Message Desk Interface (SMDI)
> Module)
> 
> Apr 20 08:27:58 NOTICE[13559]: res_smdi.c:539
> smdi_load: Unable to load config smdi.conf: SMDI
> disabled
> 
> Apr 20 08:27:58 WARNING[13559]: res_smdi.c:728
> load_module: No SMDI interfaces are available to
> listen on, not starting SDMI listener.
> 
>  [res_snmp.so]Apr 20 08:27:58 WARNING[13559]:
> loader.c:726 __load_resource: new style res_snmp.so
> (0x0) loaded RTLD_LOCAL
> 
> Apr 20 08:27:58 WARNING[13559]: loader.c:744
> __load_resource: Key routine returned NULL in module
> /usr/lib/asterisk/modules/res_snmp.so
> 
> Apr 20 08:27:58 WARNING[13559]: loader.c:753
> __load_resource: 5 errors loading module
> /usr/lib/asterisk/modules/res_snmp.so, aborted
> 
> Apr 20 08:27:58 WARNING[13559]: loader.c:850
> print_and_load: Loading module res_snmp.so failed!
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

You need to clean out your modules directory. There's old ones leftover 
that are being loaded and it's freaking out. I believe it even 
specifically states when you do a make install about this.

-- 
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com



More information about the asterisk-users mailing list