473,769 Members | 5,862 Online
Bytes | Software Development & Data Engineering Community
+ 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.ex e" 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 3647
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
2158
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 register globals change but one of the pages is suddenly throwing me an error I can't figure out. It is not on a form. It is a script to include a random quote on a page once every 50 page loads. It worked fine on the old server but is throwing...
3
1832
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 avoid the reinstallation, I like to pack up all shared libraries into a directory. Is there a good way to track down all shared libraries required to run a Python program? Daehyok Shin
1
1232
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 issues on a production server? Thanks
25
2618
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) and had several debug.print statements... 10 Good code... 20 Debug.Print "tblBlahBlah", MyVar 30 Good code...
1
1294
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 trouble in pin-pointing where it's happening at. The email that we get consists of the error message, source and stack trace (this doesn't trace far enough back though to make is of any use). Is there a way to display the page that the user was on...
27
2338
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 comes to mind. I was writing usable which dealt with strings. As per usual with my code, I made it efficient to the extreme. One thing I did was replace, where possible, any usages of "strlen" with something like: struct PtrAndLen { char *p;
3
1941
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 check for world leaks" on, so it's not like it's going to happen for Joe user, but I've got some code that Safari's JS interpreter isn't happy with and I want to track it down. Just like I do with anything that appears in the Firefox console,...
2
1621
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 dialog "myapp has encountered a problem and needs to close..." Checking in the event log we see and event with the following information: Source: .NET Runtime 2.0 Error
6
1569
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
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9416
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8861
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7393
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6661
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5433
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3948
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2810
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.