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?
The splunk user probably does not have write access. Need to check permissions on the directorie(s)/file(s).
View solution in original post