Re: Need help with CGI/ DBI error (permissions?)
From: patrickg (pat_at_patmail.com)
Date: 02/22/05
- Next message: Peter Scott: "Re: Correct way to inherit from 3rd party class"
- Previous message: Paul Lalli: "Re: perl null value ?"
- In reply to: A. Sinan Unur: "Re: Need help with CGI/ DBI error (permissions?)"
- Next in thread: A. Sinan Unur: "Re: Need help with CGI/ DBI error (permissions?)"
- Reply: A. Sinan Unur: "Re: Need help with CGI/ DBI error (permissions?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Feb 2005 17:48:03 GMT
"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns960579A30D6DCasu1cornelledu@132.236.56.8...
> "patrickg" <pat@patmail.com> wrote in
> news:HeJSd.86610$pc5.69651@tornado.tampabay.rr.com:
>
> > Yes, I have read the docs on how to run perl scripts - I prefer the
> > first method (with the -w flag).
>
> use warnings;
>
> is preferable because it allows you to selectively turn off specific
> warnings by category.
>
> > My other Perl CGI scripts that don't use DBI run OK, so I'm guessing
> > that my IIS server can't be too far off.
>
> Not having access to an Oracle installation along with IIS and not being
> able to telepathically decipher your web server configuration, I am in
> position to offer any insight into the question of your web server's
> configuration.
Then perhaps your not the best person to help me with this. I really
appreciate the effort, though. (Since your not telepathic, if there was
something in particular that you wanted to know about my config, you could
have asked. I provided any info that I thought would be pertinent in my
original post.)
>
> > And I'm sure that there are plenty of people using CGI and DBI via
> > IIS,
>
> I am sure there are a lot of people who use a lawnmover as well.
Your point is...?
>
> > so if they had to do something *special* to get things to work,
> > or know of any *gotchas*, perhaps they can help. My point is that my
> > webserver isn't configured in any way special,
>
> You seem to be missing the crucial point: This forum is not about IIS
> configuration.
Yeah - I know. My IIS is configured fine for typical purposes. I'm having
problems with serving up *Perl* pages. Therefor....
>
> > Using Perl's CGI module doesn't require the use of Apache, does it?
>
> No it doesn't. But the original weirdness you posted showed you did not
> know much about how to use that module either.
Weirdness?? That's subjective, but neither here nor there. I stated that I
was new to Perl, so obviously I don't know everything about using *any*
module.
>
> Also, you just said that your other CGI scripts run fine.
>
> > If it's a webserver configuration issue, then I guess I *am* seeking
> > a discussion on how to configure IIS to work with Perl's CGI and DBI
>
> Did you even bother to read the error message (I mean the real one, not
the
> one that was due to you sending content before headers)?!!! From your
> original message:
>
> >>> install_driver(Oracle) failed: Can't load
> >>> 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
> >>> load_file:Access is denied at C:/Perl/lib/DynaLoader.pm line 230.
> >>> at (eval 1) line 3
> >>> Compilation failed in require at (eval 1) line 3.
> >>> Perhaps a required shared library or dll isn't installed where
> >>> expected at C:\Inetpub\wwwroot\test1.pl line 7
>
> Clearly, your issue has nothing whatsoever to do with either the CGI or
the
> DBI modules.
>
> As perldoc -q cgi clearly states:
>
> My CGI script runs from the command line but not the browser. (500 Server
> or)
> Several things could be wrong. You can go through the "Troubleshooting
> Perl CGI scripts" guide at
>
> http://www.perl.org/troubleshooting_CGI.html
Bad link
>
> ... Questions that appear to be Perl questions but are really CGI ones
> that are posted to comp.lang.perl.misc are not so well received.
>
> Ditto for web server configuration or OS-specific questions.
So you're saying that this forum is only for Perl discussions that don't
have anything to do with specific modules, OS, middleware, etc?? I don't
know how you can troubleshoot without knowing the environment.
>
> > modules. If perl.misc isn't the correct forum (assuming misc is for
> > miscellaneous),
>
> 'miscellaneous' doesn't mean 'anything goes'. The problem you have, quite
> clearly pointed out in the error message, is due to a DLL not being found.
> You done zip to actually investigate that issue.
Not only do you not know all the investigating that I've done prior to
posting to the forum (which is always my last option), but you maybe should
revisit my original post, inwhich I state that I've already verified that
the dll is there, and has read / execute permissions on it.
>
> > then I'm not sure which forum would be more appropriate.
>
> That is something for you to ponder.
Uh-huh - so you don't have an answer for your own suggestion, do you?
>
> > You can probably imagine the response if I went to some
> > IIS forum and mentioned that my Perl scripts aren't working correctly!
>
> But your is an OS + Web Server specific question.
Maybe, but it is in regards to Perl. IOW... how to get Perl to work on a
particular OS with a particular webserver, both of which are very common.
I came to this forum as a newbie seeking help with a particular problem,
hoping that some more experienced people would have some advice from their
experiences. But it seems like all you want to do is argue and patronize. If
you can't help me, just move on to the next post.
Thanks (anyway)
- Next message: Peter Scott: "Re: Correct way to inherit from 3rd party class"
- Previous message: Paul Lalli: "Re: perl null value ?"
- In reply to: A. Sinan Unur: "Re: Need help with CGI/ DBI error (permissions?)"
- Next in thread: A. Sinan Unur: "Re: Need help with CGI/ DBI error (permissions?)"
- Reply: A. Sinan Unur: "Re: Need help with CGI/ DBI error (permissions?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|