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!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...