Re: [asterisk-users] Problems with removing zaptel

2008-03-04 Thread Martin
You should stop asterisk first, otherwise modules are still in use
And then
/etc/init.d/zaptel stop
will remove modules.
Martin

- Original Message - 
From: Paul Hales [EMAIL PROTECTED]
Sent: 28. Ășnora 2008 19:35
Subject: Re: [asterisk-users] Problems with removing zaptel

 /etc/modprobe/blacklistor similar

 PaulH


 On Fri, 2008-02-29 at 00:30 +0100, Christian wrote:
 Hi all,
 Using the latest test version of Debian but when I have done modprobe -r
 and removed a few of the zaptel modules some of them cannot be removed.
 The other module is in use. Also if I reboot my system they're all loaded
 again. Any thoughts?
 Many thanks,
 Christian 


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with removing zaptel

2008-02-29 Thread Christian
Hi,
Will have a look. many thanks.


On 2008-02-29 at 11:35 Paul Hales wrote:

/etc/modprobe/blacklistor similar

PaulH


On Fri, 2008-02-29 at 00:30 +0100, Christian wrote:
 Hi all,
 Using the latest test version of Debian but when I have done modprobe -r
and removed a few of the zaptel modules some of them cannot be removed.
The other module is in use. Also if I reboot my system they're all loaded
again. Any thoughts?
 Many thanks,
 Christian
 
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with removing zaptel

2008-02-29 Thread Christian
Hi,
Many thanks for that info, will give it a try.
All the best,
Christian


On 2008-02-29 at 09:09 Tzafrir Cohen wrote:

On Fri, Feb 29, 2008 at 12:30:49AM +0100, Christian wrote:
 Hi all,
 Using the latest test version of Debian but when I have done modprobe -r
and removed a few of the zaptel modules some of them cannot be removed.
The other module is in use. Also if I reboot my system they're all loaded
again. Any thoughts?

modprobe -r does not recursively remove modules.

Try:

  /etc/init.d/zaptel unload #if using the init.d script from the deb
  /etc/init.d/zaptel stop   # if using the init.d script from the tarball

(The reason for the difference: there is no point in unlading a module
on system shutdown. Only serves to increase the crash potential)

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with removing zaptel

2008-02-28 Thread Paul Hales

/etc/modprobe/blacklistor similar

PaulH


On Fri, 2008-02-29 at 00:30 +0100, Christian wrote:
 Hi all,
 Using the latest test version of Debian but when I have done modprobe -r and 
 removed a few of the zaptel modules some of them cannot be removed. The other 
 module is in use. Also if I reboot my system they're all loaded again. Any 
 thoughts?
 Many thanks,
 Christian
 
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with removing zaptel

2008-02-28 Thread Tzafrir Cohen
On Fri, Feb 29, 2008 at 12:30:49AM +0100, Christian wrote:
 Hi all,
 Using the latest test version of Debian but when I have done modprobe -r and 
 removed a few of the zaptel modules some of them cannot be removed. The other 
 module is in use. Also if I reboot my system they're all loaded again. Any 
 thoughts?

modprobe -r does not recursively remove modules.

Try:

  /etc/init.d/zaptel unload #if using the init.d script from the deb
  /etc/init.d/zaptel stop   # if using the init.d script from the tarball

(The reason for the difference: there is no point in unlading a module
on system shutdown. Only serves to increase the crash potential)

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users