Strange Mongrel 500 error

Hi,

When I start mongrel as a non root user, I will get an 500.
In my log/production.log I see this:

file /home/paul/rails/Test/releases/20071115232111/tmp/sessions//
ruby_sess.9a975fe464a2f6ba not readable

when I start mongrel as root everything works fine.

Can anyone imagine whats up there?

Thanks in advance,
Paul

PS: is it a bad idea to run mongrel as root? (security etc.)

Maybe it’s old file made by root user ?
Delete all files from …/tmp/sessions/* and restart mongrel.
Don’t run mongrel as a root user.

Paul wrote:

Hi,

When I start mongrel as a non root user, I will get an 500.
In my log/production.log I see this:

file /home/paul/rails/Test/releases/20071115232111/tmp/sessions//
ruby_sess.9a975fe464a2f6ba not readable

when I start mongrel as root everything works fine.

Can anyone imagine whats up there?

Thanks in advance,
Paul

PS: is it a bad idea to run mongrel as root? (security etc.)

Yes - you are completely right!
Problem solved - Thank you very much!

Best Regards,
Paul

On Nov 16, 10:29 pm, Klodus K. [email protected]