My Oracle Support Banner

Exalogic: Getting "Found cgrep file or dir under /exalogic-general/exachk. Please delete or rename the file or dir and run exachk again" Error When Running Exachk Tool (Doc ID 2510772.1)

Last updated on NOVEMBER 06, 2019

Applies to:

Oracle Exalogic Elastic Cloud Software - Version 2.0.6.3.180417 and later
Linux x86-64
Oracle Virtual Server x86-64

Symptoms

In Exalogic, when executing Exachk, it fails with the below message: 

[root@el01cn01 exachk]# ./exachk -a

Found cgrep file or dir under /exalogic-general/exachk. Please delete or rename the file or dir and run exachk again

exachk exiting ..... 

Deleting the cgrep file doesn't help. 

When checking files and directories under 'exachk' directory we see that ownership of the files is not root. Below is snippet.

[root@el01cn01 exachk]# ls -la
total 348353
drwxr-xr-x+ 10 4294967294 4294967294 25 Feb 18 16:00 .
drwxrwxrwx  15 4294967294 bin 58 Feb 18 15:04 ..
-r--r--r--+  1 4294967294 4294967294   8319322 Nov 29 18:40 Apex5_CollectionManager_App.sql
drwxr-xr-x+  2 4294967294 4294967294         5 Nov 29 18:38 bash
drwxr-xr-x+  3 4294967294 4294967294         7 Feb 18 15:04 build
-r-xr-xr-x+  1 4294967294 4294967294      6325 Feb 18 15:59 cgrep
drwxr-xr-x+  4 4294967294 4294967294        83 Feb 18 16:00 .cgrep
-r-xr-xr-x+  1 4294967294 4294967294      6325 Feb 18 15:05 cgrep-old
-rw-r--r--+  1 4294967294 4294967294      5140 Feb 18 15:05 cgrep.pyc
-r--r--r--+  1 4294967294 4294967294   2958609 Nov 29 18:40 CollectionManager_App.sql
-r--r--r--+  1 4294967294 4294967294  60819229 Feb 18 16:00 collections.dat
drwxr-xr-x+  2 4294967294 4294967294         3 Feb 18 15:04 doc
-rwxr-x---+  1 4294967294 4294967294     16852 Feb 18 16:00 exachk
-rw-r--r--+  1 4294967294 4294967294   2070783 Nov 29 19:08 EXAchk_Health_Check_Catalog.html
-r--r--r--+  1 4294967294 4294967294    149959 Nov 29 18:38 exachk.pyc
-rw-r--r--+  1 4294967294 4294967294 272099108 Feb 18 14:59 exachk.zip
drwxr-xr-x+  2 4294967294 4294967294        11 Nov 29 18:40 exadiscover
drwxr-xr-x+  3 4294967294 4294967294        34 Nov 29 18:40 lib
-rw-r--r--+  1 4294967294 4294967294      4328 Nov 29 19:08 readme.txt
-r--r--r--+  1 4294967294 4294967294   9168615 Nov 29 18:39 rules.dat
-r--r--r--+  1 4294967294 4294967294     43473 Nov 29 18:40 sample_user_defined_checks.xml
drwxr-xr-x+  2 4294967294 4294967294         6 Nov 29 18:40 templates
-r--r--r--+  1 4294967294 4294967294      3217 Nov 29 18:40 user_defined_checks.xsd
-rw-r--r--+  1 4294967294 4294967294       236 Nov 29 19:08 UserGuide.txt
drwxr-xr-x+  2 4294967294 4294967294         5 Nov 29 18:38 web

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.