FLowscan failed and i dont have file arts... Help me...

hi... I have a problem here... I want to use Flowscan in my linux machine... I've already setting the Cisco Router 3650 series and also setting all the configuration its needed in the linux machine...

I've followed all the rules in this link :
http://www.linuxgeek.org/netflow-howto.php

also read and follow the instruction in the FlowScan how to...

When i started the cflowd, cflowdmux and cfdcollect it has no problem...

==> /var/log/messages <==
Nov  3 10:41:12 coba-coba cflowdmux[16397]: [I] created 2101248 byte packet queu
e shmem segment {CflowdPacketQueue.cc:247}
Nov  3 10:41:12 coba-coba cflowdmux[16397]: [I] attached to 2101248 byte packet
queue at 0x40189000
Nov  3 10:41:12 coba-coba cflowdmux[16397]: [I] created semaphore: id 1802247
Nov  3 10:41:12 coba-coba cflowdmux[16397]: [I] set UDP recv queue to 261040 byt
es for fd 4 (port 2055)
Nov  3 10:41:23 coba-coba cfdcollect[16399]: [I] cfdcollect (version cflowd-2-1-
b1) started with 1 cflowd instances.
Nov  3 10:41:24 coba-coba cfdcollect[16399]: [E] connect(4,0x810ac74,16) (host localhost port 2056) failed: Connection refused {CflowdServer.cc:112}
Nov  3 10:41:24 coba-coba cfdcollect[16399]: [I] sleeping for 299 seconds.
Nov  3 10:41:27 coba-coba cflowd[16401]: [I] cflowd (version cflowd-2-1-b1) started.
Nov  3 10:41:27 coba-coba cflowd[16401]: [I] got semaphore: id 802247
Nov  3 10:41:27 coba-coba cflowd[16401]: [I] attached to 2101248 byte packet queue at 0x4027e000

It seems that the cflowd already running...
But i dont see any arts files. where is it?
and i can not try the Flowscan ... its not work properly...

