Anacron Error: proftpd-basic:16 duplicate log entry

    • OMV 3.x
    • Anacron Error: proftpd-basic:16 duplicate log entry

      Hello everybody,

      I've updated OMV from 3.0.41 to 3.0.42 on 2016-10-06 (see last entry in /var/log/apt/history.log below). I've been using OMV3 for some months now.

      Source Code

      1. Start-Date: 2016-10-06 20:20:32
      2. Commandline: apt-get --yes --force-yes --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::=--force-confold install openmediavault
      3. Upgrade: openmediavault:amd64 (3.0.41, 3.0.42)
      4. End-Date: 2016-10-06 20:20:45

      Source Code

      1. root@homenas:~# uname -a
      2. Linux homenas 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.4-1~bpo8+1 (2016-08-11) x86_64 GNU/Linux

      For the last two days after perofming the update, I receive the following anacron error via email once a day:
      /etc/cron.daily/logrotate:
      error: proftpd-basic:16 duplicate log entry for /var/log/proftpd/xferlog
      From my point of view it seems to be connected to the 3.0.42 update, because I've never received this error message before. Maybe the file in /etc/logrotate.d/ can tell you guys anything:

      Source Code

      1. root@homenas:~# ls -alh /etc/logrotate.d/
      2. insgesamt 72K
      3. drwxr-xr-x 2 root root 4,0K Okt 6 20:20 .
      4. drwxrwxr-x 100 root root 4,0K Okt 6 20:20 ..
      5. -rw-r--r-- 1 root root 173 Jun 10 2015 apt
      6. -rw-r--r-- 1 root root 113 Mai 24 2013 cron-apt
      7. -rw-r--r-- 1 root root 232 Apr 10 2015 dpkg
      8. -rw-r--r-- 1 root root 268 Sep 30 2014 monit
      9. -rw-r--r-- 1 root root 330 Dez 1 2014 nginx
      10. -rw-r--r-- 1 root root 143 Okt 5 21:35 openmediavault-proftpd_xferlog
      11. -rw-r--r-- 1 root root 137 Jan 1 2016 openmediavault-rsync
      12. -rw-r--r-- 1 root root 160 Jan 1 2016 openmediavault-rsyncd
      13. -rw-r--r-- 1 root root 138 Jan 1 2016 openmediavault-smartd
      14. -rw-r--r-- 1 root root 205 Jan 1 2016 openmediavault-smbd_audit
      15. -rw-r--r-- 1 root root 152 Okt 4 2015 php5-fpm
      16. -rw-r--r-- 1 root root 157 Jul 10 2014 pm-utils
      17. -rw-r--r-- 1 root root 799 Mai 19 2015 proftpd-basic
      18. -rw-r--r-- 1 root root 67 Jul 11 2013 rsnapshot
      19. -rw-r--r-- 1 root root 515 Aug 29 2015 rsyslog
      20. -rw-r--r-- 1 root root 321 Dez 28 2015 samba
      Display All
      I'd really appreciate your support. If you need any further information, please let me know!

      Thanks in advance
      bash0r
    • The issue is fixed in 3.0.43.
      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
    • votdev wrote:

      The issue is fixed in 3.0.43.
      I've received the email (containing the error message) again today although I've updated to 3.0.43 yesterday :(

      I've found the issue in the mantis bugtracker: bugtracker.openmediavault.org/view.php?id=1613
      You've also linked the commit: github.com/openmediavault/open…3a6f92453718f5e5d401e2a69

      Although the commit removes the lines from /etc/logrotate.d/openmediavault-proftpd_xferlog, the lines are still in the file after updating to 3.0.43. Maybe the commit wasn't included in 3.0.43?

      The post was edited 2 times, last by bash0r ().

    • The file /etc/logrotate.d/openmediavault-proftpd_xferlog should be removed automatically by the package management. If not, then simply delete it manually.
      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
    • I'm absolutely happy with v3 and your brilliant support.
      For me, the upgrade to 3.0.43 fixed the issue.
      Thanks a lot and keep on coding, I'm eagerly waiting for v3 final release :)

      Edit
      Issue occurred again, had to delete the file manually too. For now it's working.

      The post was edited 1 time, last by Ener: Update ().

    • Hi there,
      I have got the same issue in my NAS (running 3.0.76 with backport 4.9.18-1~bpo8+1 (2017-04-10) x86_64)
      And no matter is /etc/logrotate.d/openmediavault-proftpd_xferlog exist or not.
      Воеу anybody know to fix this minor issue?
      Thanks for your attention. Peace!
      OMV 3.0.76 / 4.9.25-1~bpo8+1 (2017-05-19) x86_64 / ASRock C2550D4I (4 core 2.4GHz) / 8GB DDR3 / SSD8GB + 4 x 3TB (RAID-5)