Mos有两篇相关bug文章,但是并不完全一致,日志无法,轮循,现象一致,也并不是特别影响系统稳定性的问题,所以可以采用如下解决方案解决:
GI ocssd.log rotation fails with error LFI-00142 and logfile grows to huge size (Doc ID 1900986.1)
Bug 18700935 - LFI-142: Unable to delete an existing file [ocssd][l10] not owned by Oracle (Doc ID 18700935.8)
现象
2020-01-14 12:20:21.721:
[client(78442)]CRS-0009:log file "/u01/app/11.2.0/grid/log/ncpdb02/client/olsnodes.log" reopened
2020-01-14 12:20:21.721:
[client(78442)]CRS-0019:file rotation terminated. log file: "/u01/app/11.2.0/grid/log/ncpdb02/client/olsnodes.log"
2020-01-14 12:25:21.763:
[client(80910)]CRS-0014:An error occurred while attempting to delete file "/u01/app/11.2.0/grid/log/ncpdb02/client/olsnodes.l03" during log file rotation. Additional diagnostics: LFI-00142: Unable to delete an existing file [olsnodes][l03] not owned by Oracle.
解决
The CSSD thread that encountered the LFI-00142 error needs to be restarted to ensure log rotation works again.
Manually deleting the logfile will not resolve the log rotation problem.
1). Shutdown CRS on the node reporting the problem.
# crsctl stop crs
2). Once CRS is down, proceed to manually delete the 'ocssd.l10' file, or copy the logfile to another location if you need to keep a backup.
# rm $GRID_HOME/log/<hostname>/cssd/ocssd.l10
3). Startup Clusterware again
# crsctl start crs
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
软考中级精品资料免费领
- 历年真题答案解析
- 备考技巧名师总结
- 高频考点精准押题
- 资料下载
- 历年真题
193.9 KB下载数265
191.63 KB下载数245
143.91 KB下载数1148
183.71 KB下载数642
644.84 KB下载数2756