I have a simple SOAP service on an IRIX box to perform queries on an Oracle database hosted on a remote SUN box. Calls to the SOAP service are dispatched via a CGI script. For testing purposes, I have a simple client program on the IRIX box to submit the SOAP call and process the response. This service works fine locally on the IRIX box. It even works when I call the service on the IRIX box using the same client program on a remote LINUX box. However, when I copy the service source code files to the LINUX box and try to run the service locally, I get the dread "500 Internal Server Error" message and the error_log simply says "Premature end of script headers:...".
My SysAdmin has assured me that we're running the exact same version / configuration of Apache and PERL on both the IRIX and LINUX boxes. Since the source code runs fine on IRIX, I'm at a loss as to why it won't run under LINUX. I have confirmed that I have access to the remote database from the LINUX box. I also have strong evidence that the queries are actually being processed by the database, but that something is going wrong while the query result is being returned. The client dies without even letting me check the faultcode or faultstring. Help!