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. Codeiniter錯誤:服務器錯誤500
- 4. XAMPP服務器錯誤(錯誤500)
- 5. 設置CKAN在AWS - 500內部服務器錯誤
- 6. Bluehost服務器錯誤500
- 7. 服務器錯誤500腓
- 8. 服務器錯誤500 .htaccess
- 9. FastCGI服務器錯誤500
- 10. 500服務器錯誤?
- 11. 服務器錯誤500
- 12. 500服務器錯誤file_get_contents
- 13. 笨500服務器錯誤
- 14. Rails 500服務器錯誤
- 15. GAE 500服務器錯誤
- 16. webClient.DownloadFile錯誤:遠程服務器返回錯誤:(500)內部服務器錯誤
- 17. RSolr ::錯誤:: Http:RSolr ::錯誤:: Http - 500內部服務器錯誤
- 18. 定時任務拋出錯誤500內部服務器錯誤
- 19. Asmx web服務500錯誤
- 20. 500內部服務錯誤
- 21. POST 500(內部服務器錯誤)Ajax
- 22. HTTP 500內部服務器錯誤?
- 23. 500內部服務器錯誤image.php
- 24. django中的500服務器錯誤
- 25. 500 PHP內部服務器錯誤
- 26. Heroku 500內部服務器錯誤
- 27. POST 500(內部服務器錯誤)
- 28. 500基於HardDeadlineExceededError的服務器錯誤
- 29. Wamp 500內部服務器錯誤
- 30. 活網站Symfony2服務器500錯誤