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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...