Ispconfig 3.1.6 Munin email fail

Discussion in 'ISPConfig 3 Priority Support' started by ktownmods, Jul 21, 2017.

  1. ktownmods

    ktownmods Member

    hey i become a lot of emails like this

    Code:
    Date: Fri, 21 Jul 2017 23:20:30 +0200 (CEST)
    From: Cron Daemon <root@ktownmods.org>
    To: root@ktownmods.org
    Subject: Cron <munin@ktownmods> if [ -x /usr/bin/munin-cron ]; then
            /usr/bin/munin-cron; fi
    
    Cannot open '/var/cache/munin/www/org/ktownmods.org/mysql_isam_space_.html' for writing: Permission denied at /usr/share/perl5/Munin/Master/HTMLOld.pm line 648.
    anyone have a fix for me

    thanks anyways
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely the munin process can not write to the html directory. Please post the output of:

    ls -la /var/cache/munin/www/
     
  3. ktownmods

    ktownmods Member

    Code:
    total 1008
    drwxr-xr-x 5 munin munin  4096 Jul  3 18:27 .
    drwxr-xr-x 3 root  root   4096 Jun 28 20:04 ..
    -rw-rw-r-- 1 munin munin  6985 Jul 24 10:45 active_inactive-day.html
    -rw-rw-r-- 1 munin munin  6987 Jul 24 10:45 active_inactive-month.html
    -rw-rw-r-- 1 munin munin  6986 Jul 24 10:45 active_inactive-week.html
    -rw-rw-r-- 1 munin munin  6986 Jul 24 10:45 active_inactive-year.html
    -rw-rw-r-- 1 munin munin  6984 Jul 24 10:45 cache-day.html
    -rw-rw-r-- 1 munin munin  6986 Jul 24 10:45 cache-month.html
    -rw-rw-r-- 1 munin munin  6985 Jul 24 10:45 cache-week.html
    -rw-rw-r-- 1 munin munin  6985 Jul 24 10:45 cache-year.html
    -rw-rw-r-- 1 munin munin  6957 Jul 24 10:45 candidates-day.html
    -rw-rw-r-- 1 munin munin  6959 Jul 24 10:45 candidates-month.html
    -rw-rw-r-- 1 munin munin  6958 Jul 24 10:45 candidates-week.html
    -rw-rw-r-- 1 munin munin  6958 Jul 24 10:45 candidates-year.html
    -rw-rw-r-- 1 munin munin  6875 Jul 24 10:45 direct_map-day.html
    -rw-rw-r-- 1 munin munin  6877 Jul 24 10:45 direct_map-month.html
    -rw-rw-r-- 1 munin munin  6876 Jul 24 10:45 direct_map-week.html
    -rw-rw-r-- 1 munin munin  6876 Jul 24 10:45 direct_map-year.html
    -rw-rw-r-- 1 munin munin 18891 Jul 24 10:45 disk-day.html
    -rw-rw-r-- 1 munin munin 18927 Jul 24 10:45 disk-month.html
    -rw-rw-r-- 1 munin munin 18909 Jul 24 10:45 disk-week.html
    -rw-rw-r-- 1 munin munin 18909 Jul 24 10:45 disk-year.html
    -rw-rw-r-- 1 munin munin 19378 Jul 24 10:45 free-day.html
    -rw-rw-r-- 1 munin munin 19414 Jul 24 10:45 free-month.html
    -rw-rw-r-- 1 munin munin 19396 Jul 24 10:45 free-week.html
    -rw-rw-r-- 1 munin munin 19396 Jul 24 10:45 free-year.html
    -rw-rw-r-- 1 munin munin  7592 Jul 24 10:45 hugepages-day.html
    -rw-rw-r-- 1 munin munin  7596 Jul 24 10:45 hugepages-month.html
    -rw-rw-r-- 1 munin munin  7594 Jul 24 10:45 hugepages-week.html
    -rw-rw-r-- 1 munin munin  7594 Jul 24 10:45 hugepages-year.html
    -rw-rw-r-- 1 munin munin  7561 Jul 24 10:45 index.html
    -rw-rw-r-- 1 munin munin  6913 Jul 24 10:45 kernel-day.html
    -rw-rw-r-- 1 munin munin  6915 Jul 24 10:45 kernel-month.html
    -rw-rw-r-- 1 munin munin  6914 Jul 24 10:45 kernel-week.html
    -rw-rw-r-- 1 munin munin  6914 Jul 24 10:45 kernel-year.html
    drwxr-xr-x 3 munin munin  4096 Jun 28 20:05 localdomain
    -rw-rw-r-- 1 munin munin  9528 Jul 24 10:45 memory-day.html
    -rw-rw-r-- 1 munin munin  9538 Jul 24 10:45 memory-month.html
    -rw-rw-r-- 1 munin munin  9533 Jul 24 10:45 memory-week.html
    -rw-rw-r-- 1 munin munin  9533 Jul 24 10:45 memory-year.html
    -rw-rw-r-- 1 munin munin  6904 Jul 24 10:45 munin-day.html
    -rw-rw-r-- 1 munin munin  6906 Jul 24 10:45 munin-month.html
    -rw-rw-r-- 1 munin munin  6905 Jul 24 10:45 munin-week.html
    -rw-rw-r-- 1 munin munin  6905 Jul 24 10:45 munin-year.html
    -rw-rw-r-- 1 munin munin 15069 Jul 24 10:45 mysql-day.html
    -rw-rw-r-- 1 munin munin 15093 Jul 24 10:45 mysql-month.html
    -rw-rw-r-- 1 munin munin 15081 Jul 24 10:45 mysql-week.html
    -rw-rw-r-- 1 munin munin 15081 Jul 24 10:45 mysql-year.html
    -rw-rw-r-- 1 munin munin  9852 Jul 24 10:45 network-day.html
    -rw-rw-r-- 1 munin munin  9864 Jul 24 10:45 network-month.html
    -rw-rw-r-- 1 munin munin  9858 Jul 24 10:45 network-week.html
    -rw-rw-r-- 1 munin munin  9858 Jul 24 10:45 network-year.html
    -rw-rw-r-- 1 munin munin  8775 Jul 24 10:45 nginx-day.html
    -rw-rw-r-- 1 munin munin  8783 Jul 24 10:45 nginx-month.html
    -rw-rw-r-- 1 munin munin  8779 Jul 24 10:45 nginx-week.html
    -rw-rw-r-- 1 munin munin  8779 Jul 24 10:45 nginx-year.html
    -rw-rw-r-- 1 munin munin  8192 Jul 24 10:45 node 0-day.html
    -rw-rw-r-- 1 munin munin  8198 Jul 24 10:45 node 0-month.html
    -rw-rw-r-- 1 munin munin  8195 Jul 24 10:45 node 0-week.html
    -rw-rw-r-- 1 munin munin  8195 Jul 24 10:45 node 0-year.html
    drwxr-xr-x 3 munin munin  4096 Jun 28 20:20 org
    -rw-rw-r-- 1 munin munin  7561 Jul 24 10:45 postfix-day.html
    -rw-rw-r-- 1 munin munin  7565 Jul 24 10:45 postfix-month.html
    -rw-rw-r-- 1 munin munin  7563 Jul 24 10:45 postfix-week.html
    -rw-rw-r-- 1 munin munin  7563 Jul 24 10:45 postfix-year.html
    -rw-rw-r-- 1 munin munin  6637 Jul 24 10:45 problems.html
    -rw-rw-r-- 1 munin munin  9144 Jul 24 10:45 processes-day.html
    -rw-rw-r-- 1 munin munin  9154 Jul 24 10:45 processes-month.html
    -rw-rw-r-- 1 munin munin  9149 Jul 24 10:45 processes-week.html
    -rw-rw-r-- 1 munin munin  9149 Jul 24 10:45 processes-year.html
    -rw-rw-r-- 1 munin munin  6825 Jul 24 10:45 reclaim-day.html
    -rw-rw-r-- 1 munin munin  6827 Jul 24 10:45 reclaim-month.html
    -rw-rw-r-- 1 munin munin  6826 Jul 24 10:45 reclaim-week.html
    -rw-rw-r-- 1 munin munin  6826 Jul 24 10:45 reclaim-year.html
    drwxr-xr-x 2 munin munin  4096 Jun 28 20:05 static
    -rw-rw-r-- 1 munin munin 12708 Jul 24 10:45 system-day.html
    -rw-rw-r-- 1 munin munin 12730 Jul 24 10:45 system-month.html
    -rw-rw-r-- 1 munin munin 12719 Jul 24 10:45 system-week.html
    -rw-rw-r-- 1 munin munin 12719 Jul 24 10:45 system-year.html
    -rw-rw-r-- 1 munin munin 22877 Jul 24 10:45 time-day.html
    -rw-rw-r-- 1 munin munin 22925 Jul 24 10:45 time-month.html
    -rw-rw-r-- 1 munin munin 22901 Jul 24 10:45 time-week.html
    -rw-rw-r-- 1 munin munin 22901 Jul 24 10:45 time-year.html
    -rw-rw-r-- 1 munin munin  6887 Jul 24 10:45 total-day.html
    -rw-rw-r-- 1 munin munin  6889 Jul 24 10:45 total-month.html
    -rw-rw-r-- 1 munin munin  6888 Jul 24 10:45 total-week.html
    -rw-rw-r-- 1 munin munin  6888 Jul 24 10:45 total-year.html
    -rw-rw-r-- 1 munin munin  6868 Jul 24 10:45 writeback-day.html
    -rw-rw-r-- 1 munin munin  6870 Jul 24 10:45 writeback-month.html
    -rw-rw-r-- 1 munin munin  6869 Jul 24 10:45 writeback-week.html
    -rw-rw-r-- 1 munin munin  6869 Jul 24 10:45 writeback-year.html
    lrwxrwxrwx 1 root  root     20 Jul  3 18:27 www -> /var/cache/munin/www
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This looks fine so far, please post the output of:

    ls -la /var/cache/munin/www/org/ktownmods.org/mysql_isam_space_.html
     
  5. ktownmods

    ktownmods Member

    Code:
    -rw-rw-r-- 1 bacula bacula 6935 Jul  8 20:55 /var/cache/munin/www/org/ktownmods.org/mysql_isam_space_.html
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The file has a wrong user, change it with:

    chown munin:munin /var/cache/munin/www/org/ktownmods.org/mysql_isam_space_.html
     
  7. ktownmods

    ktownmods Member

    Code:
    -rw-rw-r-- 1 munin munin 6935 Jul  8 20:55 /var/cache/munin/www/org/ktownmods.org/mysql_isam_space_.html
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page