From owner-freebsd-ports@freebsd.org Sun Jun 12 07:56:48 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 893E7AF07F6 for ; Sun, 12 Jun 2016 07:56:48 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1822C22 for ; Sun, 12 Jun 2016 07:56:48 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 65B46AF07F5; Sun, 12 Jun 2016 07:56:48 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 630E0AF07F4 for ; Sun, 12 Jun 2016 07:56:48 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBDD82C20 for ; Sun, 12 Jun 2016 07:56:47 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id v199so40070747wmv.0 for ; Sun, 12 Jun 2016 00:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Ig+I6SHGjAEm6DWvPvCxF+k/UPdWVEK4w0JbRRlP4QA=; b=CAcYYqccg+OaD8uI+GdXbyZQ+XWtSpSLexoVF5Q0Bouf+L5dtjkn0VUlHqU98LL18i OPFB5PwZGY1/8fycq6TMqvBZ93dwwD5tglCyEm1ArP03bgP1XRc5mn+Qw1EU1FYb6zH4 OqwC6S77Mc3pKT15F3GA84GCle/IuDdEVf+dBw2LQgeVA5CvN3wbtbzpEMwT0NtzJ7nx 6CMDdRluXpLcr6unsznLe0IYISQ6Ko1zsTSwaPvunjm1xc2Z5C+rBiEXRLY4PP0Mt0mo av5tCJuDovAYvhstu/wGVl2sYBAFHEE6hn4RgemX750xP6Ag70vLBasHaSHPK65LNY+c rEiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Ig+I6SHGjAEm6DWvPvCxF+k/UPdWVEK4w0JbRRlP4QA=; b=Kw2KkJXS56gxdgmXZyjNdXAC9AWTaGZYzKy+qGQiSXT4wSIYgzCyg28wBljWVZ8zam /nkvZYedHtqGgQXR4EIZbnofK+nedsWDprOQx6IuM5adg+0EeSLKgIvN1ap++KM3olBD 7zHp6qZ9Md6nDjzeK7fc1yYOHeXRwRubTNQqeTNy1+UxDveZTddTQxilHB9feAp4lsMe GPVVKUvKp6lVszw3puaPrJ/cJ8vJ5xp2GnRGP1oZuepsCVsBYnbF9Of+/nDHh3zA6468 n/8LUrhljonrNwVTlmh3hkivO7TFGls1SMaRLeEDVOKFEMViEmaoxrzhnFXYp/NrYj4q vruw== X-Gm-Message-State: ALyK8tJXcAgXull8QKJZ/FPS3aVUPyb2bqtA1xTXE4F2xn1kqGM0K+WTP3GmQgiE6Fzi7SVABOBjyNvMvSjDgA== MIME-Version: 1.0 X-Received: by 10.194.67.101 with SMTP id m5mr3961446wjt.129.1465718206190; Sun, 12 Jun 2016 00:56:46 -0700 (PDT) Received: by 10.194.222.228 with HTTP; Sun, 12 Jun 2016 00:56:46 -0700 (PDT) In-Reply-To: <262ED41F8198C0409ACB79946570FFCD1AA1341069@EXCHANGE.mail.starnet.cz> References: <262ED41F8198C0409ACB79946570FFCD1AA1341069@EXCHANGE.mail.starnet.cz> Date: Sun, 12 Jun 2016 09:56:46 +0200 Message-ID: Subject: Re: Nfsen install problem - missing profile data From: Ben Woods To: =?UTF-8?Q?Radek_Krej=C4=8Da?= Cc: "ports@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 07:56:48 -0000 On Saturday, 11 June 2016, Radek Krej=C4=8Da 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