Advertisement
Guest User

Modoboa Error

a guest
Sep 9th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.29 KB | None | 0 0
  1. 2013-09-09 12:46:15 [10577] [INFO] Starting gunicorn 18.0
  2. 2013-09-09 12:46:15 [10577] [INFO] Listening at: unix:/var/run/gunicorn/modoboa.sock (10577)
  3. 2013-09-09 12:46:15 [10577] [INFO] Using worker: sync
  4. 2013-09-09 12:46:15 [10582] [INFO] Booting worker with pid: 10582
  5. 2013-09-09 12:46:15 [10583] [INFO] Booting worker with pid: 10583
  6. 2013-09-09 07:46:16 [10583] [ERROR] Exception in worker process:
  7. Traceback (most recent call last):
  8. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/arbiter.py", line 495, in spawn_worker
  9. worker.init_process()
  10. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/workers/base.py", line 106, in init_process
  11. self.wsgi = self.app.wsgi()
  12. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/base.py", line 114, in wsgi
  13. self.callable = self.load()
  14. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/djangoapp.py", line 106, in load
  15. return mod.make_wsgi_application()
  16. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/django_wsgi.py", line 36, in make_wsgi_application
  17. if get_validation_errors(s):
  18. File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
  19. from django.db import models, connection
  20. File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py", line 11, in <module>
  21. if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
  22. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 53, in __getattr__
  23. self._setup(name)
  24. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 49, in _setup
  25. self._configure_logging()
  26. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 84, in _configure_logging
  27. logging_config_func(self.LOGGING)
  28. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 555, in dictConfig
  29. dictConfigClass(config).configure()
  30. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 354, in configure
  31. '%r: %s' % (name, e))
  32. ValueError: Unable to configure handler 'modoboa': Cannot resolve 'modoboa.lib.logutils.SQLHandler': cannot import name connection
  33. Traceback (most recent call last):
  34. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/arbiter.py", line 495, in spawn_worker
  35. worker.init_process()
  36. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/workers/base.py", line 106, in init_process
  37. self.wsgi = self.app.wsgi()
  38. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/base.py", line 114, in wsgi
  39. self.callable = self.load()
  40. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/djangoapp.py", line 106, in load
  41. return mod.make_wsgi_application()
  42. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/django_wsgi.py", line 36, in make_wsgi_application
  43. if get_validation_errors(s):
  44. File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
  45. from django.db import models, connection
  46. File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py", line 11, in <module>
  47. if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
  48. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 53, in __getattr__
  49. self._setup(name)
  50. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 49, in _setup
  51. self._configure_logging()
  52. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 84, in _configure_logging
  53. logging_config_func(self.LOGGING)
  54. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 555, in dictConfig
  55. dictConfigClass(config).configure()
  56. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 354, in configure
  57. '%r: %s' % (name, e))
  58. ValueError: Unable to configure handler 'modoboa': Cannot resolve 'modoboa.lib.logutils.SQLHandler': cannot import name connection
  59. 2013-09-09 07:46:16 [10583] [INFO] Worker exiting (pid: 10583)
  60. 2013-09-09 07:46:16 [10582] [ERROR] Exception in worker process:
  61. Traceback (most recent call last):
  62. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/arbiter.py", line 495, in spawn_worker
  63. worker.init_process()
  64. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/workers/base.py", line 106, in init_process
  65. self.wsgi = self.app.wsgi()
  66. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/base.py", line 114, in wsgi
  67. self.callable = self.load()
  68. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/djangoapp.py", line 106, in load
  69. return mod.make_wsgi_application()
  70. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/django_wsgi.py", line 36, in make_wsgi_application
  71. if get_validation_errors(s):
  72. File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
  73. from django.db import models, connection
  74. File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py", line 11, in <module>
  75. if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
  76. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 53, in __getattr__
  77. self._setup(name)
  78. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 49, in _setup
  79. self._configure_logging()
  80. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 84, in _configure_logging
  81. logging_config_func(self.LOGGING)
  82. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 555, in dictConfig
  83. dictConfigClass(config).configure()
  84. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 354, in configure
  85. '%r: %s' % (name, e))
  86. ValueError: Unable to configure handler 'modoboa': Cannot resolve 'modoboa.lib.logutils.SQLHandler': cannot import name connection
  87. Traceback (most recent call last):
  88. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/arbiter.py", line 495, in spawn_worker
  89. worker.init_process()
  90. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/workers/base.py", line 106, in init_process
  91. self.wsgi = self.app.wsgi()
  92. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/base.py", line 114, in wsgi
  93. self.callable = self.load()
  94. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/djangoapp.py", line 106, in load
  95. return mod.make_wsgi_application()
  96. File "/usr/local/lib/python2.6/dist-packages/gunicorn-18.0-py2.6.egg/gunicorn/app/django_wsgi.py", line 36, in make_wsgi_application
  97. if get_validation_errors(s):
  98. File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
  99. from django.db import models, connection
  100. File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py", line 11, in <module>
  101. if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
  102. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 53, in __getattr__
  103. self._setup(name)
  104. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 49, in _setup
  105. self._configure_logging()
  106. File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 84, in _configure_logging
  107. logging_config_func(self.LOGGING)
  108. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 555, in dictConfig
  109. dictConfigClass(config).configure()
  110. File "/usr/local/lib/python2.6/dist-packages/django/utils/dictconfig.py", line 354, in configure
  111. '%r: %s' % (name, e))
  112. ValueError: Unable to configure handler 'modoboa': Cannot resolve 'modoboa.lib.logutils.SQLHandler': cannot import name connection
  113. 2013-09-09 07:46:16 [10582] [INFO] Worker exiting (pid: 10582)
  114. 2013-09-09 12:46:16 [10577] [INFO] Shutting down: Master
  115. 2013-09-09 12:46:16 [10577] [INFO] Reason: Worker failed to boot.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement