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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...