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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...