错误:子 pid 6695 退出信号分段错误 (11)

发布于 2024-11-09 08:16:37 字数 1111 浏览 0 评论 0原文

我使用django + mod-wsgi + apache开发一个网站。奇怪的是,当我启动网站时,除了登录功能之外的所有其他功能都可以。当我尝试登录时,出现 500 错误。

这是错误形式 error_log:

[Sat May 21 13:00:39 2011] [error] /usr/local/lib64/python2.6/site-packages/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'accounts.backends.EmailOrUsernameModelBackend.EmailOrUsernameModelBackend'>.
[Sat May 21 13:00:39 2011] [error]   DeprecationWarning)
[Sat May 21 13:00:39 2011] [error] /usr/local/lib64/python2.6/site-packages/django/contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'accounts.backends.EmailOrUsernameModelBackend.EmailOrUsernameModelBackend'>.
[Sat May 21 13:00:39 2011] [error]   DeprecationWarning)
[Sat May 21 05:00:39 2011] [notice] child pid 6693 exit signal Segmentation fault (11)
[Sat May 21 05:00:39 2011] [notice] child pid 6695 exit signal Segmentation fault (11)

请告诉我。谢谢

I use django + mod-wsgi + apache to develop a website. and it is strange that when i launch the website it's ok for all other function expect for login in function. when i try logging in, it gives me a 500 error.

This is the error form error_log:

[Sat May 21 13:00:39 2011] [error] /usr/local/lib64/python2.6/site-packages/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'accounts.backends.EmailOrUsernameModelBackend.EmailOrUsernameModelBackend'>.
[Sat May 21 13:00:39 2011] [error]   DeprecationWarning)
[Sat May 21 13:00:39 2011] [error] /usr/local/lib64/python2.6/site-packages/django/contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'accounts.backends.EmailOrUsernameModelBackend.EmailOrUsernameModelBackend'>.
[Sat May 21 13:00:39 2011] [error]   DeprecationWarning)
[Sat May 21 05:00:39 2011] [notice] child pid 6693 exit signal Segmentation fault (11)
[Sat May 21 05:00:39 2011] [notice] child pid 6695 exit signal Segmentation fault (11)

Please advise me. Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

童话 2024-11-16 08:16:37

请阅读文档了解常见原因:

http://code.google.com/p/ modwsgi/wiki/FrequentlyAskedQuestions#Apache_Process_Crashes
http://code.google.com/p/modwsgi/wiki/ApplicationIssues

尝试使用调试器来跟踪它:

http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB

很可能您的登录页面会导致导入和使用扩展模块,但该模块在子系统中不起作用口译员。尝试使用以下命令强制该应用程序在主解释器中运行:

WSGIApplicationGroup %{GLOBAL}

有关更多详细信息,请参阅 mod_wsgi 网站上的文档。

Read the documentation for common causes:

http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions#Apache_Process_Crashes
http://code.google.com/p/modwsgi/wiki/ApplicationIssues

Try and track it down by using a debugger:

http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB

Most likely your login page causes an extension module to be imported and used that doesn't work in sub interpreters. Try forcing that application to run in the main interpreter using:

WSGIApplicationGroup %{GLOBAL}

See documentation on the mod_wsgi web site for more details.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文