splunk won't start with error Warning: cannot create "/opt/splunk/etc/licenses/enterprise"


Hi I have splunk installed and can access everything in the terminal. I got to the ./splunk start part, and after reading through the licensing agreement, I get this:

Warning: cannot create "/opt/splunk/etc/licenses/enterprise"

Nothing happens after that. Any help here?

Tags (2)


Are you trying to execute ./splunk start from the right path?
 It seems like a permission issue or you are trying to start services of Splunk from low user privileges.

Super Champion

Warning: cannot create "/opt/splunk/etc/licenses/enterprise"

So, Splunk was not able to "create" the file.. Splunk user should have correct access to the /opt/splunk directory. 

please reply us the "ls -l /opt/" so that we can have a look about the /opt/splunk directory permissions.

0 Karma

Super Champion

may be permission issues.

If this helps, give a like below.
0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!