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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...