<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: graphite site returns You don't have permission to access / on this server. in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/129935#M23447</link>
    <description>&lt;P&gt;Can you send what/where you changed exactly? &amp;nbsp;Sorry, i'm not really a xNIX guy and i've been fighting this for a while now. &amp;nbsp;Thx.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2017 18:24:09 GMT</pubDate>
    <dc:creator>OhGross</dc:creator>
    <dc:date>2017-04-07T18:24:09Z</dc:date>
    <item>
      <title>graphite site returns You don't have permission to access / on this server.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/119345#M21311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very new to Netapp environment but have good experience working on Linux servers. I found this very interesting to setup an open sourced based real time monitoring and graphs creation tool like Graphite and Grafana.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across the great post from Christopher Madden on "Quick Start: Installing Graphite and Grafana", My test bed is RHEL and I am trying to setup graphite and grafana on RHEL 7.1. Here is my problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed all steps as illustrated in quick guide but for some reason I am stuck with Graphite while Grafana is configured as expected. When I start apache webserver and try to access Graphite web login, it gives me Erro 403 - You don't have permission to access / on this server."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ls -ld /opt/graphite&lt;BR /&gt;drwxr-xr-x 8 root root 4096 May 17 11:56 /opt/graphite&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ls -lrt /opt/graphite&lt;BR /&gt;total 28&lt;BR /&gt;drwxr-xr-- 4 root root 4096 May 16 02:43 lib&lt;BR /&gt;drwxr-xr-- 2 root root 4096 May 16 02:43 bin&lt;BR /&gt;drwxr-xr-- 2 root root 4096 May 16 02:43 examples&lt;BR /&gt;drwxr-xr-x 4 root root 4096 May 17 12:07 webapp&lt;BR /&gt;drwxr-xr-x 2 root root 4096 May 17 12:22 conf&lt;BR /&gt;drwxr-xr-- 6 apache apache 4096 May 17 12:27 storage&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In error log file I am getting following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Tue May 17 12:27:44.776043 2016] [:error] [pid 7699] mod_wsgi (pid=7699): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.&lt;BR /&gt;[Tue May 17 12:27:44.776098 2016] [:error] [pid 7699] mod_wsgi (pid=7699): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.&lt;BR /&gt;[Tue May 17 12:27:44.776121 2016] [:error] [pid 7699] Traceback (most recent call last):&lt;BR /&gt;[Tue May 17 12:27:44.776143 2016] [:error] [pid 7699] File "/opt/graphite/conf/graphite.wsgi", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;[Tue May 17 12:27:44.776196 2016] [:error] [pid 7699] from graphite.wsgi import application&lt;BR /&gt;[Tue May 17 12:27:44.776224 2016] [:error] [pid 7699] ImportError: No module named graphite.wsgi&lt;BR /&gt;[Tue May 17 12:27:44.782577 2016] [:error] [pid 7700] mod_wsgi (pid=7700): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.&lt;BR /&gt;[Tue May 17 12:27:44.782694 2016] [:error] [pid 7700] mod_wsgi (pid=7700): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.&lt;BR /&gt;[Tue May 17 12:27:44.782785 2016] [:error] [pid 7700] Traceback (most recent call last):&lt;BR /&gt;[Tue May 17 12:27:44.782888 2016] [:error] [pid 7700] File "/opt/graphite/conf/graphite.wsgi", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;[Tue May 17 12:27:44.782991 2016] [:error] [pid 7700] from graphite.wsgi import application&lt;BR /&gt;[Tue May 17 12:27:44.783058 2016] [:error] [pid 7700] ImportError: No module named graphite.wsgi&lt;BR /&gt;[Tue May 17 12:27:44.783090 2016] [:error] [pid 7697] mod_wsgi (pid=7697): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.&lt;BR /&gt;[Tue May 17 12:27:44.783120 2016] [:error] [pid 7697] mod_wsgi (pid=7697): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.&lt;BR /&gt;[Tue May 17 12:27:44.783142 2016] [:error] [pid 7697] Traceback (most recent call last):&lt;BR /&gt;[Tue May 17 12:27:44.783167 2016] [:error] [pid 7697] File "/opt/graphite/conf/graphite.wsgi", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;[Tue May 17 12:27:44.783223 2016] [:error] [pid 7697] from graphite.wsgi import application&lt;BR /&gt;[Tue May 17 12:27:44.783250 2016] [:error] [pid 7697] ImportError: No module named graphite.wsgi&lt;BR /&gt;[Tue May 17 12:27:44.788407 2016] [:error] [pid 7698] mod_wsgi (pid=7698): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.&lt;BR /&gt;[Tue May 17 12:27:44.788438 2016] [:error] [pid 7698] mod_wsgi (pid=7698): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.&lt;BR /&gt;[Tue May 17 12:27:44.788459 2016] [:error] [pid 7698] Traceback (most recent call last):&lt;BR /&gt;[Tue May 17 12:27:44.788483 2016] [:error] [pid 7698] File "/opt/graphite/conf/graphite.wsgi", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;[Tue May 17 12:27:44.788536 2016] [:error] [pid 7698] from graphite.wsgi import application&lt;BR /&gt;[Tue May 17 12:27:44.788564 2016] [:error] [pid 7698] ImportError: No module named graphite.wsgi&lt;BR /&gt;[Tue May 17 12:27:44.789582 2016] [:error] [pid 7701] mod_wsgi (pid=7701): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.&lt;BR /&gt;[Tue May 17 12:27:44.789662 2016] [:error] [pid 7701] mod_wsgi (pid=7701): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.&lt;BR /&gt;[Tue May 17 12:27:44.789724 2016] [:error] [pid 7701] Traceback (most recent call last):&lt;BR /&gt;[Tue May 17 12:27:44.789787 2016] [:error] [pid 7701] File "/opt/graphite/conf/graphite.wsgi", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;[Tue May 17 12:27:44.789920 2016] [:error] [pid 7701] from graphite.wsgi import application&lt;BR /&gt;[Tue May 17 12:27:44.789988 2016] [:error] [pid 7701] ImportError: No module named graphite.wsgi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my virtual host conf file contents:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# cat /etc/httpd/conf.d/graphite-vhost.conf&lt;BR /&gt;# This needs to be in your server's config somewhere, probably&lt;BR /&gt;# the main httpd.conf&lt;BR /&gt;# NameVirtualHost *:80&lt;/P&gt;&lt;P&gt;# This line also needs to be in your server's config.&lt;BR /&gt;# LoadModule wsgi_module modules/mod_wsgi.so&lt;/P&gt;&lt;P&gt;# You need to manually edit this file to fit your needs.&lt;BR /&gt;# This configuration assumes the default installation prefix&lt;BR /&gt;# of /opt/graphite/, if you installed graphite somewhere else&lt;BR /&gt;# you will need to change all the occurances of /opt/graphite/&lt;BR /&gt;# in this file to your chosen install location.&lt;/P&gt;&lt;P&gt;&amp;lt;IfModule !wsgi_module.c&amp;gt;&lt;BR /&gt;LoadModule wsgi_module modules/mod_wsgi.so&lt;BR /&gt;&amp;lt;/IfModule&amp;gt;&lt;/P&gt;&lt;P&gt;# XXX You need to set this up!&lt;BR /&gt;# Read &lt;A href="http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGISocketPrefix" target="_blank"&gt;http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGISocketPrefix&lt;/A&gt;&lt;BR /&gt;WSGISocketPrefix run/wsgi&lt;/P&gt;&lt;P&gt;&amp;lt;VirtualHost *:81&amp;gt;&lt;BR /&gt;Header set Access-Control-Allow-Origin "*"&lt;BR /&gt;Header set Access-Control-Allow-Methods "GET, OPTIONS"&lt;BR /&gt;Header set Access-Control-Allow-Headers "origin, authorization, accept"&lt;BR /&gt;#&lt;BR /&gt;ServerName graphite&lt;BR /&gt;DocumentRoot "/opt/graphite/webapp"&lt;BR /&gt;ErrorLog /opt/graphite/storage/log/webapp/error.log&lt;BR /&gt;CustomLog /opt/graphite/storage/log/webapp/access.log common&lt;/P&gt;&lt;P&gt;# I've found that an equal number of processes &amp;amp; threads tends&lt;BR /&gt;# to show the best performance for Graphite (ymmv).&lt;BR /&gt;WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120&lt;BR /&gt;WSGIProcessGroup graphite&lt;BR /&gt;WSGIApplicationGroup %{GLOBAL}&lt;BR /&gt;WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL}&lt;/P&gt;&lt;P&gt;# XXX You will need to create this file! There is a graphite.wsgi.example&lt;BR /&gt;# file in this directory that you can safely use, just copy it to graphite.wgsi&lt;BR /&gt;WSGIScriptAlias / /opt/graphite/conf/graphite.wsgi&lt;/P&gt;&lt;P&gt;Alias /content/ /opt/graphite/webapp/content/&lt;BR /&gt;&amp;lt;Location "/content/"&amp;gt;&lt;BR /&gt;SetHandler None&lt;BR /&gt;&amp;lt;/Location&amp;gt;&lt;/P&gt;&lt;P&gt;# XXX In order for the django admin site media to work you&lt;BR /&gt;# must change @DJANGO_ROOT@ to be the path to your django&lt;BR /&gt;# installation, which is probably something like:&lt;BR /&gt;# /usr/lib/python2.6/site-packages/django&lt;BR /&gt;Alias /media/ "/usr/lib/python2.7/site-packages/django/contrib/admin/media/"&lt;BR /&gt;&amp;lt;Location "/media/"&amp;gt;&lt;BR /&gt;SetHandler None&lt;BR /&gt;&amp;lt;/Location&amp;gt;&lt;/P&gt;&lt;P&gt;# The graphite.wsgi file has to be accessible by apache. It won't&lt;BR /&gt;# be visible to clients because of the DocumentRoot though.&lt;/P&gt;&lt;P&gt;&amp;lt;Directory /opt/graphite/&amp;gt;&lt;BR /&gt;Options All&lt;BR /&gt;AllowOverride All&lt;BR /&gt;Require all granted&lt;BR /&gt;&amp;lt;/Directory&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did lot of search and checks but I am back to square. No able to locate where is the issue. &amp;nbsp;I will highly thankful, If you can help based on the experiece you have with these tools.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 16:50:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/119345#M21311</guid>
      <dc:creator>DeepakKumar</dc:creator>
      <dc:date>2016-05-17T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: graphite site returns You don't have permission to access / on this server.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/119479#M21350</link>
      <description>&lt;P&gt;The issue is now fixed and it turned out that change in default umask setting caused all this trouble.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 07:00:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/119479#M21350</guid>
      <dc:creator>DeepakKumar</dc:creator>
      <dc:date>2016-05-20T07:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: graphite site returns You don't have permission to access / on this server.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/119506#M21359</link>
      <description>&lt;P&gt;Great to hear! &amp;nbsp;Maybe you can also set your answer as "correct"? &amp;nbsp;It makes it easier to see that the question was answered when searching!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 20:00:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/119506#M21359</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2016-05-20T20:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: graphite site returns You don't have permission to access / on this server.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/129935#M23447</link>
      <description>&lt;P&gt;Can you send what/where you changed exactly? &amp;nbsp;Sorry, i'm not really a xNIX guy and i've been fighting this for a while now. &amp;nbsp;Thx.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:24:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/graphite-site-returns-You-don-t-have-permission-to-access-on-this-server/m-p/129935#M23447</guid>
      <dc:creator>OhGross</dc:creator>
      <dc:date>2017-04-07T18:24:09Z</dc:date>
    </item>
  </channel>
</rss>

