|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
problem with NFsen
Hi,
Im trying to set up Nfsen on openbsd. when i try installing by running ./install.pl etc/nfsen.conf i get the following error. i guess i am missing out something. Any ideas please Code:
# ./install.pl etc/nfsen.conf Can't locate RRDs.pm in @INC (@INC contains: ./libexec ./installer-items /usr/libdata/perl5/i386-openbsd/5.10.0 /usr/local/libdata/perl5/i386-openbsd/5.10.0 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl .) at libexec/NfSenRRD.pm line 38. BEGIN failed--compilation aborted at libexec/NfSenRRD.pm line 38. Compilation failed in require at libexec/NfSen.pm line 43. BEGIN failed--compilation aborted at libexec/NfSen.pm line 43. Compilation failed in require at ./install.pl line 44. BEGIN failed--compilation aborted at ./install.pl line 44. Code:
$BASEDIR = "/data/nfsen-1.3"; $HTMLDIR = "/var/www/nfsen/"; $PROFILEDATADIR=${BASEDIR}/profiles-stat"; $USER = "netflow"; $WWWUSER = "www"; $WWWGROUP = "www"; %sources = ( '01' => { 'port' => '9999', 'col' => '#ff0000', 'type' => 'netflow' }, ); Code:
# pkg_info gettext-0.17p0 GNU gettext libart-2.3.20p0 high-performance 2D graphics library libiconv-1.12 character set conversion library libxml-2.6.32p2 XML parsing library nfdump-1.5.7 tools to collect and process netflow data p5-Mail-Tools-2.04 modules for handling mail with perl p5-Time-TimeDate-1.16p0 library for parsing and formatting dates and times php5-core-5.2.8p0 server-side HTML-embedded scripting language png-1.2.33 library for manipulating PNG images rrdtool-1.2.30 system to store and display time-series data wget-1.11.4 retrieve files from the web via HTTP, HTTPS and FTP Last edited by Carpetsmoker; 12th October 2009 at 02:27 PM. Reason: Add [code] tags |
|
|||
NfSen has not been ported to OpenBSD.
I hope you realize that attempting to configure software not targetting OpenBSD is usually the domain of advanced users. Even on OpenBSD's official mailing lists, requests like this are usually outside of the scope of what is considered "normal" support. Sometimes porting is simple; most of the time, it is not. Quote:
Quote:
I have no knowledge of NfSen, so I cannot comment on the configuration files presented. Likewise, I make no guarantee that any of these comments will guide you to a successful port, but if I were you, I'd step back & search for alternatives already available on OpenBSD. I would highly recommend you search for "netflow" on the following sites:If something already available will meet your needs, you have more of a guarantee than walking into a porting project with no guarantee of any kind of workable result. |
|
|||
Try installing RRDs.pm by issuing the command:
$ sudo pkg_add p5-RRD Giovanni |
|
|||
I just got nfsen-1.3.2 up and running on 4.6 in the chroot apache, and it seems stable so far (everything is working, and i see no errors in any logs). If you still need help I could post some of my install details.
|
|
|||
pl send some sample file for whole nfsen-1.3.2 installation procedure.
|
|
|||
Quote:
However, all hope should not be lost, as NFSen was first committed to OpenBSD's ports tree just a few days ago: http://www.openbsd.org/cgi-bin/cvswe...nfsen/Makefile Following the procedure described in Section 15 of the FAQ can be used for installation. However, having been added to the ports tree within the last few days means that NFSen will not be available for OpenBSD 4.7-release or any older version of OpenBSD. 4.7-release will be available to the public between now & mid-May 2010. The code was finalized a few months ago, so the available NFSen port is only available today to -current users until the release of OpenBSD 4.8-release which is tentatively scheduled for November 2010. If you are unsure about the differences between the -release & -current flavors of OpenBSD, study Section 5.1 of the FAQ. |
|
|||
pl send NfSen.conf file and NfSenRRDs.pm file for sample
pl send NfSen.conf file and NfSenRRDs.pm file for my reference pl
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boot problem. Geometry problem? | gulanito | FreeBSD Installation and Upgrading | 0 | 3rd July 2009 03:03 AM |