[asterisk-users] changing from zap to DAHDI

Jerry Geis geisj at pagestation.com
Thu Sep 16 09:03:09 CDT 2010


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




More information about the asterisk-users mailing list