×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hello,
following up to this quarter-century old thread:
https://archive.midrange.com/midrange-l/200009/msg01276.html
When we attempt to run call an RPG program, rather than writing its output
on StdOut, this is what we're getting:
Error 500
Internal error: execve() failed.
Anyone have any ideas what this means? The program appears to run correctly.
I observed the very same error with a newly written C program on V4R5. Runs fine when CALLed through a 5250 session. Definitely is found by the http server: If I refer to a deliberately not existing *PGM object in the URL, the error message is different. So it had to be something the CGI outputs.
The solution was: You need two newline characters after the initial Content-type header. Only one triggers this very error. The message is just highly misleading. The cgi execs just fine, but parsing the output header fails.
Of course, there might be other possibilities to trigger this error.
I'm writing this mainly for other software archeologists to eventually find a solution.
:wq! PoC
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.