Installing Munin
a2ensite munin.mysite.be
I get:````
site:/etc# a2ensite munin.site.be
ERROR: Site munin.site.be does not exist!
Site.be does exist and I added the munin subdomain via virtualmin. I also added an A-record in the DNS manager. When I access munin.site.be I just see a````
Forbidden you don't have permission to access / on this server
So AFAIK the subdomain does "exist".
Can anyone guide me to finish the munin installation?
My hosts file:
site:/etc# vim /etc/hosts
127.0.0.1 localhost site
178.79.129.192 site.site.eu site.eu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
<virtualhost 127.0.0.1:80="">ServerAdmin me@gmail.com
ServerName munin.site.be
DocumentRoot /var/www/munin
<directory>Options FollowSymLinks
AllowOverride None</directory>
LogLevel notice
CustomLog /var/log/apache2/access.log combined
ErrorLog /var/log/apache2/error.log
ServerSignature On</virtualhost>
5 Replies
Library says you should put that in something like /etc/apache2/sites-available/stats.ducklington.org (change it to your domain)
<virtualhost 127.0.0.1:80="">ServerAdmin sme@gmail.com
ServerName munin.site.be
DocumentRoot /var/www/munin
<directory>Options FollowSymLinks
AllowOverride None</directory>
LogLevel notice
CustomLog /var/log/apache2/access.log combined
ErrorLog /var/log/apache2/error.log
ServerSignature On</virtualhost>
a2ensite munin.site.be
I get:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ERROR: Site munin.site.be does not exist!
When I visit munin.site.be I just see one of the sites that's hosted on my server.
Can anyone tell me how to finish the Munin installation or how I can debug the problem?
Second: a2ensite name <– that name must be a file in /etc/apache2/sites-available, with the vhost config