OMV 4 - rrdcached service issue

  • After every restart the rrdcached service isn't working anymore.
    So it has to be fixed after every restart with omv-mkconf rrdcached to get it working again.


    Not a big issue but would be great if it could be fixed.


    Thanks.

    OMV 4 Arrakis | Kernel 4.14 ... running on
    SelfBuilt NAS -- Asrock Q1900-ITX -- 4x 2,4 GHz in Burst Mode -- 4 GB DDR3 RAM -- RAID 5 -- 3x 3TB WD Red

    • Official Post

    This should not happen and I do not have problems since a long time. Maybe your hardware clock does not work. A correct time is absolutely important for a time series database.

  • I have the similar issues with rrdcached service.


    there are no rrdcached.pid and rrdcached.sock at /var/run/
    there are no process at ps -ax | grep rrd


    i tried omv-firstaid - check RRD database
    and got the following


    Code
    Checking all RRD files. Please wait ...
    State file '/var/lib/monit/state': Unable to truncate
    All RRD database files are valid.
    'rrdcached' start: '/bin/systemctl start rrdcached'
    'rrdcached' failed to start (exit status 0) -- no output
    ERROR: Command '['monit', 'start', 'rrdcached']' returned non-zero exit status 1

    it seams that some monitoring state must be at /var/lib/monit/
    i suppose that it's created when monitorind is activated at webconfig
    but there are no state file in my config...


    Any advise are appreciated
    Thank's a lot


    PS. I'm using latest stable version with all updates installed
    ntp is used for the time sync
    as well Flash Memory plugin is installed

  • so, I found that problem is somewhere in init scripts....


    I run rrdcached manually with


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

    and not it works...


    So, is there any ideas how to debug the init script?

  • hm...
    the init script (/etc/init.d/rrdchached) is the same like tin system where rrdcached works fine


    how can it be?! at one system the same script starts daemon, at another - no !!!!

  • Hi guys, I have exactly same problem, thanks for the command to run rrdcached manually, that works.
    Did you have any new findings on the automatic start?

  • Hello everyone, I am very new to OMV, and I'm not sure where to go to run the command manually. I also am running into another issue with an update file. I have both issues below. thanks.

  • Same here: syslog is full of


    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)


    Thus I ran omv-firstaid (command line) and chose 'Check RRD database'. This gives:


    Checking all RRD files. Please wait ...

    State file '/var/lib/monit/state': Unable to truncate

    All RRD database files are valid.

    'rrdcached' start: '/bin/systemctl start rrdcached'

    'rrdcached' failed to start (exit status 0) -- no output

    ERROR: Command '['monit', 'start', 'rrdcached']' returned non-zero exit status 1

    root@nas11:~# 'rrdcached' start: '/bin/systemctl start rrdcached'

    root@nas11:~# 'rrdcached' failed to start (exit status 0) -- no output


    This is on OMV 4.1.35-1 (Arrakis)


    Any clues how to get rid of this?


    Thanks/Evert

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!