I read in the manual Flowscan, it says like this :
Testing FlowScan
    Once you have the patched cflowd running with the `-s 300'
    option, and it has written at least one time-stamped flow file
    (i.e. other than flows.current), try this:

      $ cd /dir/containing/your/time-stamped/raw/flow/files
      $ flowscan

    The output should appear as something like this:

       Loading "bin/Napster_subnets.boulder" ...
       Loading "bin/local_nets.boulder" ...
       2000/03/20 17:01:04 working on file flows.20000320_16:57:22...
       2000/03/20 17:07:38 flowscan-1.013 CampusIO: Cflow::find took 394 wallclock secs (350.03 usr +  0.52 sys = 350.55 CPU) for 23610455 flow file bytes, flow hit ratio: 254413/429281
       2000/03/20 17:07:41 flowscan-1.013 CampusIO: report took  3 wallclock secs ( 0.44 usr +  0.04 sys =  0.48 CPU)        sleep 300...

I've followed the instruction... but it doesnt appear like that...
[bnet@coba-coba flows]$ ./flowscan
Loading "/var/local/flows/bin/local_nets.boulder" ...
sleep 30...
sleep 30...

it always like that... Whats wrong here?
Can anybody help me please....

Thanks...

me... mullie... ;p
mullieAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

asbharadwajCommented:
The HOWTO says
Then use netstat -lnp to see if flow-capture is listening to port 2055

seems your server hasnt started properly see the following line in your logfile
Nov  3 10:41:24 coba-coba cfdcollect[16399]: [E] connect(4,0x810ac74,16) (host localhost port 2056) failed: Connection refused {CflowdServer.cc:112}

Is that expected? May be installation problem?
0
mullieAuthor Commented:
thanks asbharadwaj....

i've found the problem is... i have to start the cflowdmux first, then cflowd, and the last is the cfdcollect... So, its log says nothing error...
Like this :

Nov  3 15:30:55 coba-coba cflowdmux[16783]: [I] cflowdmux (version cflowd-2-1-b1) started.
Nov  3 15:30:55 coba-coba cflowdmux[16783]: [I] created 2101248 byte packet queue shmem segment {CflowdPacketQueue.cc:247}
Nov  3 15:30:55 coba-coba cflowdmux[16783]: [I] attached to 2101248 byte packet queue at 0x40189000
Nov  3 15:30:55 coba-coba cflowdmux[16783]: [I] created semaphore: id 1835016
Nov  3 15:30:55 coba-coba cflowdmux[16783]: [I] set UDP recv queue to 261040 bytes for fd 4 (port 2055)

Nov  3 15:30:58 coba-coba cflowd[16785]: [I] cflowd (version cflowd-2-1-b1) started.
Nov  3 15:30:58 coba-coba cflowd[16785]: [I] got semaphore: id 1835016
Nov  3 15:30:58 coba-coba cflowd[16785]: [I] attached to 2101248 byte packet queue at 0x4027e000

Nov  3 15:31:01 coba-coba cfdcollect[16787]: [I] cfdcollect (version cflowd-2-1-b1) started with 1 cflowd instances.
Nov  3 15:31:02 coba-coba cfdcollect[16787]: [I] connected to coba-coba.binus.ac.id:2056

Nov  3 15:31:05 coba-coba cflowd[16788]: [I] sent data to 202.x.y.z:51039

Nov  3 15:31:05 coba-coba cfdcollect[16787]: [I] coba-coba.binus.ac.id has data for 1 router.
Nov  3 15:31:05 coba-coba cfdcollect[16787]: [I] got data for router 202.x.y.z from coba-coba.binus.ac.id
Nov  3 15:31:05 coba-coba cfdcollect[16787]: [I] wrote data for router 202.x.y.z
Nov  3 15:31:05 coba-coba cfdcollect[16787]: [I] sleeping for 296 seconds.

Nov  3 15:36:01 coba-coba cfdcollect[16787]: [I] awakened by alarm.
Nov  3 15:36:02 coba-coba cfdcollect[16787]: [I] connected to coba-coba.binus.ac.id:2056
Nov  3 15:36:05 coba-coba cflowd[16789]: [I] sent data to 202.a.b.c:51040
Nov  3 15:36:05 coba-coba cfdcollect[16787]: [I] coba-coba.binus.ac.id has data for 1 router.
Nov  3 15:36:05 coba-coba cfdcollect[16787]: [I] got data for router 202.x.y.z from coba-coba.binus.ac.id
Nov  3 15:36:05 coba-coba cfdcollect[16787]: [I] wrote data for router 202.x.y.z
Nov  3 15:36:05 coba-coba cfdcollect[16787]: [I] sleeping for 296 seconds.


Now when i started to testing the flowscan... Its log like this :

Nov  3 15:41:01 coba-coba cfdcollect[16787]: [I] awakened by alarm.
Nov  3 15:41:02 coba-coba cfdcollect[16787]: [I] connected to coba-coba.binus.ac.id:2056
Nov  3 15:41:05 coba-coba cflowd[16790]: [I] sent data to 202.a.b.c:51041
Nov  3 15:41:05 coba-coba cfdcollect[16787]: [I] coba-coba.binus.ac.id has data for 1 router.
Nov  3 15:41:05 coba-coba cfdcollect[16787]: [I] got data for router 202.x.y.z from coba-coba.binus.ac.id
Nov  3 15:41:05 coba-coba cfdcollect[16787]: [I] wrote data for router 202.x.y.z
Nov  3 15:41:05 coba-coba cfdcollect[16787]: [I] sleeping for 296 seconds.

And it should be appear like this :
The output should appear as something like this:

       Loading "bin/Napster_subnets.boulder" ...
       Loading "bin/local_nets.boulder" ...
       2000/03/20 17:01:04 working on file flows.20000320_16:57:22...
       2000/03/20 17:07:38 flowscan-1.013 CampusIO: Cflow::find took 394 wallclock secs (350.03 usr +  0.52 sys = 350.55 CPU) for 23610455 flow file bytes, flow hit ratio: 254413/429281
       2000/03/20 17:07:41 flowscan-1.013 CampusIO: report took  3 wallclock secs ( 0.44 usr +  0.04 sys =  0.48 CPU)        sleep 300...

Then what i've got here is :
[bnet@coba-coba flows]$ ./flowscan
Loading "/var/local/flows/bin/local_nets.boulder" ...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...
sleep 30...

What happen to this? How can i fix this?

Thanks
0
asbharadwajCommented:
Same problem here
http://net.doit.wisc.edu/~plonka/list/flowscan/archive/1326.html
seems you have to do some patching
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.