[asterisk-users] service dahdi stop

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Dec 11 15:09:17 CST 2008


On Thu, Dec 11, 2008 at 03:45:15PM -0500, Jerry Geis wrote:
> This is the result of "sh -x /etc/init.d/dahdi stop"
> 
> Unloading DAHDI hardware modules:  execvp: No such file or directory
>                                                            [FAILED]
> [root at ebox3850 ~]# 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

Here is your problem. It has failed to execute 'initlog' .

I'm not sure how this is directly related to the dahdi init.d scripts.

> + 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

-- 
               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



More information about the asterisk-users mailing list