Splunk Search

error in splunk list forward-server command

shivanshuk
Explorer

We ar trying to connect our forwarder installed on one of the windows server to splunk installed on another windows server. However spluink is n0t showing active forwarders connected.
Even the splunk list forward-server command is giving below error when run on forwarder.
Please help

SplunkUniversalForwarder\bin>splunk list forward-server
Operation "ospath_fopen" failed in .\conf-mutator-locking.c:254, conf_mutator_lo
ck(); No error
Conf mutator lockfile has PID 4036, but my PID is 4892; error condition likely

Tags (1)
0 Karma

grahamrb
Explorer

Did you solve this? I'm getting the following error on one of our linux servers...

Checking prerequisites...
Checking mgmt port [8089]: open
Checking conf files for typos... Done
All preliminary checks passed.

Operation "is_pid_valid" failed in /opt/splunk/p4/splunk/branches/5.0.1/src/libzero/conf-mutator-locking.c:261, conf_mutator_lock(); Operation not permitted
Conf mutator lockfile has PID 18797, but my PID is 1144; error condition likely.

EDIT:
Restarted the VM and now it's all working again not sure what happened. It was right after doing some security patching on our RedHat install.

grahamrb
Explorer

Restarted the VM and now it's all working again not sure what happened. It was right after doing some security patching on our RedHat install.

0 Karma

shivanshuk
Explorer

All i can say is, This is likely due to forwarder not able to contact to splunk server, and u got this error.

just delete the forwarder and add again, thru CLI.
in my case it worked.....

and in case last escape is just reinstall forwarder, it will work if u got all required ports opened. 🙂

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 ...