Bienvenido(a) a Alcance Libre 29/03/2023, 07:16
|
![]() |
Índice del foro > Todo acerca de Linux > Redes y Servidores |
![]() ![]() |
![]() |
edjatears |
|
|||||||
![]() ![]() ![]() ![]() ![]() Participa mucho Estado: desconectado ![]() Identificado: 11/25/08 Mensajes: 54 |
hola a todos, espero me puedan ayudar, cuando pongo este comendo que me dice el manual me sale este error, no se que es , alguien me puede ayudar.
Gracias de antemano [root@localhost cbq]# service cbq compile find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 10Mbit avpkt 3000 cell 8 /sbin/tc class change dev eth0 root cbq weight 1Mbit allot 1514 /sbin/tc qdisc del dev eth1 root /sbin/tc qdisc add dev eth1 root handle 1 cbq bandwidth 512Kbit avpkt 3000 cell 8 **CBQ: class ID of cbq-0000.example must be in range <0002-FFFF>! /sbin/tc qdisc del dev lo root /sbin/tc qdisc del dev eth1 root /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc del dev sit0 root |
|||||||
|
||||||||
Jaime M. Tan Nozawa |
|
|||||||
![]() ![]() ![]() ![]() ![]() Miembro regular Estado: desconectado ![]() Identificado: 03/31/07 Mensajes: 114 Localización:Peru |
Es un post antiguo, pero igual respondo.
Es un problema del nombre del archivo. probar con 0001 o con 0002 y formatos similares al manual Saludos desde Peru Jaime M. Tan Nozawa RHCE ITILv3 CEHv7 BCIP Mi blog de PHP: http://phpexperto.blogspot.com |
|||||||
|
||||||||
Jaime M. Tan Nozawa |
|
|||||||
![]() ![]() ![]() ![]() ![]() Miembro regular Estado: desconectado ![]() Identificado: 03/31/07 Mensajes: 114 Localización:Peru |
Revisando bien, es un bug de la versión de cbq:
En mi caso de mi fedora corrio sin problemas pero en CentOS dio error: asi que compare los dos archivos solo difiere en lo siguiente: Hay que reemplazar y comentar en /etc/init.d/cbq o el script cbq que compilas , haces start y stop: # CLASSLIST=`find $1 \( -type f -or -type l \) -name 'cbq-*' \ # -not -name '*~' -maxdepth 1 -printf "%f\n"| sort` # [ -z "$CLASSLIST" ] && # cbq_failure "no configuration files found in $1!" ### Gather all DEVICE fields from $1/cbq-* # DEVFIELDS=`find $1 \( -type f -or -type l \) -name 'cbq-*' \ # -not -name '*~' -maxdepth 1| xargs sed -n 's/#.*//; \ # s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ \ # { s/.*=//; p; }'| sort -u` ### Get a list of configured classes CLASSLIST=`find $1 -maxdepth 1 \( -type f -or -type l \) -name 'cbq-*' \ -not -name '*~' -printf "%f\n"| sort` [ -z "$CLASSLIST" ] && cbq_failure "no configuration files found in $1!" ### Gather all DEVICE fields from $1/cbq-* DEVFIELDS=`find $1 -maxdepth 1 \( -type f -or -type l \) -name 'cbq-*' \ -not -name '*~' | xargs sed -n 's/#.*//; \ s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ \ { s/.*=//; p; }'| sort -u` Mi blog de PHP: http://phpexperto.blogspot.com |
|||||||
|
||||||||
Contenido generado en: 0.12 segundos |
![]() ![]() |
Todas las horas son CST. Hora actual 07:16 AM. |
|
|