Beiträge von maarten

    I have described in my previous post how to start rrdcached manually. I found a thread on this forum where someone (racoonsn) found the solution. Cause of this problem is a fake startupscript in debian. The fake startupscript was used during installation and should be replaced by the REAL one. This replacement has failed for some reason, but you can do it manaually once, then reboot your system and rrdcached starts fine.


    See this thread to read racoonsn fix: https://forum.openmediavault.o…3-rrdcached-plugin-error/


    Solution is to replace a fake startup script with a real startup scripts. The real file already exists, you just have to copy it over the fake one. They both exist in the /sbin directory.


    Code
    ls -al /sbin/start-stop-daemon*
    -rwxr-xr-x 1 root root 94 Feb 14 23:12 /sbin/start-stop-daemon
    -rwxr-xr-x 1 root root 31848 Jun 26 2018 /sbin/start-stop-daemon.REAL

    Content of fake script, which is active by default:

    Code
    cat start-stop-daemon
    #!/bin/sh
    echo 1>&2
    echo 'Warning: Fake start-stop-daemon called, doing nothing.' 1>&2
    exit 0

    Now I just copied the REAL script (binary) over the fake script.


    Code
    cd /sbin/
    cp start-stop-daemon.REAL start-stop-daemon

    Reboot you omv installation and rrdcached starts automatically. Errors are gone and graphs start to work.

    I think I found the cause of the problem (not the root caus unfortunately) and found a workaround to get rid of the error and get the graphs working. I did have the same problem:


    Feb 17 23:33:07 storage collectd[5812]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory


    I discovered that collectd wants to connect to a unix socket created by rrdcached. rrdcached is not started for an unknown reason. systemd fails to start it. I started it manually with the correct socket path and it works for me.


    /usr/bin/rrdcached -l unix:/var/run/rrdcached.sock


    After that I restarted collectd (not sure if it was required) and errors are gone, graphs start to work.


    Now I just have to find out why rrdcached does not start correct by systemd or init script.