[asterisk-users] Asterisk hangs while starting in OpenSuse 12.2

Gopalakrishnan N gopalakrishnan.an at gmail.com
Tue Aug 14 01:29:32 CDT 2012


If I change autoload=no then asterisk is starting, but post to that loading
modules even chan_sip.so asterisk hangs. Its strange, only in OpenSuse I am
facing this. In CentOS, Ubuntu its working fine, same Asterisk version with
same hardware.

Regards.


On Tue, Aug 14, 2012 at 11:05 AM, Steve Edwards
<asterisk.org at sedwards.com>wrote:

> On Tue, 14 Aug 2012, Gopalakrishnan N wrote:
>
>  while executing asterisk -vvvvc from the root prompt, its stuck as below
>> and the CPU usage is fully utilized,
>>
>
> [snip]
>
>
>    == Parsing '/etc/asterisk/modules.conf':   == Found
>> [Aug 14 10:48:36] NOTICE[3805]: loader.c:1133 load_modules: 184 modules
>> will be loaded.
>>
>
> I'm just a 1.2 Luddite, but I'll take a stab...
>
> I'm guessing you're autoloading everything. (My personal preference is to
> turn autoloading off and explicitly load just what I need.)
>
> Mung a directory listing of your modules so each module name is prefixed
> with 'noload'
>
> Paste this into you modules.conf.
>
> Comment out the first half of the 'noloads.' If Asterisk still hangs, the
> problem is somewhere in the second half. If not, un-comment the ones you
> just commented and comment out the second half.
>
> Continue this process (bi-section search) until you identify the errant
> module.
>
> You'll have to fiddle a bit as you discover module inter-dependencies.
>
> You could probably make some educated guesses and start with modules that
> touch hardware like dahdi or any timing cruft, but the above process will
> work -- even after a couple of beers.
>
> --
> Thanks in advance,
> ------------------------------**------------------------------**
> -------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120814/9ae0d2ed/attachment.htm>


More information about the asterisk-users mailing list