Excetion loading graphite.wsgi
Hi to all,
I am despairing!
I try to install graphite (0.9.14 due to python version 2.6)in on RHEL 6.7. I did all necessary step during installation (I believe that I did it). If I start appache or call http://
AttributeError: 'NoneType' object has no attribute 'find'
mod_wsgi (pid=2809): Target WSGI script '/opt/graphite/
mod_wsgi (pid=2809): Target WSGI script '/opt/graphite/
mod_wsgi (pid=2809): Exception occurred processing WSGI script '/opt/graphite/
Traceback (most recent call last):
File "/opt/graphite/
application = DjangoWhiteNois
File "/usr/lib/
self.configure_
File "/usr/lib/
getattr(settings, 'STATIC_URL', ''))
File "/usr/lib/
return format_
File "/usr/lib64/
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib64/
i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
I have running test box with RHEL 6.5 and graphite 0.9.13. with an identical configuration.
Any suggestions?
graphite.wsgi:
Listen 8080
<IfModule !wsgi_module.c>
LoadModule wsgi_module modules/mod_wsgi.so
</IfModule>
# XXX You need to set this up!
# Read http://
WSGISocketPrefix run/wsgi
<VirtualHost *:8080>
ServerName my.server.net
ErrorLog /var/log/
CustomLog /var/log/
# I've found that an equal number of processes & threads tends
# to show the best performance for Graphite (ymmv).
# XXX You will need to create this file! There is a graphite.
# file in this directory that you can safely use, just copy it to graphite.wgsi
Alias /content/ /opt/graphite/
<Location "/content/">
</Location>
# XXX In order for the django admin site media to work you
# must change @DJANGO_ROOT@ to be the path to your django
# installation, which is probably something like:
# /usr/lib/
# Alias /media/ "@DJANGO_
Alias /media/ "/usr/lib/
<Location "/media/">
</Location>
# The graphite.wsgi file has to be accessible by apache. It won't
# be visible to clients because of the DocumentRoot though.
<Directory /opt/graphite/
</VirtualHost>
Regards
Ralph
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ralph for more information if necessary.