Re: [asterisk-users] changing from zap to DAHDI

2010-09-20 Thread dotnetdub
On 16 September 2010 15:03, Jerry Geis ge...@pagestation.com wrote:

 Jerry Geis wrote:

 
  below is the results of the command.
 
  grep -r ztconfig /etc/.
  grep: /etc/./httpd/run/asterisk.ctl: No such device or address
  grep: /etc/./httpd/run/dbus/system_bus_socket: No such device or address
  grep: /etc/./httpd/run/acpid.socket: No such device or address
 
  Jerry
 
 
 This is the new output (ztcfg is no longer mentioned) so I think that
 issue is fixed.
 Now its:
 + initlog -q -c 'unload_module dahdi'
 execvp: No such file or directory

 ---


Make sure you have the linux-headers for your kernel installed and recompile
dahdi.

Brian
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] changing from zap to DAHDI

2010-09-17 Thread Tzafrir Cohen
On Thu, Sep 16, 2010 at 10:03:09AM -0400, Jerry Geis wrote:
 Jerry Geis wrote:
 
  Somewhere on your system you have a modprobe install command that's
  running when the module is loaded.  Most likely it was installed on your
  system by
  http://svn.asterisk.org/view/zaptel/branches/1.4/build_tools/genmodconf?view=markup
   
 
  when you installed zaptel.
 
  Do you have an /etc/conf.modules file?  What does 'grep -r ztconfig
  /etc/.' return?
 

 
  Shaun,
 
  below is the results of the command.
 
  grep -r ztconfig /etc/.
  grep: /etc/./httpd/run/asterisk.ctl: No such device or address
  grep: /etc/./httpd/run/dbus/system_bus_socket: No such device or address
  grep: /etc/./httpd/run/acpid.socket: No such device or address
 
  Jerry
 
 
 This is the new output (ztcfg is no longer mentioned) so I think that 
 issue is fixed.
 Now its:
 + initlog -q -c 'unload_module dahdi'
 execvp: No such file or directory

unload_module is a local function. Not an executable.

It should not be run using 'action'.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-16 Thread Jerry Geis

 Somewhere on your system you have a modprobe install command that's
 running when the module is loaded.  Most likely it was installed on your
 system by
 http://svn.asterisk.org/view/zaptel/branches/1.4/build_tools/genmodconf?view=markup
 when you installed zaptel.

 Do you have an /etc/conf.modules file?  What does 'grep -r ztconfig
 /etc/.' return?

   

Shaun,

below is the results of the command.

grep -r ztconfig /etc/.
grep: /etc/./httpd/run/asterisk.ctl: No such device or address
grep: /etc/./httpd/run/dbus/system_bus_socket: No such device or address
grep: /etc/./httpd/run/acpid.socket: No such device or address

Jerry


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-16 Thread Jerry Geis
Jerry Geis wrote:

 Somewhere on your system you have a modprobe install command that's
 running when the module is loaded.  Most likely it was installed on your
 system by
 http://svn.asterisk.org/view/zaptel/branches/1.4/build_tools/genmodconf?view=markup
  

 when you installed zaptel.

 Do you have an /etc/conf.modules file?  What does 'grep -r ztconfig
 /etc/.' return?

   

 Shaun,

 below is the results of the command.

 grep -r ztconfig /etc/.
 grep: /etc/./httpd/run/asterisk.ctl: No such device or address
 grep: /etc/./httpd/run/dbus/system_bus_socket: No such device or address
 grep: /etc/./httpd/run/acpid.socket: No such device or address

 Jerry


This is the new output (ztcfg is no longer mentioned) so I think that 
issue is fixed.
Now its:
+ initlog -q -c 'unload_module dahdi'
execvp: No such file or directory

---

