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
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!

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...