解決client端的ORA-01882錯誤
環境描述:
Serve端:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Client端:
SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 12月 13 10:44:26 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
透過PL/SQL連線伺服器查詢時報:ora-01882錯誤,錯誤原因是Client端的time zonesID太舊導致的。
解決方法:升級Client端的Time Zone ID為V4[@more@]If you need to patch windows clients or servers then can download the patch for
Windows for each version you have and simply copy the 3 needed files.
Note that there are different patches for 32bit / 64 bit x86 and 64 bit Itanium
To see on what platform you are you can use
select platform_id, platform_name from v$database;
-> Windows 32 bit is platform 7 (Microsoft Windows IA (32-bit))
-> Windows x86 64 bit is platform 233 (Microsoft Windows Server 2003 (64-bit AMD64 and Intel EM64T))
-> Windows Itanium is platform 206 (Microsoft Windows XP (64-bit Itanium)) or
208 (Microsoft Windows Server 2003 (64-bit Itanium))
or you can start "winver"
a x86 64 bit AMD64/EMT64 will mention "x64 edition"
to see if it's a Itanium system:
Click Start, right-click My Computer, and then click Properties.
In the System Properties window, click the General tab.
Note the first line under Computer:
Itanium or Itanium 2 appears on this line if it's a Itanium system.
Above information is provided as-is. Please contact Microsoft if you have
any questions regarding this
A) Windows 32 bit ( NT4/2000/XP/Vista)
--------------------------------------
1) Download the Windows 32 bit server patch for your version.
For a 9.2.0.X client or server (9.2.0.1 to 9.2.0.8) download the 9.2.0.8 patch
containing the DST V4 files:
For a 10.1.0.X client or server (10.1.0.1 to 10.1.0.5) download the 10.1.0.5 patch
containing the DST V4 files:
For a 10.2.0.X client or server ( 10.2.0.1 to 10.2.0.3) download the 10.2.0.3 patch
containing the DST V4 files:
2) Unzip the patch, and locate the 3 files readme.txt, timezone.dat and timezlrg.dat
in the patch, for 9.2 and 10.2 they are in the "filesoracorezoneinfo"
directory of the uncompressed patch.
3) For a server install we recommend to backup the %ORACLE_HOME%oracorezoneinfo directory .
3) Copy the 2 .dat files and the readme.txt file that were found in step 2
into the %ORACLE_HOME%oracorezoneinfo directory on your clients or server.
Please make sure you copy the correct version.
The files from the 9.2 patch for a 9.2.0.X client or server.
The files from the 10.1 patch for a 10.1.0.X client or server.
The files from the 10.2 patch for a 10.2.0.x client or server.
4) Restart the client applications (in case of client install)
or database (in case of a server install).
B) Windows 64 bit x86 (AMD64 and EMT64)
---------------------------------------
1) Download the Windows 64 bit x86 (AMD64 and EMT64) (XP/2003) server patch for your version.
For a 10.2.0.X client or server ( 10.2.0.1 to 10.2.0.3) download the 10.2.0.3 patch
containing the DST V4 files:
2) Unzip the patch, and locate the 3 files readme.txt, timezone.dat and timezlrg.dat
in the patch, for 10.2 they are in the "filesoracorezoneinfo" directory of
the uncompressed patch.
3) For a server install we recommend to backup the %ORACLE_HOME%oracorezoneinfo directory .
3) Copy the 2 .dat files and the readme.txt file that were found in step 2
into the %ORACLE_HOME%oracorezoneinfo directory on your clients or server.
Please make sure you copy the correct version.
The files from the 10.2 patch for a 10.2.0.x client or server.
4) restart the client applications (in case of client install)
or database (in case of a server install).
C) Windows 64 bit Itanium
-------------------------
1) Download the Windows 64 bit Itanium server patch for your version.
For a 9.2.0.X client or server (9.2.0.1 to 9.2.0.8) download the 9.2.0.8 patch
containing the DST V4 files:
For a 10.1.0.X client or server (10.1.0.1 to 10.1.0.5) download the 10.1.0.5 patch
containing the DST V4 files:
-> this is not out yet.
For a 10.2.0.X client or server ( 10.2.0.1 to 10.2.0.3) download the 10.2.0.3 patch
containing the DST V4 files:
2) Unzip the patch, and locate the 3 files readme.txt, timezone.dat and timezlrg.dat
in the patch, for 9.2, 10.1 and 10.2 they are in the "filesoracorezoneinfo"
directory of the uncompressed patch.
3) For a server install we recommend to backup the %ORACLE_HOME%oracorezoneinfo directory .
3) Copy the 2 .dat files and the readme.txt file that were found in step 2
into the %ORACLE_HOME%oracorezoneinfo directory on your clients or server.
Please make sure you copy the correct version.
The files from the 9.2 patch for a 9.2.0.X client or server.
The files from the 10.1 patch for a 10.1.0.X client or server.
The files from the 10.2 patch for a 10.2.0.x client or server.
4) restart the client applications (in case of client install)
or database (in case of a server install).
Remarks:
--------
* there is no easy way to identify a client's version.
the Oracle_Home can be read from the registry under
HKEY_LOCAL_MACHINESOFTWAREOracle
if you have there HOMEx (HOME0, HOME1,HOME2 ) you know this is 8,8i or 9i
the actual directory is in the ORACLE_HOME key.
if you have KEY_ then this is 10.1 or 10.2,
again the the actual directory is in the ORACLE_HOME key.
once you have the directory you can check for
%oracle_home%inventoryComponents21oracle.rsf9.2.0.1.0 -> 9i
%oracle_home%inventoryComponents21oracle.rsf10.1.0.2.0 -> 10.1
%oracle_home%inventoryComponents21oracle.rsf10.2.0.1.0 -> 10.2
* For Instant Clients on Windows you need to download a NEW version from OTN.
At the moment only the 10.2.0.3 Instant client has the V3 fixes on board.
You CANNOT patch a Instant Client with above method.
Setting ORA_TZFILE will not help - ORA_TZFILE is ignored by the Instant Client.
On Unix it is possible to generate yourself a new instant client from a patched env,
but not on windows.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10130206/viewspace-1059921/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- svn This client is too old to work with working copy錯誤解決方案client
- client backup was not attempted because backup window closed 錯誤解決一例client
- nbu client錯誤解析client
- Ocelot錯誤解決
- undefined reference to錯誤的解決方法Undefined
- SAXParseException的錯誤解決之二Exception
- PHP錯誤“Thisfilehasexpired”的解決方法PHP
- VIM 常用錯誤解決
- sqldeveloper for windows 錯誤解決SQLDeveloperWindows
- dns錯誤怎麼辦 dns錯誤的解決辦法DNS
- Go-Micro客戶端請求報500錯誤的解決方法Go客戶端
- vsftpd 錯誤:530 and 500 錯誤解決方法FTP
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- Qt報Multiple definition錯誤的解決QT
- Cocopods的升級錯誤解決
- 解決 ngrok 的 Domain 錯誤問題AI
- 錯誤Namenodeisinsafemode的解決方法
- 解決DBCA的ORA-32700錯誤
- 【MySQL】解決mysql的 1594 錯誤MySql
- latex 錯誤以及解決方案
- ora-27504錯誤解決
- Datastore error in 'dirbdb'錯誤解決ASTError
- ORA-27054 錯誤解決
- mysql與php錯誤解決MySqlPHP
- mysql錯誤解決總結MySql
- PbootCMS 404 錯誤解決方法boot
- 【故障解決】OGG-00446 錯誤解決
- 解決navicat遠端連線資料庫報2059錯誤的方法資料庫
- db2 遠端連線伺服器 解決-668 錯誤DB2伺服器
- 微信支付錯誤兩個問題的解決:curl出錯,錯誤碼:60
- 寬頻連線錯誤678 寬頻連線錯誤691錯誤的解決辦法
- dbfread報錯ValueError錯誤解決方法Error
- standby新增檔案錯誤的解決方法
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- Mac上搭建chromedriver的錯誤解決方法MacChrome
- 一個 ExpressionChangedAfterItHasBeenCheckedError 錯誤的解決過程ExpressError
- scp出現錯誤的解決辦法
- [傳]解決DBCA的ORA-32700錯誤