UWSGI+Graphite+Ubuntu issues.
I am trying to configure uwsgi to manage graphite.
Graphite was installed via the graphite-web package in ubuntu 14.04 by following this tutorial:
https:/
Here is my uwsgi config for graphite(I have tried many iterations of this):
[uwsgi]
uid = _graphite
gid = _graphite
logto = /var/log/
plugins = python ; have also tried python27
wsgi-file = /usr/share/
http-socket = :8080
I get the following error when trying to start the app:
Traceback (most recent call last):
File "/usr/share/
from graphite.logger import log
ImportError: No module named graphite.logger
Here are the contents of /usr/share/
import os, sys
os.environ[
import django.
application = django.
# READ THIS
# Initializing the search index can be very expensive, please include
# the WSGIScriptImport directive pointing to this script in your vhost
# config to ensure the index is preloaded before any requests are handed
# to the process.
from graphite.logger import log
log.info(
import graphite.
I have tried altering the above file only to surface more errors regarding the django configuration file. Since this was included in the distro packaging, I am assuming that I'm missing something in my uwsgi config file. google has not been very helpful.
Anyone use graphite behind uwsgi? Any tips for debugging further?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bryan Bickford
- Solved:
- Last query:
- Last reply: