2014-07-30 15:33:48,452 [1406727228] Critical : Back trace of it: Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/shinken/daemons/schedulerdaemon.py", line 479, in main
self.do_mainloop()

 "/usr/local/lib/python2.7/dist-packages/shinken/daemon.py", line 322, in do_mainloop
self.do_loop_turn()

 "/usr/local/lib/python2.7/dist-packages/shinken/daemons/schedulerdaemon.py", line 331, in do_loop_turn
self.setup_new_conf()

 "/usr/local/lib/python2.7/dist-packages/shinken/daemons/schedulerdaemon.py", line 338, in setup_new_conf
conf_raw = pk['conf']KeyError: 'conf'
Traceback (most recent call last):

 "/usr/local/bin/gunicorn_django", line 9, in <module>
load_entry_point('gunicorn==0.11.2.0f3f2e6-git', 'console_scripts', 'gunicorn_django')()

 "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 299, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)

 "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2229, in load_entry_point
return ep.load()

 "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1948, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])

 "/usr/local/lib/python2.6/dist-packages/gunicorn-0.11.2.0f3f2e6_git-py2.6.egg/gunicorn/app/djangoapp.py", line 11, in
<module>
from django.core.servers.basehttp import AdminMediaHandler, WSGIServerException

 "/usr/local/lib/python2.6/dist-packages/django/core/servers/basehttp.py", line 20, in <module>
from django.contrib.staticfiles.handlers import Static
sHandler

 "/usr/local/lib/python2.6/dist-packages/django/contrib/staticfiles/handlers.py", line 8, in <module>
from django.contrib.staticfiles.views import serve

 "/usr/local/lib/python2.6/dist-packages/django/contrib/staticfiles/views.py", line 20, in <module>
from django.contrib.staticfiles import finders

 "/usr/local/lib/python2.6/dist-packages/django/contrib/staticfiles/finders.py", line 3, in <module>
from django.db import models

 "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py", line 14, in <module>
if not settings.DATABASES:

 "/usr/local/lib/python2.6/dist-packages/django/utils/functional.py", line 276, in __getattr__
self._setup()

 "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 39, in _setup
raise ImportError("Settings cannot be imported, because environment variable %s is undefined." %
ENVIRONMENT_VARIABLE)ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.