--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, 2005-09-06 at 06:23 -0700, Thomas Hilbig wrote: > > I am struggling with a (simple?) DBI problem under MP2 > > on Fedora Core 3. A script that uses Oracle-DBI works > > under regular CGI but fails under MP2 with the > > following error: > > > > ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS > > settings etc.) > > This has always turned out to be either not exporting > environment > variables correctly or permissions problems for me. > Double-check your > permissions by trying to read the required Oracle files > as user > "nobody." If you post your config file, someone may be > able to spot the > problem. >
You can try something like : PerlSetVar ORACLE_HOME /home/oracle/oracle10g or something similar instead of relying upon ORACLE_HOME getting exported from the startup shell. - Praveen ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/