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

    Vnstat2 fails with error

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 990 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.
    • KOMK
      KOM
      last edited by

      Installed vnstat2 1.11_6,2 on 2.2-RC built on Mon Dec 22 10:10:34 CST 2014.  I let it gather stats for an hour.

      Vnstati shows 4 blank image placeholders.

      PHP Frontend shows 0 for all counters

      Vnstat Info returns:

      Error: Unable to open database directory "/var/lib/vnstat".
      Make sure it exists and is at least read enabled for current user.
      Exiting…

      There is no such directory /var/lib, so /var/lib/vnstat is asking for the moon and the stars.

      Vnstat Summary gives the same error as Vnstat Info.

      1 Reply Last reply Reply Quote 0
      • R
        romainp
        last edited by

        Hi,
        Even if it not solve the issue with the package, you can fix it using those steps:

        see: https://forum.pfsense.org/index.php?topic=85304.msg468491#msg468491

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Thanks for the tip.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.