Installation

Crazy idea - Installing Splunk - Getting 'Failed to create/start service'

edslocombe
New Member

I've tried any number of things, must be on about my 15th attempt now.

I keep getting the following error (as I see a lot of others have also got):

"Splunk Installer was unable to create Splunk Services."

"Please make sure that the user running the installer had the correct privileges, including being able to create Windows services. Exitcode='4'"

I have tried running the MSI as an administrator and checked that I don't have any file named 'common' or 'program' (see here, linked from a similar question).

Please can anyone help?

My system details / Splunk version details are as follows:

VERSION=5.0.2
BUILD=149561
PRODUCT=splunk
PLATFORM=Windows-AMD64

Thanks.

Tags (1)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi edelocombe

Please make sure that the user running the installer has the correct privileges, including being able to create or delete Windows Services. Also make sure that the Splunk install folder does not have "read-only" anywhere within its properties. Kill any remaining Splunk process after you do an installer uninstall on Windows or you manually delete the services. Windows will not always release the memory.

You can delete the services from the command line using:

sc delete splunkd
sc delete splunkweb

Check for any remaining Splunk folder and remove it, after that try the install.

cheers,
MuS

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...