Security

Splunk dbconnect v2 not working

ViniciusANT
Explorer

I just intalled splunkdb connect v2 and also java jdk 8 in my pc, but when I start the splunkdb connect v2 app, its just gives me a blank page.

Is there anything I'm missing ?

04-08-2015 12:06:15.325 -0300 ERROR AdminManagerExternal - Unexpected error "" from python handler: "'utf8' codec can't decode byte 0xe3 in position 27: invalid continuation byte". See splunkd.log for more details.
04-08-2015 12:06:15.325 -0300 ERROR AdminManagerExternal - Stack trace from python handler:\nTraceback (most recent call last):\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 71, in init\n print hand.toXml(info)\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 496, in toXml\n confInfo.toXml(info)\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 312, in toXml\n v.toXml(tmpNode) # calls ArgsList.toXml().\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 245, in toXml\n ArgsList.toXml(self, dataNode)\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 162, in toXml\n item.text = unicode(v)\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 27: invalid continuation byte\n

Tags (1)

aladda_splunk
Splunk Employee
Splunk Employee

Also check this answers post out - https://answers.splunk.com/answers/303931/db-connect-2-socket-error.html. Port 9998 already being bound is another reason the app results in blank page. You can fix that by modifying/adding to the rpcstart://default stanza in inputs.conf...something along these lines

[rpcstart://default]
javahome = /opt/splunk/jdk1.8.0_45/jre
port = 9085

adauria_splunk
Splunk Employee
Splunk Employee

Are you a Splunk Admin? If not, are you a DB Connect Admin or User? I've seen a similar issue with the old version where you permissions caused similar behavior.

-Andrew

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...