Security

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

2012sluo
Engager

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)

vikramyadav
Contributor

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.

inventsekar
SplunkTrust
SplunkTrust

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.

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

thambisetty
SplunkTrust
SplunkTrust

may be permission issues.

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

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...