hi folks,
i hope someone can help me with this one. i'm having trouble running
cflowdmux and the following errors are syslogged:
Feb 22 09:32:14 cage cflowdmux[26558]: [E] shmget(ftok("/usr/local/etc/cflowd.conf",0),2101248,IPC_CREAT|S_IRWXU|S_IRGRP|S_IROTH) failed: No such file or directory {CflowdPacketQueue.cc:241}
Feb 22 09:32:14 cage cflowdmux[26558]: [A] g_packetQueue.Create("/usr/local/etc/cflowd.conf",2097152) failed: No such file or directory {cflowdmux.cc:457}
Feb 22 09:32:14 cage cflowdmux[26558]: [A] failed to create packet queue! Exiting. {cflowdmux.cc:459}
as you can see here, my config file does exist:
[root@cage] /usr/local/etc# ls -la cflowd.conf
-rw-r--r-- 1 root wheel 5979 Feb 22 09:13 cflowd.conf
contents of cflowd.conf follow:
OPTIONS {
LOGFACILITY: local6
TCPCOLLECTPORT: 2056
PKTBUFSIZE: 2097152
TABLESOCKFILE: /usr/local/cflowd/table.socket
FLOWDIR: /usr/local/cflowd/flows
FLOWFILELEN: 1000000
NUMFLOWFILES: 10
MINLOGMISSED: 1000
}
COLLECTOR {
HOST: 196.30.229.30 # IP address of central collector
ADDRESSES: { 172.16.3.34, 196.30.229.30 }
AUTH: none
}
CISCOEXPORTER {
HOST: 196.7.106.152 # IP address of Cisco sending data.
ADDRESSES: { 196.7.106.152 }
CFDATAPORT: 9991 # Port on which to listen for data.
SNMPCOMM: 'UIA_InternalSNMP' # SNMP community name.
LOCALAS: 2905 # Local AS of Cisco sending data.
COLLECT: { protocol, portmatrix, ifmatrix, nexthop, netmatrix, asmatrix, tos, flows }
}
thanks in advance
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Wed Feb 21 2001 - 23:56:54 PST