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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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