Summary
Inventory gathering ndtrack processes on Unix-like operating systems may terminate unexpectedly while attempting to gather Java version details if the output from a "java" executable is atypical.
Symptoms
When this issue occurs, ndtrack processes will terminate with a segmentation fault and output in the tracker.log file from the ndtrack process will stop after logging that looks like either of the following:
[Wed 05 Jan 2022 10:05:28 AM -03 (G, 0)] {17500} The file '/usr/java/jre7/bin/java' has been detected as a possible package registry
[...]
[Wed 05 Jan 2022 10:05:41 AM -03 (G, 0)] {17500} IBM MQ inventory was unsuccessful either because it is not installed or there was an error.
Or:
[Wed 05 Jan 2022 10:05:28 AM -03 (G, 0)] {17500} The file '/usr/java/jre7/bin/java' has been detected as a possible package registry
[...]
[Wed 05 Jan 2022 10:05:41 AM -03 (G, 0)] {17500} Java product: "Java(TM) SE Runtime Environment", full version: "8.1.037", publisher: "", install location: "/usr/java/jre8/bin".
Cause
This issue is caused by a failure by the ndtrack process to handle atypical output from the following command using a java executable file found somewhere on the filesystem:
java -fullversion
Output from this command typically includes version information. An example is:
java full version "1.8.0_20-b26"
If output from a java executable file found on the filesystem is substantially different in form from the above then this issue may occur.
In particular, log message(s) in the tracker.log file stating:
The file '<path>/java' has been detected as a possible package registry
will identify a <path> that does not appear in a subsequent log message:
Java project: <details...>
One of the java executables thus identified will be triggering this issue.
Workaround
Various tracker (ndtrack) component preferences can be set to stop the inventory gathering process from performing the problematic operation (with the tradeoff that it will limit the inventory data that is gathered):
- Set the JavaFullVersion preference to false to disable gathering full Java version details using the "-fullversion" command line option. (Partial version details will still be gathered using the "-version" command line option.)
- Set the PerformJavaScan preference to false to disable gathering all Java version details.
- Set preferences related to filesystem scanning to limit file scanning to avoid finding the problematic java executable file. For example, set the ExcludeDirectory preference to the directory path containing the java file.
Additional information
Also see the following known issue which has similar symptoms but a different root cause: Inventory gathering may hang on Unix-like operating systems if executable bit is set on a non executable file named "java" (IOJ-2072459)
Fix status
This issue has been fixed in the following FlexNet Manager Suite releases: 2021 R1.4 / Mar 2022 (Cloud), 2022 R1 (On Premises)
Other information
Affected components: Agent, Inventory
Master issue ID: IOJ-2241253
Also known as: FNML-75025
Related Articles
Gathering diagnostic tracing from a FlexNet inventory agent process on Unix-like operating systems 135Number of Views Known Issue: Agent config.ini file may become corrupted on Unix-like operating systems and cause agent operations to go ha… 91Number of Views Known Issue: Inventory gathering may hang on Unix-like operating systems if executable bit is set on a non executable file… 18Number of Views Troubleshooting VMware discovery and inventory gathering 324Number of Views How the FlexNet inventory agent determines ORACLE_HOME on Unix-like operating systems when gathering Oracle Database inven… 85Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago