clamav truncate-logs error

  • Hi all,


    I constantly get the following error:

    Code
    Cron <root@NAS> /usr/lib/armbian/armbian-truncate-logs on the Mon, 6 Apr 2020 13:30:18 -0300 (-03)
    error: Ignoring clamav-daemon because the file owner is wrong (should be root or user with uid 0).
    error: Ignoring clamav-freshclam because the file owner is wrong (should be root or user with uid 0).

    I 've already checked the files, changed the owner to root, but the message keeps coming.


    Code
    sudo ls -al clamav
    total 8
    drwxrwx--- 2 root clamav 4096 Mar 26 09:37 .
    drwxr-xr-x 15 root root 4096 Apr 6 13:30 ..
    -rw-rw---- 1 root clamav 0 Apr 6 13:30 clamav.log
    -rw-rw---- 1 root clamav 0 Apr 6 13:30 freshclam.log


    Any clue ?

    Thanks !

  • I thin I found the problem.


    I think it's not the log files that has the wrong owner, but the logrotate configuration for clamv, located at /etc/logrotate.d


    Changed. Let's see if the problem stops happening

Participate now!

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