Munin password not possible

Discussion in 'HOWTO-Related Questions' started by fatmaddin2000, Jan 10, 2015.

  1. fatmaddin2000

    fatmaddin2000 New Member

    Hello!

    I installed munin and monit following on my debian server. It seems working alright. But when I try to add a password for Munin and edit /etc/apache2/conf.d/munin and uncomment

    Code:
    AuthUserFile /etc/munin/munin-htpasswd
    AuthName "Munin"
    AuthType Basic
    require valid-user

    I got following message when I try to restart apache:
    Code:
    [FAIL] Reloading web server config: apache2 failed!
    root@server:~# /etc/init.d/apache2 restart
    Syntax error on line 10 of /etc/apache2/conf.d/munin:
    AuthUserFile not allowed here
    Action 'configtest' failed.
    
    Do you have a hint?

    I used these two HOWTOs to get it work.
    https://www.howtoforge.com/server-monitoring-with-munin-and-monit-on-debian-wheezy
    https://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the complete /etc/apache2/conf.d/munin file.
     

Share This Page