Installation

How can I regenerate my package manifest file?

bohanlon_splunk
Splunk Employee
Splunk Employee

Note: This question is about the package manifest file (NOT the bucket manifest file).

Scenario: I accidentally deleted my package manifest files after upgrading between versions.
e.g. Upgraded from version 6.4.1 to 6.4.3.
Install directory = /opt/splunk
Action = I accidentally deleted both manifest from splunk-6.4.1-somenumbers-linux-2.6-x86_64-manifest and splunk-6.4.3-somenumbers-linux-2.6-x86_64-manifest from /opt/splunk/

Error: I am now getting error of this form when I start splunk;
"Cannot find any course of hashes. Manifest file '(null)' not present?"

How can I regenerate these?

Labels (1)
1 Solution

bohanlon_splunk
Splunk Employee
Splunk Employee

Workaround: If use the same install package (e.g. 6.4.3) used in upgrade, install in a temp area. Then, just grab the manifest file in the temp area. It should be the same as the one you want to recover.

Example:
-Your "live" instance (i.e. the one you deleted the file from) is in /opt/splunk
-Install a "new" instance to /opt/splunk2
-Grab the manifest file from /opt/splunk2, copy it into /opt/splunk
-Start /opt/splunk and observe error goes away and is replaced with message of the form:
"Validating installed files against hashes from '/opt/splunk/splunk-versionnumber-ID-platform-manifest'. All installed files intact"

View solution in original post

bohanlon_splunk
Splunk Employee
Splunk Employee

Workaround: If use the same install package (e.g. 6.4.3) used in upgrade, install in a temp area. Then, just grab the manifest file in the temp area. It should be the same as the one you want to recover.

Example:
-Your "live" instance (i.e. the one you deleted the file from) is in /opt/splunk
-Install a "new" instance to /opt/splunk2
-Grab the manifest file from /opt/splunk2, copy it into /opt/splunk
-Start /opt/splunk and observe error goes away and is replaced with message of the form:
"Validating installed files against hashes from '/opt/splunk/splunk-versionnumber-ID-platform-manifest'. All installed files intact"

Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...