HI guys,
I try to add new license Splunk on WebUI and CLI, Both Failed.
On CLI, I see error
/opt/splunk/etc/licenses/enterprise/24.7.License: failed to parse license because: The license payload seems to be empty
On WebUI, when I add I get 500 Error, on search following recommend on error page
index=_internal host="monitor*" source=*web_service.log log_level=ERROR requestid=666fdcbe397fd164249e90
I get this
2024-06-17 13:50:38,231 ERROR [666fdcbe397fd164249e90] error:338 - Traceback (most recent call last):
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 628, in respond
self._do_respond(path_info)
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 680, in _do_respond
self.body.process()
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 982, in process
super(RequestBody, self).process()
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 559, in process
proc(self)
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 225, in process_multipart_form_data
process_multipart(entity)
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 217, in process_multipart
part.process()
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 557, in process
self.default_proc()
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 717, in default_proc
self.file = self.read_into_file()
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 731, in read_into_file
fp_out = self.make_file()
File "/test1/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpreqbody.py", line 513, in make_file
return tempfile.TemporaryFile()
File "/test1/opt/splunk/lib/python3.7/tempfile.py", line 586, in TemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/test1/opt/splunk/lib/python3.7/tempfile.py", line 126, in _sanitize_params
dir = gettempdir()
File "/test1/opt/splunk/lib/python3.7/tempfile.py", line 294, in gettempdir
tempdir = _get_default_tempdir()
File "/test1/opt/splunk/lib/python3.7/tempfile.py", line 229, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Any one know why? Thank you for your time
From the Error, it states "failed to parse license because: The license payload seems to be empty"
Its normally XML format so you should be able to check it and that its not corrupted etc. If your still having lic issues then contact Splunk to ensure you have the correct license.
Follow these steps:
https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Installalicense
Hi @jacknguyen ,
I suppose that you used the splunk.license file, which you should have received from Splunk.
how did you load the license?
Did you followed the procedure at https://docs.splunk.com/Documentation/Splunk/9.2.1/Installation/Installalicense even if it's a very simple process.
Have you a distributed architecture or a singe stand-alone server?
if you have a distributed architecture, you must load the license in the License Master.
Ciao.
Giuseppe
Of course this is Splunk License I request. This is stand-alone server. My License can add with all my labs but this Server have error 500 when click Add License on WebUI
Hi @jacknguyen ,
as also @deepakc said, check if the file is corrupted, and eventually open a case to Splunk Support.
Ciao.
Giuseppe