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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...