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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jan 9 23:23:50 MST 2007


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


More information about the asterisk-users mailing list