• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Vnstat2 not installing

Scheduled Pinned Locked Moved pfSense Packages
6 Posts 2 Posters 2.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pftdm007
    last edited by Oct 2, 2011, 7:34 PM

    On pfsense 2.0-RELEASE (amd64) built on Tue Sep 13 17:05:32 EDT 2011

    I am trying to install vnstat2 but it fails.  Searching this forum, I found other people having similar issues with other packages.  All were fixed by an admin or other developers… I couldnt find people with the same problem for vnstat2 (as of now)...

    I get this in the package install window:

    Beginning package installation for vnstat2...
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading vnstat2 and its dependencies... 
    Checking for package installation... 
    Downloading ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.1-release/All/vnstat-1.10_2.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.1-release/All/vnstat-1.10_2.tbz.
    of vnstat-1.10_2 failed!
    
    Installation aborted. Backing up libraries... 
    Removing package...
    Starting package deletion for vnstat-1.10_2... done.
    Removing vnstat2 components...
    Tabs items... done.
    Menu items... done.
    Loading package instructions...
    Include file vnstat2.inc could not be found for inclusion.
    Deinstall commands... 
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Cleaning up... Failed to install package.
    
    Installation halted.
    

    What to do?
    Thanks!

    1 Reply Last reply Reply Quote 0
    • P
      pftdm007
      last edited by Oct 3, 2011, 1:41 AM

      According to my "visit" on the public FTP (/pub/FreeBSD/ports/amd64/packages-8.2-release/All) , the package has been upgraded to 1.10_3 while pfsense search for 1.10_2…
      Seems that the package 1.10_2 from 8.1-release has been phased out?

      1 Reply Last reply Reply Quote 0
      • T
        tester_02
        last edited by Oct 4, 2011, 1:45 AM

        yikes!  I just moved my machine and reinstalled on a new box and got this message.  vnstat was working great otherwise.

        1 Reply Last reply Reply Quote 0
        • P
          pftdm007
          last edited by Oct 5, 2011, 1:35 AM

          I know I am in the same boat and not knowing FreeBSD that much I am left with no options but to wait for the developers to pickup that glitch.  Too bad because I was counting on vnstat2 to monitor my bandwidth starting on the first day of my billing cycle, i.e. yesterday  :'(

          Yes it was working great…. Any clue how to install package manually?  Or should we wait for the pfsense folks to fix it?

          1 Reply Last reply Reply Quote 0
          • P
            pftdm007
            last edited by Oct 7, 2011, 9:15 PM

            OK seems that somebody finally fixed the install… its now working but I am facing another problem:

            When I go in the vnstat php page (no login) I see:

            Notice: Undefined index: totalrx in /usr/local/www/vnstat2/index.php on line 77
            Notice: Undefined index: totalrxk in /usr/local/www/vnstat2/index.php on line 77
            Notice: Undefined index: totaltx in /usr/local/www/vnstat2/index.php on line 78
            Notice: Undefined index: totaltxk in /usr/local/www/vnstat2/index.php on line 78 
            

            And all counters are zero…

            What is that?
            :'(

            1 Reply Last reply Reply Quote 0
            • P
              pftdm007
              last edited by Oct 7, 2011, 9:17 PM

              Might be luck or whatever but I clicked "Save" everywhere in the config of vnstat and now it works…

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received