On Fri, August 18, 2006 1:25 pm, Garrett, Philip \(MAN-Corporate\) wrote: > Angus McIntyre wrote: >> If I call the script as a CGI script, I get ORA-01017 in >> OCISessionBegin, which is the bad username or password error. > > I have had this problem before. I'm not positive, but I think it was > caused by ORACLE_HOME not being passed through by Apache. If you're > running Apache, you'll need this directive in your httpd.conf: > PassEnv ORACLE_HOME Thanks for the suggestion. Unfortunately, that doesn't seem to have cured it. Tests show that the correct ORACLE_HOME was getting passed through to Perl anyway, and adding PassEnv didn't improve matters. Thanks again AngusThread Previous | Thread Next