Splunk Enterprise

Unable to Bind IP - Splunk Issue - OOps the server encountered unexpected Condition

amitchorgi
Loves-to-Learn

Hello All,

I found an wired problem/defect. Not sure whether you are getting the same.

Issue: I am unable to Bind IP and getting error 'OOps the server encountered unexpected Condition '

Followed the : https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/BindSplunktoanIP

It's related to editing the correct 'web.conf' file. 

The document basically not telling which 'web.conf' file to edit. There are Eight 'web.conf' files in total.

if you try coping 'web.conf' from 'Defaullt' folder into 'local' folder and editing 'mgmtHostPort' (with correct IP port etc,) it still does not work.

Resolution : if you edit 'web.conf' file (for mgmtHostPort)  in the below location, it works perfectly i.e. you are able to launch the Splunk with 'IP address:8000' port.

C:/Programme Files/Splunk/var/run/splunk/merged/web.conf

However: If you restart Splunk Enterprise via the web console i.e. 'Restart button' within the application. The settings goes and you need to do it again. If you restart via Microsoft services>splunkd.service -- there is no problem.

Environment Used : Splunk Enterprise - 9.3.1 (On-prem)    OS : Windows Server 2022

Also tried on Splunk Enterprise - 9.2.1  (On-prem) - Has same problem.

amitchorgi_0-1729870200251.jpeg

 

 

Labels (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

https://docs.splunk.com/Documentation/Splunk/latest/admin/Wheretofindtheconfigurationfiles

This is how Splunk merges settings from all the configuration files to create an effective configuration which will be applied.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...