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.

Ultra 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


may be permission issues.

If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk Cloud Platform 9.1.2308?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2308! Analysts can ...

Index This | Why do they call it hyper text?

November 2023 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

State of Splunk Careers 2023: Career Resilience and the Continued Value of Splunk

For the past three years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...