All Apps and Add-ons

DB Connect Java Bridge Server Connection Refused

pontorito
Explorer

I am getting the following error when using db connect. I cannot get java bridge server running, although I have been through many of the steps outlined in other q/a on this forum.

2014-06-18 15:29:44,009 INFO CONFIG: log.error_maxsize (int): 25000000
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5
6/18/14 
3:29:44.008 PM  
2014-06-18 15:29:44,008 INFO CONFIG: log.error_maxfiles (int): 5
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5
6/18/14 
3:29:43.981 PM  
2014-06-18 15:29:43,981 INFO CONFIG: error_page.default (function): <function handleError at 0x2045c80>
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5
6/18/14 
3:28:55.995 PM  
SplunkdConnectionException: Splunkd daemon is not responding: ('Error connecting to /services/messages: [Errno 111] Connection refused',)
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5
6/18/14 
3:28:55.995 PM  
    raise splunk.SplunkdConnectionException, 'Error connecting to %s: %s' % (path, str(e))
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5
6/18/14 
3:28:55.995 PM  
2014-06-18 15:28:55,995 ERROR Splunkd daemon is not responding: ('Error connecting to /services/messages: [Errno 111] Connection refused',)
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5
6/18/14 
3:28:55.994 PM  
2014-06-18 15:28:55,994 ERROR Socket error communicating with splunkd (error=[Errno 111] Connection refused), path = /services/messages
host = hadoop-utility01.bdn.lab.xcal.tv source = /mnt/hunk/home/splunk/hunk/var/log/splunk/jbridge.log sourcetype = jbridge-5

Any help is much appreciated!

0 Karma
1 Solution

pontorito
Explorer

I ended up deleting the $SPLUNK_DB/persistentstorage/dbx/global as noted in another case, restarting splunk and the problem was fixed! Even though the log error did not mention persistentstorage the fix seemed to work.

View solution in original post

pontorito
Explorer

I ended up deleting the $SPLUNK_DB/persistentstorage/dbx/global as noted in another case, restarting splunk and the problem was fixed! Even though the log error did not mention persistentstorage the fix seemed to work.

araitz
Splunk Employee
Splunk Employee

Is splunkd SSL disabled? Is splunkd running on a port other than 8089? Either of these conditions are known issues that will break DB Connect 1.x.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...