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
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...