Re: [bwm-tools-tech] Re: Cannot run bwmd
Brought to you by:
nkukard
From: Victor Y. <ye...@nd...> - 2005-04-29 12:01:26
|
i think there is error in bwm_graph_Makefile the LOG_DIR must be /var/bwm_tools can someone confirm this? victor ----- Original Message -----=20 From: Victor Yeo=20 To: bwm...@li...=20 Sent: Friday, April 29, 2005 6:50 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd hi again, ok, i figured out the root cause with bwm_graph. It is because of the = date format has changed. Now, i still get other errors when i run bwm_graph. My *.dat files are = in /var/bwm_tools/. WHy must it prefix /home/yeosv/local/bwm to the = path?????? thanks. [yeosv@BWT bwm_tools]$ ./bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D2005/04/30 --end=3D2005/05/1 --graph-filename=3Dtest BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design Creating RRD files... Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat: = No such file or directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat: No such file or = directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat: No such file or = directory Getting details for = /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat... Getting details = for /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat... Getting = details for /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat... = Getting details for = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat... Getting details = for /home/yeosv/local/bwm//var/bwm_tools/out_other.dat...Writing data to = RRD files... Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat: = No such file or directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat: No such file or = directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat: No such file or = directory Failed to create RRD graph test: opening = '/home/yeosv/local/bwm//var/bwm_tools/out_dsl.rrd': No such file or = directory Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat...Graphing flows... thanks, victor ----- Original Message -----=20 From: Victor Yeo=20 To: bwm...@li...=20 Sent: Friday, April 29, 2005 6:30 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd hi again, Now i wish to run bwm_graph to generate graphics. I encounter error = with the following commands: Why it can't convert the date? $ /home/yeosv/local/bwm/bin/bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D31/05/2005 --end=3D31/05/2005 --output=3D/home/yeosv/test.png BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design ERROR: Failed to convert 31/05/2005 to date timeERROR: Error in = start time specified Please help me. Thanks. victor ----- Original Message -----=20 From: "Victor Yeo" <ye...@nd...> To: <bwm...@li...> Sent: Friday, April 29, 2005 5:52 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > i got it: >=20 > here it is to load the queue target: > /sbin/modprobe ip_queue. >=20 > thanks for the hint. >=20 > victor >=20 > ----- Original Message -----=20 > From: "Victor Yeo" <ye...@nd...> > To: <bwm...@li...> > Sent: Friday, April 29, 2005 5:42 PM > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd >=20 >=20 > > Hi, > > > > Thanks for the reply. I don't really understand your meaning. > > > > How do i modprobe queue, i try this: "/sbin/modprobe queue". It = is not > > working. Can i do a "make menuconfig" first and build the queue = target? > > > > This is my firewall.xml fire. Is there any mistakes within it? > > > > Thanks for any reply. > > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > > <firewall> > > # Global configuration and access classes > > > > <global> > > <class name=3D"out_other"> > > <address name=3D"out_other_tcp" = src-iface=3D"eth0" > > proto=3D"tcp"/> > > <address name=3D"out_other_udp" = src-iface=3D"eth0" > > proto=3D"udp"/> > > </class> > > <class name=3D"out_jane"> > > <address name=3D"out_jane_tcp" src-iface=3D"eth0" = proto=3D"tcp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_jane_udp" src-iface=3D"eth0" = proto=3D"udp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_niels"> > > <address name=3D"out_niels_tcp" src-iface=3D"eth0" = proto=3D"tcp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_niels_udp" src-iface=3D"eth0" = proto=3D"udp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_kobe"> > > <address name=3D"out_kobe_tcp" = src-iface=3D"eth0" > > proto=3D"tcp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_kobe_udp" = src-iface=3D"eth0" > > proto=3D"udp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > </global> > > > > # Access control lists > > # Network address translation > > # Traffic flows > > <traffic> > > # Rate can be specified in either IN, OUT or TOTAL (rate-total) > > # If rate-total =3D=3D 0, no rate limits > > <flow name=3D"out_dsl" stats-len=3D"5" queue-size=3D"262144" = queue-len=3D"400" > > max-rate=3D"15288" burst-rate=3D"16384" report-timeout=3D"60"> > > <flow name=3D"out_jane" max-rate=3D"10240" = queue-size=3D"16384" stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"40" nfmark=3D"1001"> > > out_jane; > > </queue> > > </flow> > > <flow name=3D"out_niels" max-rate=3D"10240" = queue-size=3D"16384" stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1002"> > > out_niels; > > </queue> > > </flow> > > <flow name=3D"out_kobe" max-rate=3D"10240" = queue-size=3D"16384" > > stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1003"> > > out_kobe; > > </queue> > > </flow> > > <flow name=3D"out_other" max-rate=3D"2048" burst-rate=3D"6144" > > queue-size=3D"32768" stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"90" nfmark=3D"1008"> > > out_other; > > </queue> > > </flow> > > </flow> > > </traffic> > > </firewall> > > > > > > > > ----- Original Message -----=20 > > From: Nigel Kukard > > To: Victor Yeo > > Cc: bwm...@li... > > Sent: Friday, April 29, 2005 4:53 PM > > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > > > > > > Hi Victor, > > > > You must also build in the QUEUE target for iptables and if you = built this > > as a module you need to modprobe queue first. > > > > Regards > > Nigel > > > > > > >Victor Yeo wrote: > > >hi again, > > > > > >i have build iptables on kernel. i still have problems when i = run > bwmd. > > Please help me. Thanks. > > > > > > = >------------------------------------------------------------------------= --- > > ----------------------------- > > > > > >$ ./bwmd -f > > >BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design > > > > > >BWMD: Loaded 5 flows and 4 queues > > >BWMD: Found 0 modules to load > > >IPQ runner started... > > >Failed to set IPQ mode > > >passer: Failed to send netlink message: Connection refused > > >Failed to get IPQ handle > > >Flow runner started... > > >Stat thread started... > > >Report runner started... > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Tell us your software development = plans! > > Take this survey and enter to win a one-year sub to = SourceForge.net > > Plus IDC's 2005 look-ahead and a copy of this survey > > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development = plans! > Take this survey and enter to win a one-year sub to = SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |