Operating System - HP-UX
1833784 Members
2543 Online
110063 Solutions
New Discussion

Apache configuration problem

 
wvsa
Regular Advisor

Apache configuration problem

 
7 REPLIES 7
Tom Danzig
Honored Contributor

Re: Apache configuration problem

Based on:

Premature end of script he
aders: /u03/oracle/oemintdb/9.0.1/Apache/Apache/cgi-bin/RiTAWebAdmin.pl

May be that there is a syntax error in the RiTAWebAdmin.pl
script?
wvsa
Regular Advisor

Re: Apache configuration problem

Tom, thanks for responding. No the perl script is fine, I can run the script outside of Apache to completion with no problems. The permission denied error in the Apache log file is the problem. Still think it is something to do with the Apache conf file.
S.K. Chan
Honored Contributor

Re: Apache configuration problem

I'm sorry but can you post httpd.conf again ..this time without those lines with "#".
$ cat http.conf|grep -v \^# > /tmp/http.clean
Jordan Bean
Honored Contributor

Re: Apache configuration problem


Does your message end? Still going... and going... Ah, finally, the end!

Next time, please attach long files rather than pasting them in your messages.

Anyway, on to business...

I've seen this before... it's not really a perm issue... mod_perl probably isn't able to load the Oracle libraries and DynaLoader returns the error as perm denied.

If the PERL script is running fine outside of Apache (eg not through mod_perl), then disable mod_perl entirely and try again. If this works, then we know there is a discrepency between PERL and mod_perl.
Jordan Bean
Honored Contributor

Re: Apache configuration problem

Oh wait! There it is!

SetEnv PERL5LIB "/opt/perl/lib/5.6.1"

This doesn't look right!

Jordan Bean
Honored Contributor

Re: Apache configuration problem


My bad. I was thinking PATH, bot LIB. Nevermind. No points for me.

Jordan Bean
Honored Contributor

Re: Apache configuration problem


Oh, I see you've already solve the problem.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x295ab10230dcd61190050090279cd0f9,00.html

That means I'm wrong and deserve no points.