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

  • 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?

    • Offizieller Beitrag

    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.

  • 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:

    Code
    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.

  • 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:

    Bash
    # /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
    
    
    #  ps aux | grep rrdroot
          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
    
    
    # ls /var/run/rrd*
    /var/run/rrdcached.pid  /var/run/rrdcached.sock
  • Now I found the it!



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


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


    My OMV4 server had been running without any problem for a couple of years.

    Yesterday, I took the time to upgrade to OMV5, and I faced the same issue with rrdcached.

    omv-firstaid basically reported an issue.

    Reinstalled OMV5 a second time, same issue.


    Then, I found this thread.

    Thank you racoonsn for the fix, this solved my problem!


    Regards,

    aldweb

  • I also have all these errors, and I try to do the above procedure, but one command doesn't work :


    Code
    root@rdhome:~# ls -l /sbin/start-stop-daemon*
    -rwxr-xr-x 1 root root    94 mai   14 11:10 /sbin/start-stop-daemon
    -rwxr-xr-x 1 root root 44200 juin   3  2019 /sbin/start-stop-daemon.REAL
    root@rdhome:~# mv start-stop-daemon.REAL start-stop-daemon
    mv: impossible d'évaluer 'start-stop-daemon.REAL': Aucun fichier ou dossier de ce type

    Could you help me ?


    Thanks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!