[Asterisk-Users] Error when starting Asterisk (Loading module chan_capi.so failed!)

Mateo Meier ich at mateo.ch
Wed Oct 27 05:41:29 MST 2004


Hey Guys

 

Why I try to start Asterisk on my debain box with "asterisk -vvvvc" I'll get
the following error: 

 

 

[res_musiconhold.so] => (Music On Hold Resource)

  == Parsing '/etc/asterisk/musiconhold.conf': Found

  == Registered application 'MusicOnHold'

  == Registered application 'WaitMusicOnHold'

  == Registered application 'SetMusicOnHold'

 [res_parking.so] => (Call Parking Resource)

  == Parsing '/etc/asterisk/parking.conf': Found

    -- Registered extension context 'parkedcalls'

    -- Added extension '701' priority 1 to parkedcalls

    -- Added extension '702' priority 1 to parkedcalls

    -- Added extension '703' priority 1 to parkedcalls

    -- Added extension '704' priority 1 to parkedcalls

    -- Added extension '705' priority 1 to parkedcalls

    -- Added extension '706' priority 1 to parkedcalls

    -- Added extension '707' priority 1 to parkedcalls

    -- Added extension '708' priority 1 to parkedcalls

    -- Added extension '709' priority 1 to parkedcalls

    -- Added extension '710' priority 1 to parkedcalls

    -- Added extension '711' priority 1 to parkedcalls

    -- Added extension '712' priority 1 to parkedcalls

    -- Added extension '713' priority 1 to parkedcalls

    -- Added extension '714' priority 1 to parkedcalls

    -- Added extension '715' priority 1 to parkedcalls

    -- Added extension '716' priority 1 to parkedcalls

    -- Added extension '717' priority 1 to parkedcalls

    -- Added extension '718' priority 1 to parkedcalls

    -- Added extension '719' priority 1 to parkedcalls

    -- Added extension '720' priority 1 to parkedcalls

  == Registered application 'ParkedCall'

  == Manager registered action ParkedCalls

 [chan_capi.so] => (Common ISDN API for Asterisk)

  == Parsing '/etc/asterisk/capi.conf': Found

Oct 27 14:29:21 NOTICE[1024]: chan_capi.c:2626 load_module: CAPI not
installed!

Oct 27 14:29:21 WARNING[1024]: loader.c:313 ast_load_resource: chan_capi.so:
load_module failed, returning -1

Oct 27 14:29:21 WARNING[1024]: chan_capi.c:2801 unload_module: Unable to
unregister from CAPI!

  == Unregistered channel type 'CAPI'

Oct 27 14:29:21 WARNING[1024]: loader.c:359 load_modules: Loading module
chan_capi.so failed!

 

 

I do understand that theres a problem with chan_capi.so.

 

But I can locate chan_capi.so without any problems..

 

asterisk:/etc/asterisk# locate  chan_capi.so

/usr/lib/asterisk/modules/chan_capi.so

 

 

Sorry for asking all this..

Thank u very much for the help

 

Matt

 

 

P.S: The wirred thing is, it seems to me that chan_capi.so is loaded file
(more /var/log/messages | grep capi)

 

Oct 27 00:35:35 asterisk kernel: kcapi: driver fcpci attached

Oct 27 00:35:35 asterisk kernel: kcapi: driver fcpci detached

Oct 27 00:55:47 asterisk kernel: kcapi: capidrv attached

Oct 27 00:55:47 asterisk kernel: kcapi: appl 1 up

Oct 27 00:55:47 asterisk kernel: capidrv: Rev 1.1.4.1: loaded

Oct 27 00:55:47 asterisk kernel: capifs: Rev 1.1.4.1

Oct 27 00:55:48 asterisk kernel: capi20: started up with major 68

Oct 27 00:55:48 asterisk kernel: kcapi: capi20 attached

Oct 27 00:55:48 asterisk kernel: capi20: Rev 1.1.4.2: started up with major
68 (middleware+capifs)

Oct 27 00:55:48 asterisk kernel: kcapi: driver fcpci attached

Oct 27 00:55:48 asterisk kernel:
[isdn:__insmod_isdn_S.bss_L2336+1282055/220495493]
[isdn:__insmod_isdn_S.bss_L2336+1282036/220495512]
[isdn:__insmod_isdn_S.bss_L2336+1314040/220463508]
[capifs:__insmod_capifs_O/lib/modules/2.4.21-i586-cdv/kernel/driver+-958112/
96] [isdn:__insmod_isdn_S.bss_L2336+1313920/220463628]
[capifs:__insmod_capifs_O/lib/modules/2.4.21-i586-cdv/kernel/driver+-958142/
96]

Oct 27 03:18:57 asterisk kernel: kcapi: capi20 detached

Oct 27 03:18:57 asterisk kernel: capi: Rev 1.1.4.2: unloaded

Oct 27 03:18:58 asterisk kernel: kcapi: appl 1 down

Oct 27 03:18:58 asterisk kernel: kcapi: capidrv detached

Oct 27 03:18:58 asterisk kernel: capidrv: Rev 1.1.4.1 : unloaded

Oct 27 13:42:59 asterisk kernel: kcapi: capidrv attached

Oct 27 13:42:59 asterisk kernel: kcapi: appl 1 up

Oct 27 13:42:59 asterisk kernel: capidrv: Rev 1.1.4.1: loaded

Oct 27 13:42:59 asterisk kernel: capifs: Rev 1.1.4.1

Oct 27 13:42:59 asterisk kernel: capi20: started up with major 68

Oct 27 13:42:59 asterisk kernel: kcapi: capi20 attached

Oct 27 13:42:59 asterisk kernel: capi20: Rev 1.1.4.2: started up with major
68 (middleware+capifs)

Oct 27 13:42:59 asterisk kernel: kcapi: driver fcpci attached

Oct 27 13:42:59 asterisk kernel:
[isdn:__insmod_isdn_S.bss_L2336+1265671/220502045]
[isdn:__insmod_isdn_S.bss_L2336+1265652/220502064]
[isdn:__insmod_isdn_S.bss_L2336+1297656/220470060]
[capi:__insmod_capi_O/lib/modules/2.4.21-i586-cdv/kernel/drivers/+-949920/96
] [isdn:__insmod_isdn_S.bss_L2336+1297536/220470180]
[capi:__insmod_capi_O/lib/modules/2.4.21-i586-cdv/kernel/drivers/+-949950/96
]

asterisk:/etc/asterisk#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041027/38b2ec87/attachment.htm


More information about the asterisk-users mailing list