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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...