Summary | error 500 in imp/redirect on failed login |
Queue | IMP |
Queue Version | 4.2 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | support (at) pwv-shops (dot) de |
Created | 06/20/2008 (6222 days ago) |
Due | |
Updated | 06/21/2008 (6221 days ago) |
Assigned | |
Resolved | 06/20/2008 (6222 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
After trying for hours and reinstalling the whole system and
experiencing with apache/php I've installed apache2-mod-worker with
php5-cgi and mod_fastcgi. By default Debian Etch installs mod_fcgid
(which is newer). By default mod_fastcgi's option idle-timeout is set
to 30 seconds and with this value IMP crashs on wrong login. When set
this option to 60 seconds - it works, looks like a wonder after hours
of trouble :)
So I reinstalled mod_fcgid and removed mod_fastcgi and set option
IPCCommTimeout in mod_fcgid.conf to 60 seconds (by default 20 seconds)
and so I don't get the error anymore. To be sure, I'll go on for a
while with testing ;)
reproduce this error). That's not what I want, because apache-worker
doesn't work with php5-cli (only the prefork-model), but I still can't
understand why I can do anything when logged in correctly and the
script fails only on wrong login!?
500"...Troubleshoot for Horde and IMP also contain no hint for my
problem!? Give a hint...
State ⇒ Not A Bug
Perhaps, there is a wrong newline in redirect.php?
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ error 500 in imp/redirect on failed login
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
what to do anymore. I'm using Horde Groupware Webmail Edition on
Apache 2.2 with PHP5 (fast-cgi). Auth works over IMP (Cyrus 2.2 IMAP).
All works fine, I can login, I can read mails, can create users and so
on. I can do nearly everything in Horde when logged in. The problem
is, when I log in with wrong username or password. The application
works for some seconds and I get an error 500 and Apache error log says:
[Fri Jun 20 08:41:41 2008] [error] [client 85.232.9.189] Premature end
of script headers: redirect.php, referer: https://xxx/imp/redirect.php
[Fri Jun 20 08:41:42 2008] [notice] mod_fcgid: process 4226 going
graceful shutdown, sending SIGTERM
[Fri Jun 20 08:41:48 2008] [warn] mod_fcgid: process 4226 graceful
shutdown timeouted, sending SIGKILL
[Fri Jun 20 08:41:54 2008] [notice] mod_fcgid: process
/var/www/horde/imp/login.php(4226) exit(communication error), get stop
signal 9
No other log provides more information. What can I do?
When calling redirect.php direct in browser, I get redirected to login
page. What's wrong? I don't believe in wrong configuration of the
webserver (because all is fine when I'm correctly logged in).