473,471 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to track down a 500 error

Claus Mygind
571 Contributor
I have 3 web servers (one production and two test).

Production machine runs Apache 2.0.54
Old test machine runs Apache 2.0.44
New test machine runs Apache 2.0.54

In one of my apps I make an ajax call (only one of several others work fine). I get this error message
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2. <html><head>
  3. <title>500 Internal Server Error</title>
  4. </head><body>
  5. <h1>Internal Server Error</h1>
  6. <p>The server encountered an internal error or
  7. misconfiguration and was unable to complete
  8. your request.</p>
  9.  
Furthermore the error log records this message

Expand|Select|Wrap|Line Numbers
  1. [Mon Sep 22 07:22:54 2008] [error] [client 200.1.2.167] Premature end of script headers: GetData.exe, referer: http://200.1.2.167/.../Job.exe
  2.  
The problem occurs in my javaScript file where it is trying to send the query string on the ajax call.

Expand|Select|Wrap|Line Numbers
  1.     xmlHttp.send(queryString);
  2.  
That of course is the application calling the "GetData.exe" app

This code/app is the identical code running on all 3 machines. The code works fine on the Old test machine and the Production machine. I only get the error on the New test machine. So I am not really suspecting the code to be the problem as much as how I setup the Apache server.

My problem is this I just don't know where to look in my config file or anywhere else for that matter to try to fix this problem.

Any suggestions on how I might begin to tackle this problem would be appreciated.
Sep 22 '08 #1
1 3629
Claus Mygind
571 Contributor
Well it appears it was my ODBC connector to MySQL that created the problem. I have two versions of MySQL odbc connectors both in the 3.51 series but different builds. The newer version had so language format options the older did not. As I do not understand to much about that I reverted to the older connector where life is simpler.
Sep 22 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: JDJones | last post by:
A friend just changed servers with her web site. The new server uses PHP 4.3.2 as opposed to the old server that had one of the 4.0.x's (don't remember exactly which one). Now I know all about the...
3
by: sdhyok | last post by:
Recently, I installed many shared libraries to run a program written in Python. Now, I am in the situation to run the same program but on several different machines with the same Linux OS. To...
1
by: interflex | last post by:
I am looking for someway to track down Memory Exception Errors that occur with our .NET app running on a Windows 2000 Advanced Server. Is there any third party tools that can analyze and pin-point...
25
by: MLH | last post by:
Is it a common occurrence for A97 VBA to 'RACE' on past a debug.print statement? I have been trying to debug a problem (which turned out to be an attempt to assign Null to a Date Type variable)...
1
by: Jon | last post by:
Morning all. We have an ASP.net (1.1) app that is causing an error that sends us an email. However, due to the fact that the user is not aware that the error is happening we're having some...
27
by: Frederick Gotham | last post by:
I thought it might be interesting to share experiences of tracking down a subtle or mysterious bug. I myself haven't much experience with tracking down bugs, but there's one in particular which...
3
by: dd | last post by:
I have a page that works just fine on all OS'es/Browsers except Safari. When I close the page I get a world leak triggered by the JavaScript Interpreter. I know most people don't have the "always...
2
by: Grant Schenck | last post by:
Hello, I built a client application using C# .NET 2.0. It runs fine at a number of customer sites. One customer is reporting several users getting problems. At start up it crashes with a...
6
by: chrisjohn2009 | last post by:
Respected sir, how to track down the number of methods in a java programs in a directory.. is to help me with this. In regards, john
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.