Estou tentando instalar carbon , ceres , graphite-web e whisper em um sistema Debian 7.11 .
Eu instalei tudo de acordo com a Documentação de grafite e o ps auxf mostra todos os softwares acima e em execução.
Mas quando eu acesso o Graphite Server, recebo uma página Internal Server Error .
Os logs de erro exibem a seguinte mensagem ao acessar o servidor Graphite.
mod_wsgi (pid=9951): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=9951): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
Traceback (most recent call last):
File "/opt/graphite/conf/graphite.wsgi", line 4, in <module>
from graphite.wsgi import application
File "/opt/graphite/webapp/graphite/wsgi.py", line 14, in <module>
application = get_wsgi_application()
File "/usr/local/lib/python2.7/dist-packages/Django-1.11.5-py2.7.egg/django/core/wsgi.py", line 13, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lib/python2.7/dist-packages/Django-1.11.5-py2.7.egg/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/Django-1.11.5-py2.7.egg/django/apps/registry.py", line 78, in populate
raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant
O que tentei até agora:
libapache2-mod-python libapache2-mod-wsgi
graphite.wsgi executável ( chmod +x graphite.wsgi ) LoadModule wsgi_module modules/mod_wsgi.so de graphite-vhost.conf . wsgi.load inclui o mesmo arquivo. django está instalado: python -c "import django; print(django.get_version())" outputs " 1.11.5 "