0
A
回答
0
这个错误可能意味着很多东西。 (从技术上讲,服务器处理您的请求时出现异常。)
您的服务器日志会告诉您发生了什么事。在大多数情况下,你可以看到它在这个文件:
/var/log/apache2/ckan_default.error.log
一个错误的详细内容是这样的:
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] Traceback (most recent call last):
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/var/ckan/wsgi_app.py", line 8, in
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] fileConfig(config_filepath)
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/home/co/ckan/lib/python2.7/site-packages/paste/script/util/logging_config.py", line 85, in fileConfig
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] handlers = _install_handlers(cp, formatters)
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/home/co/ckan/lib/python2.7/site-packages/paste/script/util/logging_config.py", line 158, in _install_handlers
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] h = apply(klass, args)
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/usr/lib/python2.7/logging/handlers.py", line 118, in __init__
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/usr/lib/python2.7/logging/handlers.py", line 65, in __init__
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] logging.FileHandler.__init__(self, filename, mode, encoding, delay)
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] StreamHandler.__init__(self, self._open())
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] stream = open(self.baseFilename, self.mode)
[Sat Sep 28 10:50:14 2013] [error] [client 81.102.118.195] IOError: [Errno 13] Permission denied: '/var/log/ckan/ckan.log'
即会启动与“回溯”,并用线<error-type>: <message>
结束。
当寻求帮助时,提供所有这些行 - 不要只说你有一个“500服务器错误”。
你可以在这里用StackOverflow询问,使用标签#ckan。或者加入ckan-dev电子邮件列表,并在那里询问。
相关问题
- 1. CKAN:错误500
- 2. CKAN服务器错误
- 3. XAMPP服务器错误(错误500)
- 4. Codeiniter错误:服务器错误500
- 5. 设置CKAN在AWS - 500内部服务器错误
- 6. 服务器错误500腓
- 7. GAE 500服务器错误
- 8. 500服务器错误?
- 9. Rails 500服务器错误
- 10. 服务器错误500 .htaccess
- 11. FastCGI服务器错误500
- 12. 服务器错误500
- 13. 500服务器错误file_get_contents
- 14. 笨500服务器错误
- 15. Bluehost服务器错误500
- 16. webClient.DownloadFile错误:远程服务器返回错误:(500)内部服务器错误
- 17. RSolr ::错误:: Http:RSolr ::错误:: Http - 500内部服务器错误
- 18. 定时任务抛出错误500内部服务器错误
- 19. Asmx web服务500错误
- 20. 500内部服务错误
- 21. Ajax 500(内部服务器错误)Codeigniter
- 22. Ajax - 500内部服务器错误
- 23. HttpWebRequest POST给出500服务器错误
- 24. VS ASP.NET 500服务器错误
- 25. heroku django内部服务器错误500
- 26. 500内部服务器错误的Heroku
- 27. FFMPEG 500内部服务器错误
- 28. Magento 2 - 500内部服务器错误
- 29. POST 500(内部服务器错误)
- 30. HTTP 500内部服务器错误?