Hi Boyle Owen, >> I am attempting to upgrade my apache installation from >> the 1.3.x branch to the 2.0.x or, perhaps 2.2.x branch, >If you're going to upgrade, why not go all the way to 2.2.13? The 2.0 >branch has not been updated since January 2008 and is not developed >any more. Good point. I went with 2.0.63 because the issue appeared when we attempted to replace the 1.3.x version of apache we are using with the IBM IHS 6.1 server which is built on 2.0.47 and patched to 2.0.63. My thinking was to attempt to isolate the issue to apache or IBM's modification of it. Unfortunately, the problem appears under both platforms. I have also attempted using 2.2.13 with precisely the same issue. >> security reasons on AIX running 5.2.0.8. I built httpd >> 2.0.63 from source and configured it to be the same as the >> 1.3.x version was configured. But when we attempted to use a >> cgi script that has run flawlessly under httpd 1.3.x, it >> failed with 'Operating system error: Bad file number'. >> Other cgi scripts continue to operate. > Where did you get the error? Switch on ScriptLog and check there. > Also, check the code of the CGI program and look for file-handling > calls to see if you can narrow down where the error is coming from. This is the flow of the process: A user brings up the login screen, enters their userid and password, and clicks submit. That posts a call to a cgi script that parses the submission and calls another script to verify the userid/password and extract that user's job code from the database, placing that job code in a file to be parsed by the calling script upon return. The script that verifies the userid/password calls two compiled programs: one verifies the userid and password are valid, the other makes the call to the database to extract the job code. The call to verify the userid and password succeeds but the call to the database fails. ScriptLog does not give me anything. The output from the script is redirected to a file and the failed script does not emit anything aside from it's stdout message and a return code of 255. The script executes flawlessly under apache 1.3.x and from the command line as the same user as under apache. I do not have the source for the script; it is a compiled application that makes a database call. Any ideas as to how I can debug this further? > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. Thank you for your assistance! Lee ____________________________________________________________ Best Weight Loss Program - Click Here! http://thirdpartyoffers.juno.com/TGL2131/fc/BLSrjnsEGrEal0sXmK3ceVgwSXiWn3UvduQYE1h6Mnl9fWb4lEP8U7gjtwk/ --------------------------------------------------------------------- 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