Getting Data In

Uninstall universal forwarder error: "Splunk Installer was unable to enable event log monitoring. Splunk exitcode='1'"

maroex77
New Member

I am trying to uninstall Universal Forwarder 6.1.3 and it gives me an error "Splunk Installer was unable to enable event log monitoring. Splunk exitcode='1'". Does anyone know how to fix this so i can remove and update to the new version?

0 Karma

risgupta
Path Finder

Try to check if the PID file is existing for the splunk at the location $SPLUNK_HOME/var/run/splunk/.

if there it is, then you can remove that file and then you can delete the entire splunk. If this still does not help you, then you might need to remove the registry settings for the splunk from HKEY_LOCAL for the windows machine.

Let me know how it goes.

0 Karma

nikita_p
Contributor

Hi @maroex77,
Did you specify a destination indexer IP with port 9997.
In the service manager you should verify that the user name and password are correct. You should use the domain\username format for the username.

0 Karma

p_gurav
Champion

Hi maroex77,

Please follow steps in below link to upgrade your splunk according to your system OS:
http://docs.splunk.com/Documentation/Splunk/7.0.1/Installation/HowtoupgradeSplunk

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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...