Splunk Dev

Why am I getting error "/opt/bin/splunk was not found." trying to set up the Splunk Web Framework?

skender27
Contributor

Hi,

I trying to set up for the first time the Web Framework in /opt/splunketc/apps/framework/ with the command : ./splunkdj setup,
but I get the following error:

/opt/bin/splunk was not found.  Please check your SPLUNK_HOME path and try again.

How could I possibly resolve this issue?

Thanks,
Skender

0 Karma
1 Solution

skender27
Contributor

Ok, first I did ls -la to see all files.
Remove the .splunkhome file and then run ./splunkdj setup again.
This will again create the file .splunkhome.
When asked where Splunk is installed, set /opt/splunk and it should be ok (Debian OS).

Hope it helps for anybody else,
Skender K.

View solution in original post

0 Karma

skender27
Contributor

Ok, first I did ls -la to see all files.
Remove the .splunkhome file and then run ./splunkdj setup again.
This will again create the file .splunkhome.
When asked where Splunk is installed, set /opt/splunk and it should be ok (Debian OS).

Hope it helps for anybody else,
Skender K.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...