Do a 'vi cflowd.conf' then when the file is open do ':set nu' and go to line 52 and use 'x' to
remove all hidden characters and look fort the missing parenthesis which will have occured before
or on line 52.
--- Halldór_Högnason <Halldor.Hognason@islandssimi.is> wrote:
> Hi
>
> I'm wondering why this cflowd.conf generates an error ?
> Don't see anything wrong with it but get the error
>
> bash# parse error in /usr/local/arts/etc/cflowd.conf line 52: missing left
> paren
> ?
> parenstack: -1
>
> bash#
>
> The files look like,
>
> OPTIONS {
> # syslog to local6 facility.
> LOGFACILITY: local6
>
> # Listen for connections from cfdcollect on port 2056.
> TCPCOLLECTPORT: 2056
>
> # Use a 2 megabyte packet buffer in shared memory.
> PKTBUFSIZE: 2097152
>
> # Use /usr/local/arts/etc/cflowdtable.socket as named stream socket
> # for connections from local clients (cfdases et. al.)
> TABLESOCKFILE: /usr/local/arts/etc/cflowdtable.socket
>
> # Keep raw flow files in /usr/local/arts/data/cflowd/flows directory.
> FLOWDIR: /usr/local/arts/data/cflowd/flows
>
> # Each raw flow file should be 1000000 bytes in length.
> FLOWFILELEN: 1000000
>
> # Keep 10 raw flow files per router.
> NUMFLOWFILES: 10
>
> # Log total missed flows from a router if it exceeds 1000 between
> # connections from cfdcollect.
> MINLOGMISSED: 1000
> }
>
> COLLECTOR {
> HOST: localhost
> ADDRESSES: { 555.666.777.888, localhost, 127.0.0.1 }
> AUTH: none
> }
>
> CISCOEXPORTER {
> HOST: 111.222.333.111 # IP address of Cisco sending
> data.
> ADDRESSES: { 111.222.333.111 } # Addresses of interfaces on Cisco
> CFDATAPORT: 9992 # Port on which to listen for
> data.
> SNMPCOMM: 'public' # SNMP community name.
> LOCALAS: 12345 # Local AS of Cisco sending data.
> COLLECT: { flows }
> }
>
> CISCOEXPORTER {
> HOST: 111.222.333.444 # IP address of Cisco sending
> data.
> ADDRESSES: { 111.222.333.444 } # Addresses of interfaces on
> Cisco
> CFDATAPORT: 9992 # Port on which to listen for
> data.
> SNMPCOMM: 'public' # SNMP community name.
> LOCALAS: 12345 # Local AS of Cisco sending data.
> COLLECT: { flows }
> }
> bash#
>
>
>
> Best regards,
>
>
> Halldor
>
> Halldor Karl Hognason E.E.
> Islandssimi hf.
> Borgartun 30
> 105 Reykjavik
> ICELAND
>
> E-mail: halldor.hognason@islandssimi.is
> Tel: +354 5955016
> Mob: +354 820 5016
> Fax: +354 5955050
>
>
> --
> cflowd mailing list
> cflowd@caida.org
=====
Edson Manners
Academic Computing & Networking Services
Florida State University
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Fri Jul 06 2001 - 07:55:19 PDT