About the author

AL

If you would like more details about me check this page: http://chemaly.ca/

Related Articles

  • aless

    Hi nice post. I’ve got a question. I’ve installed nfsen and nfsdump, I configured netflow in a router and if I watch the port 2055 on my server I see the netflow packet arriving. But when I go to the localhost/../Nfsen.php I just see the web interface with no data in the graph. Error creating graph.
    Any idea?
    Thanks

    • AL

      Hi, what does your apache logs says or have a look in your /var/log/syslog for more details.

  • george

    Hello,
    i have stuck to a step, can you please help me?
    when i’m giving the command ./install.pl /etc/nfsen.conf
    i get this back in the terminal:

    Check for required Perl modules: All modules found.
    Setup NfSen:
    Version: 1.3.6p1: $Id: install.pl 53 2012-01-23 16:36:02Z peter $

    Perl to use: [/usr/bin/perl]

    What i need to type in Perl to use?

    Many thanks,
    George

    • AL

      Hi, you should type the location of your binary perl file, usually in /usr/bin/…
      Make sure it’s in there or try to look where it’s installed by using thi command:
      # whereis perl

  • Marc

    Hi,
    Thanks, bison was missing for me in the needed package list

    apt-get update && apt-get install gcc flex librrd-dev make bison

    Regards,

    Marc

    • AL

      Thank you for following this post and for your notice. I’ll update it soon!

  • Attila

    I have installed nfdump family from the repository, so I have got to link the /usr/bin binaries into /usr/local/bin for the installaltion.
    When I try to start the service I have got:
    Subroutine Lookup::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
    at /var/nfsen/libexec/Lookup.pm line 43
    Subroutine Lookup::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
    at /var/nfsen/libexec/Lookup.pm line 43
    Subroutine Lookup::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
    at /var/nfsen/libexec/Lookup.pm line 43
    Subroutine AbuseWhois::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
    at /var/nfsen/libexec/AbuseWhois.pm line 42
    Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
    at /var/nfsen/libexec/AbuseWhois.pm line 42
    Subroutine AbuseWhois::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
    at /var/nfsen/libexec/AbuseWhois.pm line 42
    Subroutine AbuseWhois::pack_sockaddr_in6 redefined at /var/nfsen/libexec/AbuseWhois.pm line 44
    Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at /var/nfsen/libexec/AbuseWhois.pm line 44
    Subroutine AbuseWhois::sockaddr_in6 redefined at /var/nfsen/libexec/AbuseWhois.pm line 44

  • Attila

    Sorry, forget the error messages, I have found my problem – and I hope the cure – on the nfsen list!

    • AL

      I am happy you solved your issue.
      Share with us how you solved your issue for others to know!
      Thank you.

  • Attila

    1. you don’t really have to add Socket6 for perl by hand, just install libsocket6-perl
    2. for solving the bug, please look at: http://sourceforge.net/p/nfsen/bugs/31/, needs to change one line in two files:
    Change :
    use Socket6;
    with
    Socket6->import(qw(pack_sockaddr_in6 unpack_sockaddr_in6 inet_pton getaddrinfo));

    I have also installed NFsen following this guide on a Debian7 system. D7 needs a bit different init script header, but it can still be allied with a warning.

  • Joe

    I was installing on new ubuntu 12.04 server. So I had to:
    sudo apt-get install byacc

    • Joe

      Actually, I might have needed byacc for nfdump.

  • edgaraholm

    Hi there,

    I’m having some hickups while installing nfsen.

    What command should be before ./install.pl /etc/nfsen.conf?

    Everything up to this point has worked perfectly 🙂

    -E

    • AL

      Hi ,

      what is the error you get ?
      what is your path from where you’re executing the command ? ($ pwd)
      what are the permissions of the install.pl file ? ($ ls -al)

      • edgaraholm

        root@ubuntu:/# cd /data/nfsen/
        root@ubuntu:/data/nfsen# ./install.pl /etc/nfsen.conf
        bash: ./install.pl: No such file or directory
        root@ubuntu:/data/nfsen#

        I can’t find the install.pl file, as you can guess I am not that versed in Linux 🙂

        • AL

          The install.pl file should be in the extracted folder nfsen-x.x.x/
          You have to run this command in the nfsen-x.x.x/ folder:
          ./install.pl /etc/nfsen.conf
          What does the following command returns?
          find / -type f -name install.pl

  • AL

    Hi,
    what is the error you’re getting?
    what is your path where you are executing this command? ($ pwd)
    what are the permissions of the install.pl file ? ($ ls -al)

  • Alok Das

    Hi
    I am installing Nfsense with Nfdump and get the graph only one color.
    how can i get different color for different traffic and add more sensor/Source.

    With Thx
    Alok

    • AL

      Hi,
      You can change the colors in the web interface. Click
      on the stats tab for the live profile and edit each channel list. You have the color settings under the gateway.
      How to create new sensor/source: http://nfsen.sourceforge.net/#mozTocId467189

  • eli

    hi, i want to install nfsen and nfdump on linux, but i had a problem.i want to Take a copy of NFSEN configuration File with this :cp /var/www/nfsen/etc/nfsen-dist.conf /etc/nfsen.conf

    but nothing happen when i use it.

    please help me.

    • AL

      Hi,
      Sorry for my late response, I was busy lately at work.
      Are you sure that the nfsen-dist.conf file is in /var/www/nfsen/etc/ ?

      Try to locate/find it by running this command:

      sudo find / -type f -name nfsen-dist.conf

  • Tets Mu

    hi all. i have installed nfdump and nfsen .. they are running… however when i am trying to see the “http://localhost/nfsen/nfsen.php” nothing showing….the msg is “Not Found
    The requested URL /nfsen/nfsen.php was not found on this server”. whereas, the “”http://localhost” is showing apache homepage… any help plzzz

    • Marco Abrantes

      did you install it in the apache directory www/var/html

Creative Commons License