ORA-01882: timezone region not found error in Oracle Enterprise Manager 11g Grid Control
ORA-01882: timezone region not found is displayed when accessing “Response and Load” Graph for Weblogic Server Targets.
I get the this when I try to access Oracle WebLogic Server from Oracle Enterprise Manager 11g Grid Control and then try to
access ADMINSERVER graphs.
The …/Middleware/gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc file show the error as
java.sql.SQLDataException: ORA-01882: timezone region not found
ORA-06512: at “SYSMAN.MGMT_GLOBAL”, line 8at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
fter looking on the internet and Oracle metalink I could not find a satisfactory answer. I searched for
ORA-01882 and ORA-01882: timezone region not found. But this error code ORA-01882 looks like can appear in other
Oracle products too.
The metalink id 1148503.1 does exactly the same issue. But for me the solution did not work.
My OS time zone shows like this:
cat /etc/sysconfig/clock
ZONE="Etc/GMT"
UTC=true
ARC=false
And Oracle also understand this time zone as shown below:
$sqlplus / as sysdbaSQL*Plus: Release 11.2.0.2.0 Production on Wed Dec 7 17:07:16 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> SELECT CAST(FROM_TZ(CAST('12-JUL-2010 08:00:00' as TIMESTAMP), 'GMT') AT TIME ZONE 'Etc/GMT' AS DATE) from dual;
CAST(FROM
---------
12-JUL-10SQL>
Resolution:
To solve the issue add “-Duser.timezone=Etc/GMT” (without the quotes) in JAVA_PROPERTIES of your file
…/Middleware/gc_inst/user_projects/domains/GCDomain/bin/setDomainEnv.sh
Then do:
cd OMS_HOME/bin
emctl stop oms
emctl start oms
Then try. It should now work.
Create Oracle 11g Database using DBCA
This step by step guide will show you how to create an Oracle database using dbca. This document should be used after you have installed the Oracle database software using “Install Oracle 11gR2 database software” tutorial..This guide is part of the series titled “Installing Oracle Enterprise Manager Gird Control 11gR1. The series is a step by step tutorial of installing Oracle Enterprise Manager Grid Control 11gR1. The series is divided into the following tutorials
Install Oracle Enterprise Linux
Prepare Linux for Oracle 11gR2 installation.
Install Java SDK 6 update 18
Install Oracle 11gR2 database software
Create Oracle 11gR2 database
Configure Oracle Net for Oracle 11gR2 database
Install Oracle WebLogic Server 11gR1 (10.3.2)
Install Oracle Enterprise Manger 11g Grid Control
Hardware/Software:
DELL – Intel Core 2 Duo CPU
RAM: 2GB
Hard Disk: 147GB
OS: Oracle enterprise Linux 5.3.
Oracle validated rpms
Directory Structure:
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
ORACLE_SID=gdb
Pre-Requisites:
Before running through this tutorial make sure you have complete the following tasks:
1. Oracle Enterprise Linux 5.3 installed
2. Linux box prepared for Database installation. See here for details instructions
3. Java SDK 6 update 8 installed
4. Oracle Database 11g R2 software is installed.
Installation instructions and options:
| Step/Screen Name | Action |
| 1 | Open X-Windows session to the server as oracle user |
| 2 | #cd /u01/app/oracle |
| 3 | #dbca |
| The Database configuration assistant will now start. You will use the dbca to create a database. For this excercise we will create a database named “GDB” which will be used as a repository for Oracle Enterprise Manager Grid Control |
|
| Welcome | Click Next |
| Operations | Select “Create a Database”and click Next
|
Click Next
Select “Create a Database”
Recent Comments