温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

CRS-0019 CRS-0014 LFI-00142

发布时间:2020-08-08 15:28:04 来源:ITPUB博客 阅读:432 作者:你好我是李白 栏目:关系型数据库

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

If you are NOT able to schedule downtime and file size growth in the GRID Home is causing a space issue then copy the logs to another location and do the following
% echo 0 > ocssd.l10
   
Please note this does not resolve the log rotation problem but only allows you to free up some space.


4). Bug 18700935 has been fixed in 11.2.0.4.5 PSU for Unix/Linux platform and 11.2.0.4.12 Bundle for Windows platform. Please apply the patch if required.

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI