Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nfsen install problem - missing profile data

161 views
Skip to first unread message

Radek Krejča

unread,
Jun 11, 2016, 1:10:25 PM6/11/16
to
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

_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-port...@freebsd.org"

Ben Woods

unread,
Jun 12, 2016, 3:57:08 AM6/12/16
to
On Saturday, 11 June 2016, Radek Krejča <radek....@starnet.cz> wrote:

> 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


--

--
From: Benjamin Woods
wood...@gmail.com

Radek Krejča

unread,
Jun 12, 2016, 5:05:53 AM6/12/16
to
Solved. Thank you.

Radek

Ben Woods

unread,
Jun 12, 2016, 7:27:06 AM6/12/16
to
On Sunday, 12 June 2016, Radek Krejča <radek....@starnet.cz> wrote:

> Solved. Thank you.
>
> Radek
>

Glad it is working :)

In case someone else finds this thread in the future, could you please
share what fixed this for you?

Thanks,
Ben


--

--
From: Benjamin Woods
wood...@gmail.com

Radek Krejča

unread,
Jun 13, 2016, 3:25:58 PM6/13/16
to
Hello Ben,

Glad it is working :)

In case someone else finds this thread in the future, could you please share what fixed this for you?

Thanks,
Ben 

[Radek Krejca]
I dont know. Problem was probably in old version of nfsen.conf (ported from old server), but I dont really know where exactly. I took your manual and make all from beginning.
It is working.

Radek
0 new messages