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!

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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...