System: Linux flowscan1 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown
Debian Linux 2.2r3 (potato)
I've gone through the cflowd mailing list archives and seen a few threads
related to this exact problem, however not much on a resolution.
When I start cflowdmux, the process stays alive, but doesn't appear to be
listening on any UDP sockets.
Dec 10 22:56:37 flowscan1 cflowdmux[28520]: [I] cflowdmux (version
cflowd-2-1-b1) started.
Dec 10 22:56:37 flowscan1 cflowdmux[28520]: [I] created 1052672 byte
packet queue shmem segment {CflowdPacketQueue.cc:247}
Dec 10 22:56:37 flowscan1 cflowdmux[28520]: [I] attached to 1052672 byte
packet queue at 0x4016d000
Dec 10 22:56:37 flowscan1 cflowdmux[28520]: [I] created semaphore: id 4
# ps aux | grep cflowdmux
root 28520 0.0 0.2 2884 828 ? S 22:56 0:00
/usr/local/arts/sbin/cflowdmux /usr/local/arts/sbin/cflowd.conf
cflowd then fails to get the semaphore...
Dec 10 23:00:23 flowscan1 cflowd[28525]: [I] cflowd (version
cflowd-2-1-b1) started.
Dec 10 23:00:23 flowscan1 cflowd[28525]: [E]
semget(ftok("/usr/local/arts/etc/cflowd.conf",0),2,S_IRWXU|S_IRWXG|S_IRWXO)
failed to get semaphore set: No such file or directory
{CflowdPacketQueue.cc:124}
Dec 10 23:00:23 flowscan1 cflowd[28525]: [C] failed to get semaphore!
{CflowdPacketQueue.cc:331}
Dec 10 23:00:23 flowscan1 cflowd[28525]: [A] failed to open packet queue!
Exiting. {cflowd.cc:991}
My cflowd.conf looks like this - IP addresses and AS numbers changed to
protect the possibly-innocent ;-)
OPTIONS {
LOGFACILITY: local6
TCPCOLLECTPORT: 2056
PKTBUFSIZE: 2097152
TABLESOCKFILE: /home/flowscan/cflowd/etc/cflowdtable.socket
FLOWDIR: /flowdata0/flows
FLOWFILELEN: 1000000
NUMFLOWFILES: 10
MINLOGMISSED: 300
}
COLLECTOR {
HOST: 127.0.0.1 # IP address of central collector
AUTH: none
}
CISCOEXPORTER {
HOST: 192.168.88.14
ADDRESSES: { 192.168.88.14 }
CFDATAPORT: 2055
SNMPCOMM: 'snmpcommunity'
LOCALAS: 65535
}
Any ideas here would be greatly appreciated.
jms
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Mon Dec 10 2001 - 20:53:35 PST