Deployment Architecture

Splunkdj setup - ERROR

emaccaferri
Communicator

Hi everyone,
I followed the Web Framework guide to enable it.
The setup process asks you to specify where Splunk is installed,
I specified a path. I thought it was the right one, but instead it sais that the path oesn't exist.

The problem is that I can't find a way to fix the path, it seems setted and now, even after a reboot, the setup doesn't ask me for it and gives the error.
Any idea?
Thank you.

0 Karma

emaccaferri
Communicator

See this conversation, the file you havo to delete or edit after the first attempt of path is .splunkhome
http://answers.splunk.com/answers/117569/attempt-to-setup-splundj-error

0 Karma

MartinMcNutt
Communicator

Just run this command again and answer No.
splunkdj.bat setup

0 Karma

emaccaferri
Communicator

no way, nothing you suggest worked. anyone has an idea?

0 Karma

MartinMcNutt
Communicator

Your node & python path must have double backslashes. Splunk answers is removing them.

0 Karma

emaccaferri
Communicator

Sorry, I cannot find differences between your file and mine

0 Karma

MartinMcNutt
Communicator

(Edit) Make sure it has \ in the text file. Then convert the path to a path windows understands and make sure you can open that path.

I dont remember if I added the path with or without the " but give that a try without the quotes.

{
"debug": false,
"mount": "dj",
"node": "C:\Program Files\Splunk\bin\node.exe",
"proxy_path": "/en-US/splunkd/__raw",
"proxy_port": 0,
"python": "C:\Program Files\Splunk\bin\python.exe",

0 Karma

emaccaferri
Communicator

That's the file:
{
"debug": false,
"mount": "dj",
"node": "C:\Program Files\Splunk\bin\node.exe",
"proxy_path": "/en-US/splunkd/__raw",
"proxy_port": 0,
"python": "C:\Program Files\Splunk\bin\python.exe",
...
}

what should I correct?
I at first delated it, but no luck, same error and quastion asked

0 Karma

MartinMcNutt
Communicator

You can edit the file .splunkdjrc_splunkweb to fix the issue or just rename/delete it.

0 Karma

emaccaferri
Communicator

I can't, every time I rerun I get the error, without the process asking me the question

0 Karma

emaccaferri
Communicator

Splunk 6.0.1

0 Karma

aelliott
Motivator

what version of splunk do you have?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...