sh -x /etc/init.d/dahdi stop
+ initdir=/etc/init.d
+ DAHDI_CFG=/usr/sbin/dahdi_cfg
+ DAHDI_CFG_CMD=/usr/sbin/dahdi_cfg
+ FXOTUNE=/usr/sbin/fxotune
+ XPP_SYNC=auto
+ DAHDI_DEV_TIMEOUT=20
+ system=redhat
+ '[' -f /etc/debian_version ']'
+ '[' redhat = redhat ']'
+ . /etc/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/sysconfig/i18n
+++ LANG=en_US.UTF-8
+++ SUPPORTED=en_US.UTF-8:en_US:en
+++ SYSFONT=latarcyrheb-sun16
++ '[' pty '!=' pty ']'
++ '[' -n '' ']'
++ export LANG
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ GRAPHICAL=yes
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ LOGLEVEL=3
+++ PROMPT=yes
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ DAHDI_MODULES_FILE=/etc/dahdi/modules
+ '[' -r /etc/dahdi/init.conf ']'
+ . /etc/dahdi/init.conf
+ '[' redhat = redhat ']'
+ LOCKFILE=/var/lock/subsys/dahdi
+ '[' '!' -x /usr/sbin/dahdi_cfg ']'
+ '[' '!' -f /etc/dahdi/system.conf ']'
+ RETVAL=0
+ case $1 in
+ '[' redhat = debian ']'
+ '[' redhat = redhat ']'
+ action 'Unloading DAHDI hardware modules: ' unload_module dahdi
+ STRING='Unloading DAHDI hardware modules: '
+ echo -n 'Unloading DAHDI hardware modules:  '
Unloading DAHDI hardware modules:  + '[' '' '!=' '' -a -w 
/etc/rhgb/temp/rhgb-console ']'
+ shift
+ initlog -q -c 'unload_module dahdi'
execvp: No such file or directory
+ failure 'Unloading DAHDI hardware modules: '
+ rc=255
+ '[' -z '' ']'
+ initlog -q -n /etc/init.d/dahdi -s 'Unloading DAHDI hardware modules: 
' -e 2
+ '[' color '!=' verbose -a -z '' ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[60G'
   + echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[0;31m'
+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n ']'
]+ echo -ne '\r'
+ return 1
+ '[' -x /usr/bin/rhgb-client ']'
+ /usr/bin/rhgb-client --details=yes
+ return 255
+ rc=255
+ echo

+ '[' '' '!=' '' -a -w /etc/rhgb/temp/rhgb-console ']'
+ return 255
+ '[' /var/lock/subsys/dahdi '!=' '' ']'
+ '[' 0 -eq 0 ']'
+ rm -f /var/lock/subsys/dahdi
+ exit 0


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Danny Nicholas
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis
Sent: Wednesday, September 15, 2010 10:06 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] changing from zap to DAHDI

I am changing a system from zap to DAHDI.
I removed everything zap. when doing the command:

sh -x /etc/init.d/dahdi start, I see

 initlog -q -c 'modprobe wct4xxp'
sh: /sbin/ztcfg: No such file or directory
FATAL: Error running install command for wct4xxp


doing updatedb then,
locate zap returns me
/var/lib/asterisk/sounds/spy-zap.gsm
/usr/share/groff/1.18.1.1/font/devps/zapfdr.pfa
/usr/lib/asterisk/modules/app_zapateller.so

locate zt return me
/lib/modules/2.6.9-42.0.3.EL/kernel/sound/pci/snd-azt3328.ko
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/sound/pci/snd-azt3328.ko
/lib/modules/2.6.9-42.EL/kernel/sound/pci/snd-azt3328.ko
/lib/modules/2.6.9-42.ELsmp/kernel/sound/pci/snd-azt3328.ko
/usr/src/kernels/2.6.9-42.0.3.EL-i686/include/config/radio/aztech.h
/usr/src/kernels/2.6.9-42.0.3.EL-i686/include/config/snd/azt3328
/usr/src/kernels/2.6.9-42.0.3.EL-i686/include/config/snd/azt3328/module.h
/usr/src/kernels/2.6.9-42.0.3.EL-hugemem-i686/include/config/radio/aztech.h
/usr/src/kernels/2.6.9-42.0.3.EL-hugemem-i686/include/config/snd/azt3328
/usr/src/kernels/2.6.9-42.0.3.EL-hugemem-i686/include/config/snd/azt3328/mod
ule.h
/usr/src/kernels/2.6.9-42.EL-i686/include/config/radio/aztech.h
/usr/src/kernels/2.6.9-42.EL-i686/include/config/snd/azt3328
/usr/src/kernels/2.6.9-42.EL-i686/include/config/snd/azt3328/module.h
/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686/include/config/radio/aztech.h
/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686/include/config/snd/azt3328
/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686/include/config/snd/azt3328/module.
h
/usr/share/terminfo/z/ztx-1-a
/usr/share/terminfo/z/ztx
/usr/share/terminfo/z/ztx11
/usr/share/terminfo/z/zt-1


So everything is gone. why is it using ztcfg?

I removed everything zap or zt then installed dahdi, I have even 
re-installed dahdi and the same is happening.
I installed: asterisk-1.4.35  asterisk-1.4.35.tar.gz  
dahdi-linux-complete-2.1.0+2.1.0  
dahdi-linux-complete-2.1.0+2.1.0.tar.gz  libpri-1.4.11.4  
libpri-1.4.11.4.tar.gz


Any thoughts?

Jerry

AIR, DAHDI out of the box configures modules that aren't necessarily
installed on your computer.  Check /etc/dahdi/modules and make sure only the
installed modules are active.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Shaun Ruffell
On 09/15/2010 10:06 AM, Jerry Geis wrote:
 I am changing a system from zap to DAHDI.
 I removed everything zap. when doing the command:
 
 sh -x /etc/init.d/dahdi start, I see
 
  initlog -q -c 'modprobe wct4xxp'
 sh: /sbin/ztcfg: No such file or directory
 FATAL: Error running install command for wct4xxp
 

You wouldn't have a udev rule set to run ztcfg configured in
/etc/modprobe.d by any chance would you?

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Jerry Geis

 You wouldn't have a udev rule set to run ztcfg configured in
 /etc/modprobe.d by any chance would you?

 -- 
 Shaun Ruffell
 Digium, Inc. | Linux Kernel Developer
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: www.digium.com  www.asterisk.org

   
Shaun

