Dashboards & Visualizations

datetime.xml (file integrity check error)

anthonyhailey19
New Member

I am getting this message below days after I applied the datetime.xml file replacement patch.

"File Integrity checks found 1 files that did not match the system-provided manifest. Review the list of problems reported by the InstalledFileHashChecker in splunkd.log File Integrity Check View ; potentially restore files from installation media, change practices to avoid changing files, or work with support to identify the problem."

I read through the release notes with the understanding that this message should be disregarded and I would disappear. However it seems to come back every time Splunk is restarted. I the only to clear this message is to download and upgrade to a pre-patched version of Splunk?

0 Karma
1 Solution

mattchiste
Explorer

Officially, the answer is to just ignore the error and/or upgrade to a patched version. Unofficially, you could update the manifest yourself.

To clear this error, you’ll have to update the manifest file (name varies depending on splunk version) at:

 /opt/splunk/splunk-7.3.2-c60db69f8e32-linux-2.6-x86_64-manifest

You’ll want to back up the manifest, then update the line with datetime.xml with the latest sha256 hash. If you make the changes exactly as prescribed in the article, adding just the four characters specified, your new file’s hash will look like this:

f 444 splunk splunk splunk/etc/datetime.xml f2901c888ad87ac54f6d8274cdb1ec26edb5e802f71dd72a9ffa384a935692f6

But, if you want to be sure, you should be able to run sha256sum to view the hash after you update your file:

...$ sha256sum /opt/splunk/etc/datetime.xml
f2901c888ad87ac54f6d8274cdb1ec26edb5e802f71dd72a9ffa384a935692f6  /opt/splunk/etc/datetime.xml

After restarting Splunk, Splunk will validate the file and since the hash in the manifest will match the hash of the file on-disk, the error will disappear.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The release notes say the message will disappear after you upgrade to a version that contains the fix. Until then, you can safely ignore the message.

---
If this reply helps you, Karma would be appreciated.
0 Karma

mattchiste
Explorer

Officially, the answer is to just ignore the error and/or upgrade to a patched version. Unofficially, you could update the manifest yourself.

To clear this error, you’ll have to update the manifest file (name varies depending on splunk version) at:

 /opt/splunk/splunk-7.3.2-c60db69f8e32-linux-2.6-x86_64-manifest

You’ll want to back up the manifest, then update the line with datetime.xml with the latest sha256 hash. If you make the changes exactly as prescribed in the article, adding just the four characters specified, your new file’s hash will look like this:

f 444 splunk splunk splunk/etc/datetime.xml f2901c888ad87ac54f6d8274cdb1ec26edb5e802f71dd72a9ffa384a935692f6

But, if you want to be sure, you should be able to run sha256sum to view the hash after you update your file:

...$ sha256sum /opt/splunk/etc/datetime.xml
f2901c888ad87ac54f6d8274cdb1ec26edb5e802f71dd72a9ffa384a935692f6  /opt/splunk/etc/datetime.xml

After restarting Splunk, Splunk will validate the file and since the hash in the manifest will match the hash of the file on-disk, the error will disappear.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...