Hello Carlos, Maybe nfsen doesn't have permission to access/write the directory.
Em qui., 16 de fev. de 2023 às 09:45, < nfsen-discuss-requ...@lists.sourceforge.net> escreveu: > Send Nfsen-discuss mailing list submissions to > nfsen-discuss@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > or, via email, send a message with subject or body 'help' to > nfsen-discuss-requ...@lists.sourceforge.net > > You can reach the person managing the list at > nfsen-discuss-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nfsen-discuss digest..." > > > Today's Topics: > > 1. nfcapd collector issue (Carlos Botejara) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 16 Feb 2023 09:17:08 -0300 > From: Carlos Botejara <cbotej...@gmail.com> > To: nfsen-discuss@lists.sourceforge.net > Subject: [Nfsen-discuss] nfcapd collector issue > Message-ID: > <CAPpntJTF=Rq= > ab4qrgpp3orem-tzjw9k9ph5btysrgyps8y...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello! > > I have a fresh install from scratch, with nfdump 1.7.1 and nfsen 1.3.8, but > when nfsen starts, nfcapd gives an error. > > *Syslog report*: > Feb 15 09:59:41 nfsen[50860]: Starting nfcapd:(ccr1036cs ccr1036np)path > does not exist: -D Feb 15 09:59:41 nfsen[50860]: No valid directory: -D Feb > 15 09:59:46 nfsen[50860]: : collector did not start - see logfile > *CLI* > ./nfsen start Starting nfcapd:(ccr1036cs ccr1036np)path does not exist: -D > No valid directory: -D : collector did not start - see logfile Starting > nfsend. > > *Config File*: > > $BASEDIR = "/opt/nfsen"; > > $BINDIR="${BASEDIR}/bin"; > > $LIBEXECDIR="${BASEDIR}/libexec"; > > $CONFDIR="${BASEDIR}/etc"; > > $HTMLDIR = "/opt/nfsen/www/"; > > $DOCDIR="${HTMLDIR}/doc"; > > $VARDIR="${BASEDIR}/var"; > > $PROFILESTATDIR="${BASEDIR}/profiles-stat"; > > $PROFILEDATADIR="${BASEDIR}/profiles-data"; > > $BACKEND_PLUGINDIR="${BASEDIR}/plugins"; > > $FRONTEND_PLUGINDIR="${HTMLDIR}/plugins"; > > $PREFIX = '/opt/nfdump/bin'; > > $USER = "netflow"; > > $WWWUSER = "www-data"; > $WWWGROUP = "www-data"; > > $BUFFLEN = 200000; > > $SUBDIRLAYOUT = 1; > > $ZIPcollected = 1; > > $ZIPprofiles = 1; > > $PROFILERS = 2; > > $DISKLIMIT = 98; > > $PROFILERS = 6; > > %sources = ( > 'ccr1036cs' => { 'port' => '9995', 'IP' => '172.16.0.14', > 'col' => '#0000ff', 'type' => 'netflow' }, > 'ccr1036np' => { 'port' => '9995', 'IP' => '172.16.0.10', > 'col' => '#0000ff', 'type' => 'netflow' }, > ); > > $low_water = 90; > > $syslog_facility ='local3'; > > @plugins = ( > # profile # module > # [ '*', 'demoplugin' ], > [ 'live', 'PortTracker'], > ); > > %PluginConf = ( > # For plugin demoplugin > demoplugin => { > # scalar > param2 => 42, > # hash > param1 => { 'key' => 'value' }, > }, > # for plugin otherplugin > otherplugin => [ > # array > 'mary had a little lamb' > ], > ); > > $MAIL_FROM = 'y...@from.example.net'; > > $SMTP_SERVER = 'localhost'; > > $MAIL_BODY = q{ > Alert '@alert@' triggered at timeslot @timeslot@ > }; > > 1; > > > Thanks! > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Nfsen-discuss mailing list > Nfsen-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > > > ------------------------------ > > End of Nfsen-discuss Digest, Vol 175, Issue 1 > ********************************************* > -- Alexandro Marcelo Zacaron +55 45 99942 8561
_______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss