Hi there,

I'm trying to setup redmine on a cherokee webserver using fastcgi.
Redmine is a ruby on rails application.
I used the wizard to create a vserver for ruby on rails.
After opening the redmine page, I get immediately a "503 Service
Unavailable" error message.

I tried to start cherokee from the command line to get some more error infos:
sudo /usr/sbin/cherokee --admin_child -C /etc/cherokee/cherokee.conf
Cherokee Web Server 1.0.8 (Aug 19 2010): Listening on ports ALL:80,
ALL:443(TLS), with TLS support via libssl, IPv6 enabled, using epoll, 4096
fds system limit, max. 2041 connections, caching I/O, 5 threads, 408
connections per thread, standard scheduling policy
[COMMENT: accessing the page with the browser]
PID 7995: launched '/bin/sh -c exec spawn-fcgi -n -d
/usr/share/redmine -f /usr/share/redmine/public/dispatch.fcgi -p
56945' with uid=33, gid=33, env=custom
PID 7996: launched '/bin/sh -c exec spawn-fcgi -n -d
/usr/share/redmine -f /usr/share/redmine/public/dispatch.fcgi -p
56945' with uid=33, gid=33, env=custom
PID 7997: launched '/bin/sh -c exec spawn-fcgi -n -d
/usr/share/redmine -f /usr/share/redmine/public/dispatch.fcgi -p
56945' with uid=33, gid=33, env=custom
PID 7998: launched '/bin/sh -c exec spawn-fcgi -n -d
/usr/share/redmine -f /usr/share/redmine/public/dispatch.fcgi -p
56945' with uid=33, gid=33, env=custom
PID 7999: launched '/bin/sh -c exec spawn-fcgi -n -d
/usr/share/redmine -f /usr/share/redmine/public/dispatch.fcgi -p
56945' with uid=33, gid=33, env=custom
PID 7997: received a signal=11
main.c:453 - (warning) Couldn't open '' for writing..
PID 7998: received a signal=11
main.c:453 - (warning) Couldn't open '' for writing..
PID 7999: received a signal=11
main.c:453 - (warning) Couldn't open '' for writing..
PID 7996: received a signal=11
main.c:453 - (warning) Couldn't open '' for writing..
PID 7995: received a signal=11

1. If I execute "spawn-fcgi -n -d /usr/share/redmine -f
/usr/share/redmine/public/dispatch.fcgi -p 56945" manually in the
terminal as user 33 it's working great and I can access the page as it
should be.

2. If I execute "/bin/sh -c exec spawn-fcgi -n -d /usr/share/redmine
-f /usr/share/redmine/public/dispatch.fcgi -p 56945" as user 33, it
doesn't work and I don't get any message back.

User 33 is www-data.

3. If I execute first:
sudo -u www-data /bin/sh
and then execute:
exec spawn-fcgi -n -d /usr/share/redmine -f
/usr/share/redmine/public/dispatch.fcgi -p 56945
it's working as in 1.

I've never got a signal 11.

dmesg and /var/log/messages contain no message concerning this, only
boot messages. (especially no segfault)


What could be the reason for this? How do I get this working? What
else could I try to debug this?


Some background infos about my system:
* debian squeeze on armv5tel
* redmine, ruby, cherokee, fastcgi from debian repo
* cherokee_1.0.8-1
* spawn-fcgi_1.6.3-1
* ruby1.8_1.8.7.302-2
* redmine_1.0.1-1

I would be very happy about any idea or hint :)!

Thanks.

Kev
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to