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!

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

Data Management Digest – June 2026

Welcome to the June 2026 edition of Data Management Digest! This month’s update is short and sweet, with a ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...