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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...