Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2016 09:56:46 +0200
From:      Ben Woods <woodsb02@gmail.com>
To:        =?UTF-8?Q?Radek_Krej=C4=8Da?= <radek.krejca@starnet.cz>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Nfsen install problem - missing profile data
Message-ID:  <CAOc73CCD6BPuNttNPhu=Ef4S5WMT_z4hwEBQjqMNS44DGVR1Uw@mail.gmail.com>
In-Reply-To: <262ED41F8198C0409ACB79946570FFCD1AA1341069@EXCHANGE.mail.starnet.cz>
References:  <262ED41F8198C0409ACB79946570FFCD1AA1341069@EXCHANGE.mail.starnet.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 11 June 2016, Radek Krej=C4=8Da <radek.krejca@starnet.cz> wrot=
e:

> Hello,
>
> I need to install nfsen on new hardware. When I use pkg or comile from
> ports, there is problem, that I have empty directories and start of nfsen
> got error:
>
> /usr/local/etc/rc.d/nfsen start
> Error reading profile 'live': Can't open profile data file for profile:
> 'live' in group '.': No such file or directory
> Died at /usr/local/bin/nfsen line 455.
>
> In the log is:
>
> Jun 11 19:06:38 nfsen nfsen: Error reading hints: can't open
> /usr/local/var/nfsen/profiles/hints: No such file or directory at
> /usr/local/libexec/nfsen/NfSen.pm line 798.
> Jun 11 19:06:38 nfsen nfsen: Initialize hints to defaults.
>
> How to create proper files?
>
> Thank you very much.
>
> Radek
>

Hi Radek,

I put together a guide on how to use nfdump/nfsen on FreeBSD a year or so
ago.
https://forums.freebsd.org/threads/49724/

It also includes details on how to make FreeBSD the netflow exporter - skip
this it it is not what you're trying to achieve.

I haven't had a look to see if it solves your exact problem. Perhaps have a
read through that and see if it helps?

Good luck,
Ben


--=20

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CCD6BPuNttNPhu=Ef4S5WMT_z4hwEBQjqMNS44DGVR1Uw>