Redmine and passenger - get detailed logging

517 views
Skip to first unread message

Matthias

unread,
Oct 27, 2011, 7:24:45 AM10/27/11
to Phusion Passenger Discussions
Dear list,

I have massive problems on FreeBSD and redmine after I did some
upgrades on the FreeBSD machine and currently I try to debug the
problem to find the cause of the error (I already rolled back to all
gems suggested by redmine).
Maybe this problem is related to passenger but I'm not sure.

The problem I have is:
I can access the redmine site but if the application sends a post back
to the webserver (e.g. login a user, change parameters in the settings
of the redmine) i always get an "Internal Server Error".

I checked the logfile of redmine (under redmine_folder/logs/
production.log) and checked all apache logfiles, but my problem here
is there is nothing in the logfile that point to an error. This is the
reason why I have no idea where should I start to search for this
problem.
I already increased the logging to maximum level. In the apache
configfile I have for this in the virtualhost part for this domain
defined:
LogLevel debug
CustomLog /usr/local/www/domain/logs/access.log combined
ErrorLog /usr/local/www/domain/logs/error.log

In the main part of the apache config I defined:
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/
passenger/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger
PassengerRuby /usr/local/bin/ruby
PassengerLogLevel 3

My passenger version is 3.0.9. The path /usr/local/lib/ruby/gems/1.8/
gems/passenger is a symlink the the directory with the version 3.0.9 (/
usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/).

I only see that the paket comes back to the server in the access.log:
93.199.xxx.xxx - idefix [27/Oct/2011:12:45:33 +0200] "POST /login HTTP/
1.1" 500 723 "http://domain/login" "Mozilla/5.0 (Macintosh; Intel Mac
OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1
Safari/534.51.22"

And then the error message on the website but no logging what failed.
Would be fantastic, i someone has here an idea where I can start to
search.

Bye
Matthias

Hongli Lai

unread,
Nov 1, 2011, 7:05:07 AM11/1/11
to phusion-...@googlegroups.com
Have you checked the global web server error log? That is, not the
vhost-specific log. All errors should be there.

--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

IAC

unread,
Nov 7, 2011, 8:37:21 AM11/7/11
to Phusion Passenger Discussions
Same thing for me on Debian Lenny since I've updated to Apache 2.2.16
Same problem, nothing in the error logs (apache vhost and global and
redmine production.log)
Just one line in the access log saying that Apache return 500 for the
POST request
No problem on GET request, no problem using webrick.
The Redmine application isn't receiving a thing so it's between Apache
and Passenger...

Since this errors I upgraded passenger to 3.0.9 without succes on the
issue.
> E-mail: i...@phusion.nl

IAC

unread,
Nov 7, 2011, 11:08:50 AM11/7/11
to phusion-...@googlegroups.com
Hi,
After further investigations it could be related to SVN 1.7

See http://www.redmine.org/boards/2/topics/26951?r=27229

Matthias Fechner

unread,
Nov 8, 2011, 1:42:11 AM11/8/11
to phusion-...@googlegroups.com
Hi,

Am 07.11.11 17:08, schrieb IAC:


> After further investigations it could be related to SVN 1.7
>
> See http://www.redmine.org/boards/2/topics/26951?r=27229

hm, that could be a problem too.
Thanks a lot for that hint. That maybe helps to strip it a little bit down.

Bye,
Matthias

--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

Reply all
Reply to author
Forward
0 new messages