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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...