Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1
In this Document
Symptoms
Cause
Solution
References
Applies to:
Enterprise Manager Grid Control - Version: 10.1.0.4 to 10.2.0.5 - Release: 10.1 to 10.2Information in this document applies to any platform.
Symptoms
The Grid Agent fails to start with the following error in the
timezone region of the agent. Either start the OMS using the extended list of
time zones supported by the database or pick a value of time zone from U:
\oracle\product\10.1.0\em_1\sysman\admin\nsupportedtzs.lst , update the
property 'agentTZRegion' in the file U:\oracle\product\10.1.0\em_1\sysman\config\emd.properties and restart the agent.A value which is
around an offset of -04:00 from GMT should be picked.
response to ping, ignoring
The
-----
(pid=2158816): starting emagent version 10.1.0.3.0
OMS does not understand the timezone region of the agent. Either start the OMS using the extended list of time zones supported by the database or pick a value of time zone from
-----
-----
-----
-----
-----
Cause
The Timezone used by the Grid Agent is not supported / Recognized by
Repository Database. The Agent Timezone can be obtained from the value of the
agentTZRegion parameter in the
To check the
Timezones supported by the Repository Database, login to the Database as a DBA
user and execute:
If you do not find the Timezone used by the Agent in the output of the above SQL statement, then the Agent will not start.
Solution
Fix 1:
- Stop the Agent:
cd
emctl stop agent
- Set the environment variable TZ to a valid Time Zone which is
recognised by your Repository Database and also present in
the
$ export PATH=$ORACLE_HOME/bin:$PATH
$ cd $ORACLE_HOME/bin
$ emctl resetTZ agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Updating /home/em/oracle/gc102/agent10g/sysman/config/emd.properties...
Successfully updated /home/em/oracle/gc102/agent10g/sysman/config/emd.properties.
Login as the em repository user and run the script.
exec mgmt_target.set_agent_tzrgn('agentmachine.domain:3872','Asia/Calcutta')
and commit the changes
This can be done for example by logging into sqlplus and doing
SQL> exec mgmt_target.set_agent_tzrgn('agentmachine.domain:3872','Asia/Calcutta')
SQL> commit
DO NOT start the Agent yet!
- Login to the Repository database as the
SYSMAN user and execute the SQL statements shown by the above command output:
SQL> exec
mgmt_target.set_agent_tzrgn('
SQL> commit;
For example:
SQL> exec
mgmt_target.set_agent_tzrgn('agentmachine.domain:3872','Asia/Calcutta')
SQL> commit
- After the Repository side routine has
completed successfully, start the agent, and make sure it's uploading new data:
$ emctl start agent
$ emctl upload
$ emctl status
agent
Fix 2:
1. If the Repository Database has been started with a small / basic timezone
file, then switch to the large timezone file:
1. Shut down the database.
2. Set the ORA_TZFILE environment variable to the
full path name of the large timezone file:
$ORACLE_HOME/oracore/zoneinfo/timezlrg.dat
On Unix this needs to be a environment variable. On Windows, this needs to be set in the relevant HOME under HKEY_LOCAL_MACHINE/Software/Oracle in the registry.
3. Restart the database.
References
NOTE:340512.1 - Timestamps & time zones - Frequently Asked Questions來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-764612/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Agent to OMS Communi Fails if Agent's REPOSITORY_URL Para has Incorrect_737373.1AI
- EM GC11.1.0.1 Agent Startup on AIX Fails with Error: nmectl_validate_1386861.1GCAIError
- OMS Startup Fails during Repository Connection Attempt due to_310772.1AI
- GC Agent Startup Fails on AIX due to Invalid Timezone Setting at OS_825933.1GCAI
- When to Use Startup / Shutdown DB and Alter Database Command in 12c_1582453.1Database
- MYSQL(解決方法):Client does not support authentication(轉)MySqlclient
- sourcetree github clone 報錯 hg clone fails with “repository not found“GithubAI
- Agent Upload to OMS Fails if OMS Locked in Secure,Agent isn't Secured_422922.1AI
- grep: PCRE does not support L, l, N{name}, U, or u
- 【HPUX】What to do when mount does not work on HP-UX?UX
- Agent to OMS Communi Fails if Agent is 'Blocked' in 10.2.0.5 Grid Cons_799618.1AIBloC996
- Install GC Agent 11.1.0.1 fails at Config Agent File secure.log_1273470.1GCAI
- After failed upgrade, startup fails on ORA-00704 [ID 1345417.1]AI
- jstl c標籤 ”test does not support runtime expressions“JSExpress
- GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1GCAIWhile
- The server does not support version 3.0 of the J2EE Web module specificationServerWeb
- Error: --recode does not support multipass recoding of very large files.Error
- Oracle 12CR2 Oracle Restart - ASM Startup fails with PRCR-1079OracleRESTASMAI
- onnx模型轉openvino報錯nGraph does not support the following ONNX operations: If模型
- WCF The service cannot be activated because it does not support ASP.NET compatibilityASP.NET
- Vip Does Not Failover When Nodeapps Stopped (Doc ID 749160.1)AIAPP
- Automatic Start GC Agent 10.2.0.5 via gcstartup Script fails with sudo_789363.1GCAI
- Database Startup Fails with ORA-01113, ORA-01110DatabaseAI
- Your CPU does not support long mode.Use a 32bit distribution.
- 高版本mysql訪問出現Client does not support authentication protocol requested by server;MySqlclientProtocolServer
- Autoconfig On Db Tier Fails With Error - SP2-1503AIError
- ubuntu apt update 提示 The repository ‘http://xxx Release‘ does not have a Release fileUbuntuAPTHTTP
- Client does not support authentication protocol requested by server; consider upgrading MySQL clientclientProtocolServerIDEMySql
- Does Goldengate Support The New Oracle 10g Flashback Feature? [ID 966212.1]GoOracle 10g
- Agent Install Fails with Error 'OUI-25031' Due to Environment Settings_380507.1AIErrorUI
- 11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)AI
- Problem: 10.2 Agent Install On Rac Fails With 'Exceptionmessage=Prkc-1002'AIException
- Does Not Delete Archivelogs Even When They Already Backed Up To Tape_1607250.1deleteHive
- 2024tz
- OMS to Agent Comm Fails if IP Address of the Grid Ag Machine is Changed-605009.1AIMac
- DB2 backup fails with SQL2079N return code 30DB2AISQL
- startup,startup mount,startup nomount之間的區別
- Database Startup Fails with ORA-01113, ORA-01110 errors (Doc ID 146039.1)DatabaseAIError