Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Failed to use Pro *C to write CGI program ?

Re: Failed to use Pro *C to write CGI program ?

From: <dgallardo_at_my-deja.com>
Date: Fri, 15 Oct 1999 17:42:26 GMT
Message-ID: <7u7p1u$sme$1@nnrp1.deja.com>


Probably varies from server to server, but Apache reroutes everything from stderr to its own logfile. You can first of all check there to see if you can tell what's going on. Also, if this is so, you can print your diag messages to stderr then check the log to find out more.

But as a previous caller suggests, probably your server is running as nobody, and there is no environment, so you don't have LD_LIBRARY_PATH, ORACLE_HOME, ORACLE_SID, TWO_TASK set.

In article <38073033.F98514F9_at_mindspring.com>,   hayden_at_mindspring.com wrote:
> Here's my 2 cents...
>
> First, put some diagnostics in the code that write to a file
> so you have the program tell you what's failing when its runs
> under the cgi shell.

[deleted stuff]
>
> allen
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Oct 15 1999 - 12:42:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US