Hi Folks
I'm trying to get CFLOWD up and running on a SunOS 5.7 Generic_106541-17
sun4u sparc SUNW,Ultra-5_10.
I went a got the arts++ and Cflowd and installed it..
When I try to start Cflowd with the following commands I get errors in my
/var/adm/cflowd.log..
/usr/local/arts/sbin/cflowdmux /usr/local/arts/etc/cflowd.conf
Error:
Sep 25 09:24:15 netflow.nccr.epa.gov cflowdmux[537]: [I] cflowdmux (version
cflowd-2-1-b1) started.
Sep 25 09:24:15 netflow.nccr.epa.gov cflowdmux[537]: [E] shmget(ftok
("cflowd.conf",0),2101248,IPC_CREAT|S_IRWXU|S_IRGRP|S_IROTH) failed: No
such file or directory {CflowdPacketQueue.cc:241}
Sep 25 09:24:15 netflow.nccr.epa.gov cflowdmux[537]: [A]
g_packetQueue.Create("cflowd.conf",2097152) failed: No such file or
directory {cflowdmux.cc:457}
Sep 25 09:24:15 netflow.nccr.epa.gov cflowdmux[537]: [A] failed to create
packet queue! Exiting. {cflowdmux.cc:459}
I then moved the cflowd.conf file from the /usr/local/arts/etc directory to
the /usr/local/arts/sbin.
I then changed into the /usr/local/arts/sbin directory.
I then did a chmod to 777 on the cflowd.conf and run the following command.
cflowdmux cflowd.conf
Error:
Sep 25 09:31:10 netflow.nccr.epa.gov cflowdmux[562]: [I] cflowdmux (version
cflowd-2-1-b1) started.
Sep 25 09:31:10 netflow.nccr.epa.gov cflowdmux[562]: [E] shmget(ftok
("cflowd.conf",0),2101248,IPC_CREAT|S_IRWXU|S_IRGRP|S_IROTH) failed: No
such file or directory {CflowdPacketQueue.cc:241}
Sep 25 09:31:10 netflow.nccr.epa.gov cflowdmux[562]: [A]
g_packetQueue.Create("cflowd.conf",2097152) failed: No such file or
directory {cflowdmux.cc:457}
Sep 25 09:31:10 netflow.nccr.epa.gov cflowdmux[562]: [A] failed to create
packet queue! Exiting. {cflowdmux.cc:459}
copy of my cflowd.conf file:
1
###########################################################################
2 # cflowd.conf - cflowd configuration file
3 # $Name: cflowd-2-1-b1 $
4
###########################################################################
5
6
#---------------------------------------------------------------------------
7
8 OPTIONS {
9 LOGFACILITY: local6
10 TCPCOLLECTPORT: 2056
11 PKTBUFSIZE: 2097152
12 TABLESOCKFILE: /usr/local/arts/etc/cflowdtable.socket
13 FLOWDIR: /data/collections/cflowd
14 FLOWFILELEN: 10000
15 NUMFLOWFILES: 30
16 MINLOGMISSED: 3000
17 }
18
19
#---------------------------------------------------------------------------
20
21 COLLECTOR {
22 HOST: 198.58.247.237
23 ADDRESSES: { 138.67.64.2, 138.67.66.2, 138.67.68.2,
138.67.208.2, 138.67.213.2, 138.67.214.5 }
24 AUTH: none
25 }
26
27
#---------------------------------------------------------------------------
28
29 CISCOEXPORTER {
30 HOST: 198.58.247.237
31 ADDRESSES: { 138.67.64.2, 138.67.66.2, 138.67.68.2,
138.67.208.2, 138.67.213.2, 138.67.214.5 }
32 CFDATAPORT: 9996
33 SNMPCOMM: 'public'
34 LOCALAS: 0
35 COLLECT: { protocol, portmatrix, ifmatrix, nexthop,
netmatrix, asmatrix, tos, flows }
36 }
37
Any ideas of what I might be doing wrong?
Thanks
===================================
Tim Martin
Contractor to U.S. EPA
Lockheed Martin Technical Services Inc.
P.O. Box 14365
Research Triangle Park, NC 27709
Voice: 919.541.1841
Fax: 919.541.0506
E-mail: martin.tim@epamail.epa.gov
==================================
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Tue Sep 25 2001 - 07:02:23 PDT