Oraagent_gridOUT.log Grows Fast With Repeated Error: LFI-00006: Invalid parameter to function lfifno()

(Doc ID 2326061.1)

Last updated on NOVEMBER 13, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

1. It's found that file oraagent_gridOUT.log of node2 grows fast and is filled with following repeated errors:

2017-10-18 08:39:57.702:
CLSD: Logging terminated for process /oracle/app/11.2.0/grid/bin/oraagent.bin. File name: "/oracle/app/11.2.0/grid/log/svr2/agent/ohasd/oraagent_grid/oraagent_grid.log"
2017-10-18 08:39:57.702:
CLSD: A file system error occurred while attempting to FLUSH file "/oracle/app/11.2.0/grid/log/svr2/agent/ohasd/oraagent_grid/oraagent_grid.log" during log file rotation processing for process "/oracle/app/11.2.0/grid/bin/oraagent.bin". Additional diagnostics: LFI-00006: Invalid parameter to function lfiflu().

2017-10-18 08:39:57.702:
CLSD: A file system error occurred while attempting to CLOSE file "/oracle/app/11.2.0/grid/log/svr2/agent/ohasd/oraagent_grid/oraagent_grid.log" during log file rotation processing for process "/oracle/app/11.2.0/grid/bin/oraagent.bin". Additional diagnostics: LFI-00006: Invalid parameter to function lficls().

2017-10-18 08:39:57.702:
CLSD: A file system error occurred while attempting to check for the existence of file "/oracle/app/11.2.0/grid/log/svr2/agent/ohasd/oraagent_grid/oraagent_grid.log" during log file rotation processing for process "/oracle/app/11.2.0/grid/bin/oraagent.bin". Additional diagnostics: LFI-00006: Invalid parameter to function lfifex().  <<<<<<<<< LFI-00006

2017-10-18 08:39:57.702:
CLSD: A file system error occurred while attempting to free the file name object for file "/oracle/app/11.2.0/grid/log/svr2/agent/ohasd/oraagent_grid/oraagent_grid.log" during log file rotation processing for process "/oracle/app/11.2.0/grid/bin/oraagent.bin". Additional diagnostics: LFI-00006: Invalid parameter to function lfifno(). <<<<<<<<< LFI-00006


2. Node1 has no problem and all the files are with grid user and in Node 2  different "owner(oracle)" for the file oraagent_gridOUT.log is observed:

Node1:

svr1:root:/oracle/app/11.2.0/grid/log/svr1/agent/ohasd/oraagent_grid>ls -ltr
total 219848
-rw----r-- 1 grid oinstall 34578 Nov 24 2016 oraagent_gridOUT.log  <<<<<<<<< all the log files are all grid:oinstall
-rw--w-r-- 1 grid oinstall 8 Nov 24 2016 oraagent_grid.pid
-rw-r--r-- 1 grid oinstall 10601690 Oct 24 00:30 oraagent_grid.l10
-rw-r--r-- 1 grid oinstall 10608010 Oct 24 02:04 oraagent_grid.l09
-rw-r--r-- 1 grid oinstall 10605354 Oct 24 03:38 oraagent_grid.l08
-rw-r--r-- 1 grid oinstall 10604027 Oct 24 05:11 oraagent_grid.l07
-rw-r--r-- 1 grid oinstall 10604480 Oct 24 06:45 oraagent_grid.l06
-rw-r--r-- 1 grid oinstall 10597053 Oct 24 08:18 oraagent_grid.l05
-rw-r--r-- 1 grid oinstall 10599380 Oct 24 09:52 oraagent_grid.l04
-rw-r--r-- 1 grid oinstall 10596123 Oct 24 11:26 oraagent_grid.l03
-rw-r--r-- 1 grid oinstall 10589873 Oct 24 13:00 oraagent_grid.l02
-rw-r--r-- 1 grid oinstall 10598008 Oct 24 14:34 oraagent_grid.l01
-rw-r--r-- 1 grid oinstall 6453105 Oct 24 15:31 oraagent_grid.log
svr1:root:/oracle/app/11.2.0/grid/log/svr1/agent/ohasd/oraagent_grid>

-----------------------------------------------------------------------------------------------

svr1:root:/oracle/app/11.2.0/grid/log/svr1/agent/ohasd>ls -ltr
total 32
drwxr-xr-x 2 root system 4096 Oct 22 20:48 oracssdagent_root
drwxr-xr-x 2 root system 4096 Oct 22 21:18 oracssdmonitor_root
drwxr-xr-x 2 root system 4096 Oct 24 08:37 orarootagent_root
drwx-w-r-x 2 grid oinstall 4096 Oct 24 14:34 oraagent_grid
svr1:root:/oracle/app/11.2.0/grid/log/svr1/agent/ohasd>

Node2:

svr2:oracle:/oracle/app/11.2.0/grid/log/svr2/agent/ohasd/oraagent_grid>ls -ltr
total 18058576
-rw--w-r-- 1 oracle oinstall 8 Jul 06 2016 oraagent_grid.pid
-rw-r--r-- 1 oracle oinstall 10599088 Apr 10 2017 oraagent_grid.l10
-rw-r--r-- 1 oracle oinstall 10595982 Apr 10 2017 oraagent_grid.l09
-rw-r--r-- 1 oracle oinstall 10609077 Apr 10 2017 oraagent_grid.l08
-rw-r--r-- 1 oracle oinstall 10602278 Apr 10 2017 oraagent_grid.l07
-rw-r--r-- 1 oracle oinstall 10593749 Apr 10 2017 oraagent_grid.l06
-rw-r--r-- 1 oracle oinstall 10597459 Apr 10 2017 oraagent_grid.l05
-rw-r--r-- 1 oracle oinstall 10601787 Apr 10 2017 oraagent_grid.l04
-rw-r--r-- 1 oracle oinstall 10596164 Apr 10 2017 oraagent_grid.l03
-rw-r--r-- 1 oracle oinstall 10594722 Apr 10 2017 oraagent_grid.l02
-rw-r--r-- 1 oracle oinstall 10594418 Apr 10 2017 oraagent_grid.l01
-rw-r--r-- 1 oracle oinstall 10598845 Apr 10 2017 oraagent_grid.log
-rw----r-- 1 oracle oinstall 9128873826 Oct 24 15:21 oraagent_gridOUT.log <<<<<<<<< all the log files are all oracle:oinstall

------------------------------------------------------------------------------------------------

Remaining folders  in  Node 2 are owned by appropriate user (grid user)


svr2:oracle:/oracle/app/11.2.0/grid/log/svr2/agent/ohasd>ls -ltr
total 32
drwxr-xr-x 2 oracle oinstall 4096 Apr 09 2017 oracssdmonitor_root
drwxr-xr-x 2 oracle oinstall 4096 Apr 10 2017 oracssdagent_root
drwxr-xr-x 2 oracle oinstall 4096 Apr 10 2017 orarootagent_root
drwx-w-r-x 2 oracle oinstall 4096 Jul 20 08:16 oraagent_grid <<<<<<<<<<<<<< And all the folders are all "oracle:oinstall"
-rw-r--r-- 1 oracle oinstall 0 Oct 24 15:22 ls
svr2:oracle:/oracle/app/11.2.0/grid/log/svr2/agent/ohasd>

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms