Wednesday, February 1, 2012

Error installing nfsen on Debian Squeeze

Trying to install nfsen on Debian Squeeze, running:
#./install.pl etc/nfsen.conf

would produce an error:
Can't create channel directory: '/srv/nfsen/profiles-data/live/peer' File exists
No collector started!

This is due to trying to install into a custom directory.
Edit etc/nfsen.conf and change to:
$BASEDIR = "/usr/local/nfsen"
(may need to create the directory first?).

Installation guide:
Pre-installed: apache2, php5, perl, linux-base
apt-get install librrds-perl librrdp-perl librrd-dev
apt-get install libmailtools-perl libsocket6-perl
apt-get install flex byacc
apt-get install nfdump mrtg rrdtool
Download and install nfsen from source.

No comments:

Post a Comment