-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Christophe Vandeplas wrote:
> (seems my mail from yesterday didn't land on the mailinglist, trying again)
>
>
>
> Hello,
>
> I just installed nfsen but hit a problem I couldn't solve yet.
>
> I still keep hitting the following error:
> Rebuilding profile stats for './live'
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, traffic-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 337.
Hmm .. For some reason, the pre-built graphs could not be generated. Make sure
RRD.pm is installed correctly.
The errors may be harmless, if NfSen works after 5min, when started up. All
graphs are rebuilded anyway.
If the graphs are still missed in the web pages, it seems to me an RRD
installation/library problem.
- Peter
>
>
> Below you can find some output.
>
> Does anyone has any idea how to solve this ?
>
>
> Thanks
>
>
>
> PERL
> #####
> # perl --version
> This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
>
>
> INSTALL OUTPUT
> ##############
>
> # ./install.pl etc/nfsen.conf
> Check for required Perl modules: All modules found.
> Upgrade from version '1.3' installed at Wed Mar 18 19:14:03 2009
> Setup NfSen:
> Version: 1.3: $Id: install.pl 24 2007-11-21 09:12:03Z phaag $
>
> Perl to use: [/usr/bin/perl]
> Setup php and html files.
>
> Copy NfSen dirs etc bin libexec plugins doc ...
> Copy config file 'etc/nfsen.conf'
>
> In directory: /home/nfsen/libexec ...
> Update script: Log.pm
> Update script: Lookup.pm
> Update script: NfAlert.pm
> Update script: Nfcomm.pm
> Update script: NfConf.pm
> Update script: NfProfile.pm
> Update script: NfSen.pm
> Update script: NfSenRC.pm
> Update script: NfSenRRD.pm
> Update script: NfSenSim.pm
> Update script: Nfsources.pm
> Update script: Notification.pm
> In directory: /home/nfsen/bin ...
> Update script: nfsen
> Update script: nfsend
> Update script: RebuildHierarchy.pl
> Update script: testPlugin
>
> Cleanup old files ...
>
> Setup diretories:
>
> Use UID/GID 33 33
> Exists: /home/nfsen/var
> Exists: /home/nfsen/var/run
> Exists: /home/nfsen/var/tmp
> Exists: /home/nfsen/var/filters
> Exists: /home/nfsen/var/fmt
> Exists: /home/nfsen/profiles-stat
> Exists: /home/nfsen/profiles-stat/live
> Exists: /home/nfsen/profiles-data
> Exists: /home/nfsen/profiles-data/live
>
> Profile live: spool directories:
> Exists: gw401
> Rename gif RRDfiles ... done.
> RRD DB 'gw401.rrd' already exists!
> Use existing profile info for profile 'live'
>
> Rebuilding profile stats for './live'
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, traffic-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 337.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, traffic-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 346.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, traffic-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 356.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, traffic-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 366.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, flows-day: end time: the specified time is
> incorrect (out of range?) at libexec/NfSenRRD.pm line 337.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, flows-day: end time: the specified time is
> incorrect (out of range?) at libexec/NfSenRRD.pm line 346.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, flows-day: end time: the specified time is
> incorrect (out of range?) at libexec/NfSenRRD.pm line 356.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, flows-day: end time: the specified time is
> incorrect (out of range?) at libexec/NfSenRRD.pm line 366.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, packets-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 337.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, packets-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 346.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, packets-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 356.
> Unable to create graph: No such file or directory
> Error GenGraph: Profile: live, packets-day: end time: the specified time
> is incorrect (out of range?) at libexec/NfSenRRD.pm line 366.
> Reconfig: No changes found!
> Setup done.
>
>
>
> CONFIG
> ######
> # grep -v -e "^#" -e "^$" etc/nfsen.conf
> $BASEDIR = "/home/nfsen";
> $BINDIR="${BASEDIR}/bin";
> $LIBEXECDIR="${BASEDIR}/libexec";
> $CONFDIR="${BASEDIR}/etc";
> $HTMLDIR = "/home/www/";
> $DOCDIR="${HTMLDIR}/doc";
> $VARDIR="${BASEDIR}/var";
> $PROFILESTATDIR="${BASEDIR}/profiles-stat";
> $PROFILEDATADIR="${BASEDIR}/profiles-data";
> $BACKEND_PLUGINDIR="${BASEDIR}/plugins";
> $FRONTEND_PLUGINDIR="${HTMLDIR}/plugins";
> $PREFIX = '/usr/bin';
> $USER = "www-data";
> $WWWUSER = "www-data";
> $WWWGROUP = "www-data";
> $BUFFLEN = 200000;
> $SUBDIRLAYOUT = 1;
> $ZIPcollected = 0;
> $ZIPprofiles = 0;
> $DISKLIMIT = 98;
> %sources = (
> 'gw401' => { 'port' => '0', 'col' => '#0000ff', 'type' =>
> 'netflow' },
> );
> $low_water = 90;
> $syslog_facility = 'local3';
> @plugins = (
> # profile # module
> # [ '*', 'demoplugin' ],
> );
> %PluginConf = (
> # For plugin demoplugin
> demoplugin => {
> # scalar
> param2 => 42,
> # hash
> param1 => { 'key' => 'value' },
> },
> # for plugin otherplugin
> otherplugin => [
> # array
> 'mary had a little lamb'
> ],
> );
> $MAIL_FROM = '[email protected]';
> $SMTP_SERVER = 'localhost';
> $MAIL_BODY = q{
> Alert '@alert@' triggered at timeslot @timeslot@
> };
> 1;
>
>
>
- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
E-mail: [email protected] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBSceEwf5AbZRALNr/AQJMigP+Mwc53ybYhXdRNXg3nfAK9pzs2mWgtvJL
U+YFEeyxVNflxHgU5NWoFiRylWw+ohmL8pBS6587gG8H8kEVR3YwSm2Sl/vsbJCU
iDyLC2qIY4HtIG2bCH4vds2H0Zpd7udYBP09tLWAlDVqsQfREIzzDGROtSVrw8LW
anZ6xyFcPFM=
=0+1K
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss