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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...