Remco Barendse
2009-Jan-18 12:37 UTC
[asterisk-users] DAHDI trouble (again) Unable to open master device '/dev/zap/ctl'
Because of a kernel upgrade i needed to recompile DAHDI. Dahdi 2.0.0 with
2.0.1 was working ok, after the reboot and compile it doesn't start
anymore.
Firstly it tells me it is using /etc/zaptel.conf which is deprecated, if i
remove that file it complains that this file is missing.....
Secondly i get an error about a missing dev file which refers to zap
(which seems strange to me because i use DAHDI).
Where did i go wrong? The box is Centos 4 with kernel 2.6.9-78.0.13.ELsmp
Unloading DAHDI hardware modules: doneLoading DAHDI hardware modules:
wctdm: Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'
1 error(s) detected
FATAL: Error running install command for wctdm
[FAILED]
Running dahdi_cfg: [ OK ]
Tzafrir Cohen
2009-Jan-18 12:53 UTC
[asterisk-users] DAHDI trouble (again) Unable to open master device '/dev/zap/ctl'
On Sun, Jan 18, 2009 at 01:37:46PM +0100, Remco Barendse wrote:> Because of a kernel upgrade i needed to recompile DAHDI. Dahdi 2.0.0 with > 2.0.1 was working ok, after the reboot and compile it doesn't start > anymore. > > Firstly it tells me it is using /etc/zaptel.conf which is deprecated, if i > remove that file it complains that this file is missing..... > > Secondly i get an error about a missing dev file which refers to zap > (which seems strange to me because i use DAHDI). > > Where did i go wrong? The box is Centos 4 with kernel 2.6.9-78.0.13.ELsmp > > > > Unloading DAHDI hardware modules: doneLoading DAHDI hardware modules: > wctdm: Notice: Configuration file is /etc/zaptel.conf > line 0: Unable to open master device '/dev/zap/ctl'grep ztcfg /etc/modprobe.conf /etc/modprobe.d/* Remove those lines. They are pointless. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Patrick
2009-Jan-18 15:41 UTC
[asterisk-users] DAHDI trouble (again) Unable to open master device '/dev/zap/ctl'
Remco Barendse wrote: [snip]> Where did i go wrong? The box is Centos 4 with kernel 2.6.9-78.0.13.ELsmp> > > Unloading DAHDI hardware modules: doneLoading DAHDI hardware modules: > wctdm: Notice: Configuration file is /etc/zaptel.conf > line 0: Unable to open master device '/dev/zap/ctl'[snip] Besides Tzafrir's advice, have you made sure that the udev rules for creating the /dev/zap/* devices are in /etc/udev/rules.d and are correct? Regards, Patrick