[asterisk-users] Zap 1.4 error line 0: Unable to open master device '/dev/zap/ctl'

phil.dawson at marnock.com phil.dawson at marnock.com
Wed Jan 10 06:52:10 MST 2007


This page should help:

http://www.voip-info.org/wiki/view/Asterisk+CentOS-4.0+Zaptel






                                                                           
             Tzafrir Cohen                                                 
             <tzafrir.cohen at xo                                             
             rcom.com>                                                  To 
             Sent by:                  asterisk-users at lists.digium.com     
             asterisk-users-bo                                          cc 
             unces at lists.digiu                                             
             m.com                                                 Subject 
                                       [SPAM] Re: [asterisk-users] Zap 1.4 
                                       error line 0: Unable to open master 
             10/01/2007 06:23          device '/dev/zap/ctl'               
                                                                           
                                                                           
             Please respond to                                             
              Asterisk Users                                               
              Mailing List -                                               
              Non-Commercial                                               
                Discussion                                                 
             <asterisk-users at l                                             
             ists.digium.com>                                              
                                                                           
                                                                           




On Tue, Jan 09, 2007 at 05:50:52PM -0600, Chris Bullock wrote:
> I've looked over EVERY resource I can find, but have run short of a
> solution.  I'm running CentOS 4.4.  Just installed Asterisk 1.4 and
Zaptel
> 1.4 and libpri, but when I run ztcfg I get this error: line 0: Unable to
> open master device '/dev/zap/ctl'

This is a generic error message ztcfg gives when it fails to open
/dev/zap/ctl. It is followed by the error string of the error code it
got (usually: "no such file" or "no such device").

"No such file": the file /dev/zap/ctl is simply not there.

"No such device": The file is there, but there is no device to support
it.

If you use udev (or the older devfs) and have not created the device
file yourself manually with mknod, you probably won't get the latter.

>
> I realize this is a udev error (or from what I've read), but I cannot
find
> out how to resolve this. I've reinstalled zaptel several times. I read a
lot
> about having to read the README.udev file in the zaptel source, but I
don't
> even have that file on my system.
>
> If anyone has any ideas I'd love to hear from them.

It may be because the module zaptel has failed to load. Do you have the
directory /proc/zaptel ?

lsmod | grep zaptel

--
               Tzafrir Cohen
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
_______________________________________________
--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




More information about the asterisk-users mailing list