rrdcached plugin error

    • OMV 4.x
    • Resolved
    • rrdcached plugin error

      Hi zusammen,

      ich habe soeben aus "langer Weile" mein OMV 3.X auf OMV 4.X aktualisiert. Bisher läuft es, nur bekomme ich folgende Meldung (sekündlich) im Syslog. Woran kann das liegen?

      collectd[1013]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)

      Danke und Gruß
      Frank
    • Das liegt daran dass der Socket jetzt unter /var/run/rrdcached.sock liegt. Folgende Kommandos ausführen, dann sollte es wieder funktionieren:

      Shell-Script

      1. # omv-mkconf rrdcached
      2. # omv-mkconf collectd
      3. # systemctl restart rrdcached
      4. # systemctl restart collectd
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • ich habe es auch gestern aktualisiert und auch den gleichen fehler.... in den systemprotokollen reihenweise dieser fehler...
      wenn ich das protokoll lösche, dann sind sofort neue fehler da...
      wenn ich per ssh (root) die 4 o.g. Befehle ausführe, dann kommen keine neuen fehler...
      sobald ich aber das system neustarte, ist es wieder so wie vorher..

      ist es normal, dass bei den 4 befehlen keinerlei rückmeldung per ssh kommt?
    • cheffe wrote:

      ich habe es auch gestern aktualisiert und auch den gleichen fehler.... in den systemprotokollen reihenweise dieser fehler...
      wenn ich das protokoll lösche, dann sind sofort neue fehler da...
      wenn ich per ssh (root) die 4 o.g. Befehle ausführe, dann kommen keine neuen fehler...
      sobald ich aber das system neustarte, ist es wieder so wie vorher..

      ist es normal, dass bei den 4 befehlen keinerlei rückmeldung per ssh kommt?
      Das Problem wird sicherlich deine RTC sein. Wenn die Systemzeit nicht stimmt, dann funktioniert das ganze nicht.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Real Time Clock

      Was für eine Hardware hast du denn?
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • have the same problem. Tried reconfiguring/restarting rrdcached and collectd - does not help. Every 10 seconds I get 35 entries of this error in syslog:

      Source Code

      1. Aug 27 15:08:23 hostname collectd[2165]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      I installed omv 4 from scratch in a kvm VM. Errors disappear if I switch the Monitoring option off.

      The post was edited 1 time, last by Burning Daylight ().

    • for me it look like the startscript /etc/init.d/rrdcached has a bug.
      after reboot there ist no rrdcached process and no rddcached files below /var/run

      manually startet with alle the options from /etc/default/rrdcached it does run:

      Shell-Script

      1. # /usr/bin/rrdcached -B -F -f 3600 -w 900 -b /var/lib/rrdcached/db/ -j /var/lib/rrdcached/journal/ -p /var/run/rrdcached.pid -l unix:/var/run/rrdcached.sock
      2. # ps aux | grep rrdroot
      3. 1973 0.0 0.1 253920 3204 ? Ssl 20:09 0:00 /usr/bin/rrdcached -B -F -f 3600 -w 900 -b /var/lib/rrdcached/db/ -j /var/lib/rrdcached/journal/ -p /var/run/rrdcached.pid -l unix:/var/run/rrdcached.sock
      4. # ls /var/run/rrd*
      5. /var/run/rrdcached.pid /var/run/rrdcached.sock
    • Now I found the it!

      Shell-Script

      1. root@bigben:/var/log# systemctl status rrdcached.service
      2. ● rrdcached.service - LSB: start or stop rrdcached
      3. Loaded: loaded (/etc/init.d/rrdcached; generated; vendor preset: enabled)
      4. Active: active (exited) since Wed 2018-08-29 17:41:14 CEST; 47min ago
      5. Docs: man:systemd-sysv-generator(8)
      6. Tasks: 0 (limit: 4915)
      7. CGroup: /system.slice/rrdcached.service
      8. Aug 29 17:41:14 bigben systemd[1]: Starting LSB: start or stop rrdcached...
      9. Aug 29 17:41:14 bigben rrdcached[19373]: Warning: Fake start-stop-daemon called, doing nothing.
      10. Aug 29 17:41:14 bigben rrdcached[19373]: rrdcached started.
      11. Aug 29 17:41:14 bigben systemd[1]: Started LSB: start or stop rrdcached.
      Display All

      some googling: lists.debian.org/debian-user/2002/12/msg00965.html

      Shell-Script

      1. root@bigben:/var/log# ls -l /sbin/start-stop-daemon*
      2. -rwxr-xr-x 1 root root 94 Jul 27 2017 /sbin/start-stop-daemon
      3. -rwxr-xr-x 1 root root 31848 Jun 26 12:28 /sbin/start-stop-daemon.REAL

      Shell-Script

      1. root@bigben:/sbin# mv start-stop-daemon.REAL start-stop-daemon
      2. root@bigben:/sbin# ls -l /sbin/start-stop-daemon*
      3. -rwxr-xr-x 1 root root 31848 Jun 26 12:28 /sbin/start-stop-daemon

      Shell-Script

      1. root@bigben:/sbin# /etc/init.d/rrdcached stop
      2. root@bigben:/sbin# /etc/init.d/rrdcached start
      3. [ ok ] Starting rrdcached (via systemctl): rrdcached.service.
      4. root@bigben:/sbin# systemctl status rrdcached.service
      5. ● rrdcached.service - LSB: start or stop rrdcached
      6. Loaded: loaded (/etc/init.d/rrdcached; generated; vendor preset: enabled)
      7. Active: active (running) since Wed 2018-08-29 18:34:57 CEST; 6s ago
      8. Docs: man:systemd-sysv-generator(8)
      9. Process: 22267 ExecStop=/etc/init.d/rrdcached stop (code=exited, status=0/SUCCESS)
      10. Process: 22308 ExecStart=/etc/init.d/rrdcached start (code=exited, status=0/SUCCESS)
      11. Tasks: 8 (limit: 4915)
      12. CGroup: /system.slice/rrdcached.service
      13. └─22313 /usr/bin/rrdcached -B -b /var/lib/rrdcached/db/ -j /var/lib/rrdcached/journal/ -p /var/run/rrdcached.pid -l unix:/var/run/rrdcached.sock
      14. Aug 29 18:34:57 bigben systemd[1]: Starting LSB: start or stop rrdcached...
      15. Aug 29 18:34:57 bigben rrdcached[22313]: starting up
      16. Aug 29 18:34:57 bigben rrdcached[22313]: checking for journal files
      17. Aug 29 18:34:57 bigben rrdcached[22313]: replaying from journal: /var/lib/rrdcached/journal/rrd.journal.1535560311.285748
      18. Aug 29 18:34:57 bigben rrdcached[22308]: rrdcached started.
      19. Aug 29 18:34:57 bigben systemd[1]: Started LSB: start or stop rrdcached.
      20. Aug 29 18:34:57 bigben rrdcached[22313]: Replayed 1044 entries (0 failures)
      21. Aug 29 18:34:57 bigben rrdcached[22313]: started new journal /var/lib/rrdcached/journal/rrd.journal.1535560497.307003
      22. Aug 29 18:34:57 bigben rrdcached[22313]: journal processing complete
      23. Aug 29 18:34:57 bigben rrdcached[22313]: listening for connections
      24. root@bigben:/sbin# ls /var/run/rrdcached.*
      25. /var/run/rrdcached.pid /var/run/rrdcached.sock
      Display All