Anacron daily and weekly notifications

    • OMV 3.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Anacron daily and weekly notifications

      Hi, I enabled email notifications and since that day I receive this daily email from Anacron:

      Source Code

      1. run-parts: /etc/cron.daily/monitor-raspi-health exited with return code 1
      2. /etc/cron.daily/openmediavault-cron-apt:
      3. stdin: is not a tty

      Once a week, also the cron.weekly job sends an email:


      Source Code

      1. /etc/cron.weekly/openmediavault-update-smart-drivedb:
      2. stdin: is not a tty


      Can you help me to stop receiving those messages?
    • Well, I applied the change to .profile and rebooted.
      Today I received a slightly different email:

      Source Code

      1. run-parts: /etc/cron.daily/monitor-raspi-health exited with return code 1


      It seems that stdin message disappeared, but monitor-raspi-health returned RC=1.
      I had a look at /var/log/raspihealth.log, but today's line is missing and the last row is all made of zeroes:


      Source Code

      1. $ tail /var/log/raspihealth.log
      2. Tue Feb 20 07:37:30 CET 2018 1010000000000000000
      3. Wed Feb 21 08:01:10 CET 2018 1010000000000000000
      4. Thu Feb 22 07:56:15 CET 2018 1010000000000000000
      5. Fri Feb 23 08:00:07 CET 2018 1010000000000000000
      6. Sat Feb 24 07:57:59 CET 2018 1010000000000000000
      7. Sat Feb 24 16:45:20 CET 2018 1010000000000000000
      8. Sat Feb 24 18:16:48 CET 2018 0000000000000000000
      9. Sat Apr 7 22:42:49 CEST 2018 0000000000000000000
      10. Sat Apr 14 17:51:36 CEST 2018 0000000000000000000
      11. Fri Apr 20 10:05:33 CEST 2018 0000000000000000000
      Display All

      After some more analysis, I see that issue in /etc/cron.daily/monitor-raspi-health may come from the output of vcgencmd:


      Shell-Script

      1. $ cat monitor-raspi-health
      2. #!/bin/bash
      3. export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      4. sleep 10
      5. Health=$(perl -e "printf \"%19b\n\", $(vcgencmd get_throttled | cut -f2 -d=)")
      6. grep -q 1 <<<${Health} && echo -e "$(date)\t$(printf "%019d" ${Health})" >>/var/log/raspihealth.log
      7. $ vcgencmd get_throttled | cut -f2 -d=
      8. VCHI initialization failed
      9. $ vcgencmd
      10. VCHI initialization failed


      How can I understand what he wants to tell me?

      The post was edited 6 times, last by liv ().

    • Users Online 1

      1 Guest