Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Franco on July 02, 2008, 03:19:06 PM

Title: Removed PCI card, asterisk won't run
Post by: Franco on July 02, 2008, 03:19:06 PM
Ok, so I'm moving the card to another machine and I removed it from this server.
I reinstalled everything with hopes to get it resolved, without luck :(
Code: [Select]
[root@server3 ~]# /etc/init.d/sark stop
Notice: Configuration file is /etc/zaptel.conf             [  OK  ]
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

ERROR: Module ztdummy does not exist in /proc/modules
ERROR: Module zaptel does not exist in /proc/modules

[root@server3 ~]# /etc/init.d/sark start
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
Waiting for udev.
Starting asterisk:                                         [  OK  ]
[root@server3 ~]# asterisk -r
Asterisk 1.4.20, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core 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 'core show license' for details.
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Title: Re: Removed PCI card, asterisk won't run
Post by: SARK devs on July 02, 2008, 04:58:04 PM
Usually comes down to zaptel kernel modules...

Check uname -r and check that /lib/modules/`uname -r`/extra exists.

Best
Title: Re: Removed PCI card, asterisk won't run
Post by: Franco on July 02, 2008, 05:15:48 PM
Code: [Select]
uname -r
2.6.9-67.0.7.ELsmp

Code: [Select]
ls /lib/modules/2.6.9-67.0.7.ELsmp/extra/
oslec.ko     wcfxo.ko     wctdm24xxp.ko  wcusb.ko    xpp.ko      ztd-loc.ko
pciradio.ko  wct1xxp.ko   wctdm.ko       xpd_fxo.ko  xpp_usb.ko  ztdummy.ko
tor2.ko      wct4xxp.ko   wcte11xp.ko    xpd_fxs.ko  zaptel.ko   ztdynamic.ko
torisa.ko    wctc4xxp.ko  wcte12xp.ko    xpd_pri.ko  ztd-eth.ko  zttranscode.ko

Code: [Select]
lsmod
Module                  Size  Used by
ztdummy                 6724  0
zaptel                190724  3 ztdummy
tun                    13249  1
crc_ccitt               6209  1 zaptel
...and of course you're right, it gets hanged by zap :(

Code: [Select]
/etc/init.d/sark stop
Notice: Configuration file is /etc/zaptel.conf             [  OK  ]
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

ERROR: Module ztdummy does not exist in /proc/modules
ERROR: Module zaptel does not exist in /proc/modules



Title: Re: Removed PCI card, asterisk won't run
Post by: SARK devs on July 02, 2008, 05:19:06 PM
initialise and probe the card on the new system.

MAKE SURE YOU GO TO GLOBALS AND DO A COMMIT

Press STOP press START.

Should be good to go.

Best

S