Instant Client Fails With ORA-1805 or ORA-1804 and Ignores ORA_TZFILE Setting
(Doc ID 2112340.1)
Last updated on MARCH 04, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
1) Receiving ORA-01805 error when attempting to connect to a database which is using the version 20 time zone file (timezlrg_20.dat).
2) Failing application is using the 11.2.0.x.0 or 12.1.0.x Instant Client and the timezone_14.dat file.
An example of using the 11.2 genezi utility shows the version, and the version of the timezone file:
/usr/lib/oracle/11.2/client64/bin/genezi -v
Client Shared Library 64-bit - 11.2.0.4.0
System name: Linux
Release: 2.6.32-358.6.2.el6.x86_64
Version: #1 SMP Thu May 16 20:59:36 UTC 2013
Machine: x86_64
Operating in Instant Client mode.
Small timezone file = timezone_14.dat
Large timezone file = timezlrg_14.dat
If you attempt to set the Time Zone File using ORA_TZFILE and setting it to the path of the timezlrg_20.dat file, then sqlplus or client fails to start with the error code ORA-01804 and fails to synchronize timezone information.
Further testing suggests that it is not reading the file.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |