Deployment Architecture
Highlighted

I have sudo splunk user access, but why am I getting error "Could not create Splunk settings directory at..." with my command to reload the deployment server?

Builder

Hi

I have the sudo splunk user access. I am trying to reload the deployment server under $SPLUNK_HOME/bin with the following command:

 sudo -u splunk /opt/splunk/bin/splunk reload deploy-server 

in which I am getting the following error message:

An error occurred: Could not create Splunk settings directory at '/opt/new_directory/splunk/.splunk'.

Can anyone suggest me what's wrong with my command for reloading the deployment server?

0 Karma
Highlighted

Re: I have sudo splunk user access, but why am I getting error "Could not create Splunk settings directory at..." with my command to reload the deployment server?

Path Finder

The splunk user probably does not have write access. Need to check permissions on the directorie(s)/file(s).

View solution in original post

0 Karma