Coder Social home page Coder Social logo

Ubuntu 15.10 Error about vnstat HOT 3 CLOSED

vergoh avatar vergoh commented on July 23, 2024
Ubuntu 15.10 Error

from vnstat.

Comments (3)

vergoh avatar vergoh commented on July 23, 2024

How was vnStat installed, from a binary or source package? From where and which version?

from vnstat.

scriptzteam avatar scriptzteam commented on July 23, 2024

Firstly via apt-get, then apt-get remove (not updating itself, not saving history, v1.11)...

Then From github (git clone ....) then ./configure ... make .... make install, there i got that error "d to restart vnstat.serv"

after error i then removed it and installed via apt-get install again

#vnstat --help
vnStat 1.11 by Teemu Toivola

and now the database does not updating itself, also it is resetting every day so no history is saved for past days...

from vnstat.

vergoh avatar vergoh commented on July 23, 2024

I suspect the first apt-get remove may have marked the service file as masked instead of removing it (remove <> purge) in order to avoid even trying to start the service. It may also have left the database directory and possibly database files untouched. You most likely would have needed to execute something like systemctl unmask vnstat after the make install command to get the service file reactivated, assuming it was indeed left behind.

Did you also remove the database directory before using apt-get install again? If that isn't the case then most likely the database directory still existed and was owned by root. If I recall correctly, the apt-get provided package runs the daemon with then vnstat user so it wouldn't have access to write database changes to the directory.

from vnstat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.