Richard,

What versions of Oracle, cx_Oracle, and Django are you using?

Apparently, this can be caused by an invalid NLS_LANG environment
variable setting or an invalid NLS value in an ALTER SESSION
statement.  The Oracle backend automatically sets the NLS_LANG
environment variable to ".UTF8" and issues an ALTER SESSION query to
set the NLS_TIMESTAMP_FORMAT and NLS_DATE_FORMAT parameters.  Both of
these can be found in django/db/backends/oracle/base.py.  I can see no
problems with them, but you might try using the same settings in
sqlplus to see if you can reproduce the issue there.

You might also try asking your question on the cx_Oracle mailing
list.  Somebody there may have better insight into your problem.

Hope that helps,
Ian Kelly

On Mar 4, 1:45 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hello Django Users,
>
> Althought this is probably not a specific django error, i hope someone
> can point me in the right direction.
> I developed a application on a development server where everything
> works just fine.
>
> server specs ( development server ):
> - Linux version 2.6.9-22.0.2.ELsmp ([EMAIL PROTECTED]
> bc1-6.build.redhat.com)
> - Intel Xeon 3 ghz
>
> When we migrated the application to the production server
>
> server specs:
> - Linux version 2.6.9-55.ELsmp ([EMAIL PROTECTED]
> bc2-14.build.redhat.com)
> - Intel Xeon 2.7 ghz
>
> We got the following Oracle error:
> ORA-12705: Cannot access NLS data files or invalid environment
> specified
>
> I googled on this error and it says there might be a issue with
> deleting sessions. This error occurs random so i really don't know
> where to look.
>
> any help would be appreciated.
>
> regards,
>
> Richard Mendes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to