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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...