in reply to Connecting to Oracle DB using DBI from CGI script

You still haven't posted any error logs that I can see. That is a big help for troubleshooting this problem.

I've verified that the minimum that you need to get a perl script visible by a webpage is the content-type line... this script works in my browser (firefox):
#!/usr/bin/perl print("content-type: html \n\n"); print("Test");
What *do* you see on the browser? Saying it fails doesn't really help much.

Replies are listed 'Best First'.
Re^2: Connecting to Oracle DB using DBI from CGI script
by Anonymous Monk on Jul 06, 2010 at 13:33 UTC
    This is the error message from webtop.log Tue Jul 06 10:04:03 EDT 2010: Tue Jul 06 10:06:22 EDT 2010: header=[co +ntent-type: text/html ] Tue Jul 06 10:06:22 EDT 2010: header=[] Tue Jul 06 11:21:04 EDT 2010: header=[content-type: text/html ] Tue Jul 06 11:21:04 EDT 2010: header=[] Tue Jul 06 11:21:06 EDT 2010: header=[content-type: text/html ] Tue Jul 06 11:21:06 EDT 2010: header=[] Tue Jul 06 11:39:06 EDT 2010: header=[content-type: text/html ] Tue Jul 06 11:39:06 EDT 2010: header=[] Tue Jul 06 11:53:44 EDT 2010: header=[content-type: text/html ] Tue Jul 06 11:53:44 EDT 2010: header=[] Tue Jul 06 11:57:39 EDT 2010: header=[content-type: text/html ] Tue Jul 06 11:57:39 EDT 2010: header=[] Tue Jul 06 11:57:41 EDT 2010: header=[content-type: text/html ] Tue Jul 06 11:57:41 EDT 2010: header=[] Tue Jul 06 12:44:27 EDT 2010: header=[content-type: text/html ] Tue Jul 06 12:44:27 EDT 2010: header=[] Tue Jul 06 12:44:30 EDT 2010: header=[content-type: text/html ] Tue Jul 06 12:44:30 EDT 2010: header=[] Tue Jul 06 12:44:33 EDT 2010: header=[content-type: text/html ] Tue Jul 06 12:44:33 EDT 2010: header=[] Tue Jul 06 12:52:51 EDT 2010: header=[content-type: text/html ] Tue Jul 06 12:52:51 EDT 2010: header=[] Tue Jul 06 12:54:44 EDT 2010: header=[content-type: text/html ] Tue Jul 06 12:54:44 EDT 2010: header=[]

    20100707 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips

      From what I see, there are two entries in the log for each timestamp, so it looks like you're creating a new page with no header information. For each timestamp pair, the first one has the correct header, and the second one does not.

      Are you doing any kind of meta refresh or redirection?

        We are using the url "https://servername.com:16316/ibm/console/webtop/cgi-bin/oracle_reporter2.cgi". Once we access the above url it will redirect to the url "https://servername.com:16316/ibm/console/logon.jsp". Please guide us on this.