[csw-users] apache2 / mod_perl2 / oracle
bwalton at opencsw.org
Fri Nov 6 02:25:49 CET 2009
Excerpts from Dewey Hylton's message of Thu Nov 05 19:13:28 -0500 2009:
> reason the perl cgis are not getting ORACLE_HOME and other variables
> passed and are failing to connect with oracle for that reason. i think
> it's an apache config issue, but have yet to find it. i'd still rather
> use apache2 and not have to rewrite so much of the config.
I just updated a box running solaris 8 with an old apache + oracle
setup to solaris 10. I had to use the following two commands to get
some of the final oracle bits in place:
svccfg -s svc:/network/cswapache2:default setenv ORACLE_SID \*
svccfg -s svc:/network/cswapache2:default setenv ORACLE_HOME /homes/oracle/product/22.214.171.124.0/
The ORACLE_SID bit was important in my environment, but I'm not sure
if it's globally required or not. Oracle is a black box to me that
our 'seer' (dba) deals with.
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
More information about the users