I finally figured out that I mis-spelled "OPTIONS" in the 'cflowd.conf'
file.
Kent
--------------------
I get an error message when starting 'cflowd':
Mar 23 21:11:45 outside cflowdmux[47616]: [C] shmctl(196608,IPC_RMID,0)
failed: In
valid argument {CflowdPacketQueue.cc:311}
Mar 23 21:12:06 outside cflowdmux[47624]: [I] cflowdmux (version
cflowd-2-1-b1) st
arted.
Mar 23 21:12:06 outside cflowdmux[47624]: [I] created 1052672 byte packet
queue sh
mem segment {CflowdPacketQueue.cc:247}
Mar 23 21:12:06 outside cflowdmux[47624]: [I] attached to 1052672 byte
packet queu
e at 0x30048000
Mar 23 21:12:06 outside cflowdmux[47624]: [I] created semaphore: id 65537
Mar 23 21:12:22 outside cflowd[47626]: [I] cflowd (version cflowd-2-1-b1)
started.
Mar 23 21:12:22 outside cflowd[47626]: [I] got semaphore: id 65537
Mar 23 21:12:22 outside cflowd[47626]: [I] attached to 1052672 byte packet
queue a
t 0x30048000
Mar 23 21:12:22 outside cflowd[47626]: [E] bind(4,0xbfbff5c4,2) failed:
Invalid ar
gument {cflowd.cc:110}
Mar 23 21:12:22 outside cflowd[47626]: [A] failed to open named stream
socket! Ex
iting {cflowd.cc:747}
It appears that cflowdmux started correctly. My cflowd.conf file is as
follows:
outside: {130} cat cflowd.conf
OPTTIONS {
LOGFACILITY: local6
TCPCOLLECTPORT: 2056
TABLESOCKFILE: /var/flow/etc/cflowdtable.socket
FLOWDIR: /var/flow
FLOWFILELEN: 1000000
NUMFLOWFILES: 10
MINLOGMISSED: 300
}
CISCOEPORTER {
HOST: 192.168.21.1
ADDRESSES: { 192.168.25.1,
}
CFDATAPORT: 9991
COLLECT: { flows }
}
COLLECTOR {
HOST: 127.0.0.1
AUTH: none
}
I am unsure about the entry "TABLESOCKFILE:". Is this the name of the
"named stream socket" and am I supposed to create it? If so how do I create
it? Thanks.
Kent Kuriyama
SPAWAR Sys Ctr San Diego D424, CINCPACFLT N671KK
kuriyakk@cpf.navy.mil, 808-471-4125
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Sat Mar 24 2001 - 09:32:19 PST