Yes I did in fact. Thanks for pointing me there.

jerry

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Jerry Geis
Jerry Geis wrote:

 You wouldn't have a udev rule set to run ztcfg configured in
 /etc/modprobe.d by any chance would you?

 -- 
 Shaun Ruffell
 Digium, Inc. | Linux Kernel Developer
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: www.digium.com  www.asterisk.org

   
 Shaun

 Yes I did in fact. Thanks for pointing me there.

 jerry

Shaun,

After removing everything in modprobe.conf that was ztcfg related:
alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

and rebooting it still happens. same error. is there another place I 
need to edit?

Thanks,

Jerry

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Tzafrir Cohen
On Wed, Sep 15, 2010 at 10:15:03AM -0500, Shaun Ruffell wrote:
 On 09/15/2010 10:06 AM, Jerry Geis wrote:
  I am changing a system from zap to DAHDI.
  I removed everything zap. when doing the command:
  
  sh -x /etc/init.d/dahdi start, I see
  
   initlog -q -c 'modprobe wct4xxp'
  sh: /sbin/ztcfg: No such file or directory
  FATAL: Error running install command for wct4xxp
  
 
 You wouldn't have a udev rule set to run ztcfg configured in
 /etc/modprobe.d by any chance would you?

(Not really udev. Modprobe)

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Shaun Ruffell
On 09/15/2010 10:35 AM, Tzafrir Cohen wrote:
 On Wed, Sep 15, 2010 at 10:15:03AM -0500, Shaun Ruffell wrote:
 On 09/15/2010 10:06 AM, Jerry Geis wrote:
 I am changing a system from zap to DAHDI.
 I removed everything zap. when doing the command:

 sh -x /etc/init.d/dahdi start, I see

  initlog -q -c 'modprobe wct4xxp'
 sh: /sbin/ztcfg: No such file or directory
 FATAL: Error running install command for wct4xxp


 You wouldn't have a udev rule set to run ztcfg configured in
 /etc/modprobe.d by any chance would you?
 
 (Not really udev. Modprobe)
 

Ehh..good point.

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Shaun Ruffell
On 09/15/2010 10:35 AM, Jerry Geis wrote:
 Jerry Geis wrote:

 You wouldn't have a udev rule set to run ztcfg configured in
 /etc/modprobe.d by any chance would you?

 -- 
 Shaun Ruffell
 Digium, Inc. | Linux Kernel Developer
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: www.digium.com  www.asterisk.org

   
 Shaun

 Yes I did in fact. Thanks for pointing me there.

 jerry

 Shaun,
 
 After removing everything in modprobe.conf that was ztcfg related:
 alias eth0 tg3
 alias eth1 tg3
 alias scsi_hostadapter ata_piix
 alias usb-controller ehci-hcd
 alias usb-controller1 uhci-hcd
 
 and rebooting it still happens. same error. is there another place I 
 need to edit?
 

/etc/modprobe.conf?

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Jerry Geis

 / After removing everything in modprobe.conf that was ztcfg related:
 // alias eth0 tg3
 // alias eth1 tg3
 // alias scsi_hostadapter ata_piix
 // alias usb-controller ehci-hcd
 // alias usb-controller1 uhci-hcd
 // 
 // and rebooting it still happens. same error. is there another place I 
 // need to edit?
 // 
 /
 /etc/modprobe.conf?
   

Shaun,

This is what is in my modprobe.conf file presently.
 more /etc/modprobe.conf
alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd


Jerry


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Shaun Ruffell
On 09/15/2010 11:44 AM, Jerry Geis wrote:

 /etc/modprobe.conf?
   
 
 Shaun,
 
 This is what is in my modprobe.conf file presently.
  more /etc/modprobe.conf
 alias eth0 tg3
 alias eth1 tg3
 alias scsi_hostadapter ata_piix
 alias usb-controller ehci-hcd
 alias usb-controller1 uhci-hcd
 

Sorry about that, that's what you said but I didn't see that.  What does
'grep zt /etc/modprobe.d/*' return then?


-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Jerry Geis

 Sorry about that, that's what you said but I didn't see that.  What does
 'grep zt /etc/modprobe.d/*' return then?
   
grep zt /etc/modprobe.d/*
/etc/modprobe.d/modprobe.conf.dist:alias block-major-29-* aztcd

jerry


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] changing from zap to DAHDI

2010-09-15 Thread Shaun Ruffell
On 09/15/2010 01:48 PM, Jerry Geis wrote:

 Sorry about that, that's what you said but I didn't see that.  What does
 'grep zt /etc/modprobe.d/*' return then?
   
 grep zt /etc/modprobe.d/*
 /etc/modprobe.d/modprobe.conf.dist:alias block-major-29-* aztcd
 
 jerry
 
 

Somewhere on your system you have a modprobe install command that's
running when the module is loaded.  Most likely it was installed on your
system by
http://svn.asterisk.org/view/zaptel/branches/1.4/build_tools/genmodconf?view=markup
when you installed zaptel.

Do you have an /etc/conf.modules file?  What does 'grep -r ztconfig
/etc/.' return?

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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