10g GC 启动oms报错Unexpected error occurred. Check error and log files.

早上打开GC发现连接失败

查看oms状态提示错误
$ ./emctl status oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Management Server is not functioning because of the following reason:
Unexpected error occurred. Check error and log files.

尝试启动oms报错
$ ./emctl start oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
opmnctl: opmn is already running
Starting HTTP Server ...
Starting Oracle Management Server ...
Checking Oracle Management Server Status ...
Oracle Management Server is not functioning because of the following reason:
Unexpected error occurred. Check error and log files.


手工停止全部资源
find /u01/app/oracle -name opmnctl
/u01/app/oracle/product/11.1.0/oms10g/opmn/bin/opmnctl

$ /u01/app/oracle/product/11.1.0/oms10g/opmn/bin/ opmnctl stopall
opmnctl: stopping opmn and all managed processes...

手工重启全部资源
$ /u01/app/oracle/product/11.1.0/oms10g/opmn/bin/ opmnctl startall
opmnctl: starting opmn and all managed processes...


再次查看oms状态
$ ./emctl status oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Management Server is Up.


问题解决

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29047826/viewspace-1518676/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29047826/viewspace-1518676/

引用\[1\]中的代码是一个Spring Boot的定时器配置类。该类通过实现ApplicationContextAware接口,获取ApplicationContext对象,并提供了一个静态方法getBean,用于获取指定类型的Bean。这个类的作用是为了在定时任务中能够方便地获取其他Bean的实例。 关于你提到的报错"java.lang.NoSuchFieldError: Companion",这个错误通常是由于版本不兼容或依赖冲突引起的。NoSuchFieldError表示在运行时找不到指定的字段。可能是因为你使用的某个依赖库与其他依赖库版本不兼容,导致运行时出现了冲突。 解决这个问题的方法有几种: 1. 检查你的项目依赖,确保所有的依赖库版本兼容,并且没有冲突。 2. 尝试更新相关的依赖库版本,以解决可能的兼容性问题。 3. 检查你的代码中是否有其他地方使用了相同的字段名,可能会导致冲突。如果有,可以考虑修改字段名以避免冲突。 希望这些解决方法能够帮助你解决问题。如果还有其他问题,请随时提问。 #### 引用[.reference_title] - *1* [SpringBoot Task定时任务报错Unexpected error occurred in scheduled task原因及解决办法](https://blog.csdn.net/weixin_63692154/article/details/126274945)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值