GC启动agent失败

本文详细阐述了在配置Oracle Enterprise Manager Agent时遇到时区不一致导致的启动失败问题,并提供了修正方法。通过修改emd.properties文件中的时区设置,确保与环境时区一致,成功解决了Agent无法正常上传文件信息的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

之前配置好后能正常使用,但以后在启动agent的时候,失败,提示如下:

[oracle@ocm1 bin]$ ./emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0. 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Starting agent ..... failed.
The agentTZRegion value in /oinstall/agent10g/agent10g/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script mgmt_target.set_agent_tzrgn(<agent_name>, <new_tz_rgn>) to get the value propagated to repository.
Consult the log files in: /oinstall/agent10g/agent10g/sysman/log


看到是因为时区的信息与配置文件中的不一致了,修改emd.properties中的时区与之前的时区一致,启动正常,时区的设置对于agent很重要,要是2变的时区不一致或每有,会导致agent无法上传文件信息。



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值