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

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...