RE: Occasional "500 Internal Server Error"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It sounds like an issue we encountered where Active Directory would
close inactive connections on it's side. When the client tries to
recontact the ldap server it returns a LDAP_UNAVAILABLE as opposed to
what it should return. Refreshing the browser would resend and open the
connection.

In any case, turn on debug log level and look for the error:
ldap_simple_bind_s() failed][Unavailable]. Or you could 

Also, there is a bugzilla filed against it, check this to see if it is
the same issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=39095

Dan Stusynski 


-----Original Message-----
From: Tom Hart [mailto:tomhart@xxxxxxxxxxx] 
Sent: Tuesday, November 13, 2007 12:42 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Occasional "500 Internal Server Error"

khym@xxxxxxxxxxxxx wrote:
> I have a feeling that the problem might be related to mod_ldap, but 
> it's just a hunch. It's authenticating against a Windows 2003 machine.

> All requests to Apache use https. Is there any more info I should 
> provide? Or any way for me to get more info? In particular, doesn't 
> the error log normally show a real error message when the server
returns status 500?
Oddly enough I've been having the same problem, with almost the same
setup. I'm using apache 2.2.4 with almost the same modules (ssl and
ldap, not python though), and I also suspect the problem to be related
to ldap authentication. It seems to happen to me whenever I need to auth
for a page. (all the pages are protected, and all pages access through
ssl, using mod_rewrite to change every http to https). Once I refresh,
everything seems to work fine (again like your situation). I've had
quite a bit of trouble tracking this problem down, but hopefully
somebody can help us.

If I could find somewhere that it actually logged these types of errors,
I might be able to come closer to finding a solution, but so far I
haven't been able to find anything.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux