[Gelöst]vnstat

Started by k0ns0l3, May 04, 2019, 08:40:41 AM

Previous topic - Next topic
May 04, 2019, 08:40:41 AM Last Edit: May 06, 2019, 09:32:52 AM by k0ns0l3
Servus,

vnstat lässt sich zwar installieren aber nicht starten ...

Wie immer vielen Dank,
MfG k0ns0l3  ;)
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System


root: /usr/local/etc/rc.d/vnstat: WARNING: failed to start vnstat

MfG k0ns0le
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System


Ich hab heute vnstat auf einer frisch installierten OPNsense 19.1.7 erfolgreich in Betrieb nehmen können...

May 04, 2019, 08:25:28 PM #5 Last Edit: May 04, 2019, 09:09:22 PM by micneu
Quote from: the-mk on May 04, 2019, 08:07:37 PM
Ich hab heute vnstat auf einer frisch installierten OPNsense 19.1.7 erfolgreich in Betrieb nehmen können...
ich kann mich da anschließen, 2 virtuelle opnsense 19.1.7 konnte ich ganz einfach vnstat installieren/aktivieren.hast du sonst mal versucht nochmal deinstallieren und neu installieren?
Internet: Willy.tel Down: 1Gbit/s, UP: 250Mbit/s Glasfaser  |
Router/Firewall: pfSense+ 23.09  |
Hardware: Netgate 6100

Guten Abend,
Ja habe es schon 3 mal deinstalliert und installiert hilft nichts. Vnstat sollte LAN,WLAN und OPT1 aufzeichnen und Paket Installation bringt auch keine Fehler. Vnstat daemon will einfach nicht  :-\

MfG k0ns0l3
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

Wenn du nur ein Interface nimmst?

hast du mal einen neustrat deiner opnsense gemacht?
Internet: Willy.tel Down: 1Gbit/s, UP: 250Mbit/s Glasfaser  |
Router/Firewall: pfSense+ 23.09  |
Hardware: Netgate 6100

Quote from: mimugmail on May 04, 2019, 09:41:34 PM
Wenn du nur ein Interface nimmst?

Auch schon probiert ändert nichts  :(
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

Quote from: micneu on May 05, 2019, 06:01:41 PM
hast du mal einen neustrat deiner opnsense gemacht?

Mehrmals  ;) ändert auch nichts, MfG k0ns0l3
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

***GOT REQUEST TO INSTALL: os-vnstat***
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
os-vnstat: 1.1_1
vnstat: 1.15

Number of packages to be installed: 2
[1/2] Installing vnstat-1.15...
===> Creating groups.
Creating group 'vnstat' with gid '284'.
===> Creating users
Creating user 'vnstat' with uid '284'.
[1/2] Extracting vnstat-1.15: .......... done
[2/2] Installing os-vnstat-1.1_1...
[2/2] Extracting os-vnstat-1.1_1: .......... done
Stopping configd...done
Starting configd.
Keep version OPNsense\Vnstat\General (0.0.1)
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Vnstat: OK
Message from vnstat-1.15:

###########################################################################
vnstat has been installed.

A sample configuration file has been installed in /usr/local/etc/
Please add your default network interface in the 'Interface' line there
before starting vnstat service.
You can add any number of additional interfaces either in
vnstat_additional_ifaces variable in /etc/rc.conf, or with this command:
su -m vnstat -c "/usr/local/bin/vnstat --create --iface <your interface>"
and restart vnstat service:
service vnstat restart

For more information about vnStat use "man vnstat" or visit:
http://humdi.net/vnstat/


fehlerfrei installiert,

MfG k0ns0l3
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

Problem gelöst nach dem mehrfaches deinstallieren und installieren, komische Sache aber jetzt läuft  ;D

May 5 19:33:04 vnstatd[12850]: Monitoring: igb2 (1000 Mbit) igb0 (1000 Mbit) igb1 (1000 Mbit)

Besten Dank für Eure schnelle und fachliche Hilfe  ;) ,

MfG k0ns0l3
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

immer nach dem neustart :

Jun 11 14:15:24 root: /usr/local/etc/rc.d/vnstat: WARNING: failed to start vnstat


Durch das Zurücksetzen von vnstat läuft wieder aber dann sind die flüchtigen vnstat daten weg  :-\

vnstatd[84203]: Monitoring: igb2 (1000 Mbit) igb0 (1000 Mbit) igb1 (1000 Mbit)

MfG k0ns0l3
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

D.h. wenn du nach einem Neustart über das Dashboard den Dienst neu startest kommt immer wieder diese Meldung?