LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2013, 02:50 AM   #1
troya
LQ Newbie
 
Registered: Apr 2013
Posts: 20

Rep: Reputation: Disabled
Checking the config file…FAILEDThe configuration file contains errors


Hi All i just installed HTB-tools-0.3.0a-i486-1 on my ubuntu 12.04 64 bit.

My kernel is 3.2.0-23-generic


bellow is my configuration :

Code:
   ################
    # eth1-qos.cfg # 
    ################
    # for how to configure and use see docs/HowTo/
            
    class class_1 {
          bandwidth 192;
          limit 256;
          burst 2;
          priority 1;
    
                   client client_1 {
                      bandwidth 48;
                      limit 64;
                      burst 2;
                      priority 1;
                         dst {
                            192.168.1.0/24;
                               };
                     };
    
                   client client_2 {
                      bandwidth 48;
                      limit 64;
                      burst 2;
                      priority 1;
                         dst {
                            192.168.2.0/24;
                               };
                     };
    
                   client client_3 {
                      bandwidth 48;
                      limit 64;
                      burst 2;
                      priority 1;
                         dst {
                            192.168.3.0/24;
                               };
                     };
    
                   client client_4 {
                      bandwidth 48;
                      limit 64;
                      burst 2;
                      priority 1;
                         dst {
                            192.168.4.0/24;
                               };
                     };
          };
    
    class default { bandwidth 8; };

But i got error message like bellow when i try to start htb servce

Code:
Applying traffic rules for device eth1
checking the config file....FAILEDThe configuration file contains errors.
Is my configuration is wrong ?

is it because htb not support my OS ?


Help me to solve this issue ?
 
Old 06-10-2013, 12:55 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
why do not you check if htb is supported?
Code:
# ip link add dummy_link type dummy
# tc qdisc add dev dummy_link root htb
# tc qdisc show dev dummy_link
qdisc htb 8001: root refcnt 2 r2q 10 default 0 direct_packets_stat 0
 
Old 06-13-2013, 05:43 AM   #3
troya
LQ Newbie
 
Registered: Apr 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi,

Finally i change to Centos server and now HTB running well

I think htb doesn't support any kernel version.UBuntu 12.04 have kernel version 3.xx, i've try to downgrade to ubuntu 11.04 which have kernel versi 2.x so that htb running well.

Now i change my OS to Centos server which also have kernel versio 2.x

Thanks very much
 
  


Reply

Tags
bandwidth, htb, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd.conf has Configuration file errors encountered windstory Linux - Networking 1 11-25-2011 11:52 PM
Errors (override) with .config file phar0z Linux - Kernel 1 08-03-2009 10:34 AM
Suse 11.1 Installation Problem- Boot Configuration File Contains Errors. mrukjames Linux - Laptop and Netbook 8 08-02-2009 08:03 AM
checking for null values from config file? zerointeger Programming 1 10-12-2005 11:29 AM
Exim configuration file errors padawan05 Linux - Software 1 01-13-2005 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration