I am using webmin and have developed a module to connect to database using DBI. It is working on one system and failing on the other.
The DBI->connect failing with OCIEnvNlsCreate error. I tried setting the trace on and found that it is not able to read the ORACLE_HOME variable.
Before making a call to DBI->connect, I printed the value of ENV{ORACLE_HOME} and correct value was printed.
In the trace log there is a section "Environment variables" which on the where it is working I see the values as in the %ENV of perl. On the system where it failes, the values are that of root shell environment. I donot understand why it is not reading the values of %ENV.
In reply to DBI->connect failing with OCIEnvNlsCreate error by sns
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |