Xen/KVM Virtualization Management Application
  • 日本語
  • English

Karesansui Users


HTTP 500 internal Server Error !

Added by Anonymous 871 days ago

I've installed karesansui ,

but when i'll connect with the browser to
https://srv-fl-v1.muerwiker.de/karesansui/v1/
or
http://srv-fl-v1.muerwiker.de/karesansui/v1/

i get a HTTP 500 error

./karesansui-checkenv:

==========================================
Karesansui Environment Check Program
==========================================
Checking if Karesansui RPM packages are installed completely... OK
Checking if Karesansui config parameters are enough... OK
Checking if Karesansui modules can be imported... OK
Checking whether Karesansui group exists or not... OK
Checking if Karesansui configuration file can be loaded... OK
Checking if sqlalchemy modules can be imported... OK
Checking if pysilhouette modules can be imported... OK
Checking if pysilhouette config parameters are enough... OK
Checking if pysilhouette configuration file can be loaded... OK
Checking if Database API modules for Karesansui can be imported... mysql
Checking whether we are able to connect to database for Karesansui... mysql://root:D13@localhost/karesansui?charset=utf8
Checking if Database API modules for pysilhouette can be imported... mysql
Checking whether we are able to connect to database for pysilhouette... mysql://root:D13@localhost/pysilhouette?charset=utf8
Checking permission of Karesansui files/directories... OK
Checking permission of Xend files/directories... OK
Checking if Karesansui services are running... OK

Everything is gonna be alright!!

You can now login through following url.
https://srv-fl-v1.muerwiker.de/karesansui/v1/
http://srv-fl-v1.muerwiker.de/karesansui/v1/

in /var/log/hde-lighttpd/error.log

it shows:

2009-09-16 12:33:08: (mod_fastcgi.c.1768) connect failed: Connection refused on
unix:/var/run/hde-lighttpd/karesansui.fcgi-4
2009-09-16 12:33:08: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1
2009-09-16 12:33:08: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 4190 socket: unix:/var/run/hde-lighttpd/karesansui.fcgi-4
2009-09-16 12:33:08: (mod_fastcgi.c.3326) response not received, request sent: 1191 on socket: unix:/var/run/hde-lighttpd/karesansui.fcgi-4 for /karesansui.fcgi
, closing connection

please help


Replies

Comment

RE: HTTP 500 internal Server Error ! - Added by Taizo ITO 870 days ago

Once you has stopped lighty web service temporarily, then you can debug how the program are working.

root# /etc/init.d/hde-lighttpd stop
root# su -s /bin/bash wwwhde -c "KARESANSUI_CONF=/etc/opt/karesansui/application.conf SEARCH_PATH=/opt/karesansui/lib/python:/opt/hde/lib/python:/opt/pysilhouette/lib/python /opt/karesansui/bin/karesansui.fcgi"
Comment

RE: HTTP 500 internal Server Error ! - Added by Anonymous 516 days ago

Hi,
I faced same issue with version v2 .
I Have 500 error, but nothing in error log.
I tried the command above and I have translation error (I selected EN language at install)

su -s /bin/bash wwwhde -c "KARESANSUI_CONF=/etc/opt/karesansui/application.conf SEARCH_PATH=/opt/karesansui/lib/python:/opt/hde/lib/python:/opt/pysilhouette/lib/python /opt/karesansui/bin/karesansui.fcgi"
Traceback (most recent call last):
File "/opt/karesansui/bin/karesansui.fcgi", line 49, in ?
sys.exit(main())
File "/opt/karesansui/bin/karesansui.fcgi", line 45, in main
import karesansui, karesansui.app
File "/opt/karesansui/lib/python/karesansui/app.py", line 87, in ?
import karesansui.urls
File "/opt/karesansui/lib/python/karesansui/urls.py", line 15, in ?
import karesansui.gadget.index
File "/opt/karesansui/lib/python/karesansui/gadget/index.py", line 15, in ?
import karesansui.gadget.host
File "/opt/karesansui/lib/python/karesansui/gadget/host.py", line 23, in ?
from karesansui.lib.checker import Checker, \
File "/opt/karesansui/lib/python/karesansui/lib/checker.py", line 64, in ?
t = gettext.translation('messages', karesansui.dirname + "/locale")
File "/usr/lib64/python2.4/gettext.py", line 458, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'messages'

Comment

RE: HTTP 500 internal Server Error ! - Added by Anonymous 516 days ago

Answer to myself, fixed in an other post: http://karesansui-project.info/boards/1/topics/show/403

Comment

RE: HTTP 500 internal Server Error ! - Added by Anonymous 389 days ago

same problem for me, can see exactly the same output when debugging: Traceback (most recent call last):
File "/opt/karesansui/bin/karesansui.fcgi", line 49, in ?
sys.exit(main())
File "/opt/karesansui/bin/karesansui.fcgi", line 45, in main
import karesansui, karesansui.app
File "/opt/karesansui/lib/python/karesansui/app.py", line 87, in ?
import karesansui.urls
File "/opt/karesansui/lib/python/karesansui/urls.py", line 15, in ?
import karesansui.gadget.index
File "/opt/karesansui/lib/python/karesansui/gadget/index.py", line 15, in ?
import karesansui.gadget.host
File "/opt/karesansui/lib/python/karesansui/gadget/host.py", line 23, in ?
from karesansui.lib.checker import Checker, \
File "/opt/karesansui/lib/python/karesansui/lib/checker.py", line 64, in ?
t = gettext.translation('messages', karesansui.dirname + "/locale")
File "/usr/lib64/python2.4/gettext.py", line 458, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'messages'

su -s /bin/bash wwwhde -c "KARESANSUI_CONF=/etc/opt/karesansui/application.conf SEARCH_PATH=/opt/karesansui/lib/python:/opt/hde/lib/python:/opt/pysilhouette/lib/python /opt/karesansui/bin/karesansui.fcgi" 

What is the issue ?

Comment

RE: HTTP 500 internal Server Error ! - Added by Anonymous 389 days ago

sorry don't see solve link. Solved.

Reply