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!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...