Splunk Enterprise

not able to restart splunk service

VijaySrrie
Builder

Hi,

Getting below error while restarting splunk
alt text

Labels (1)
Tags (1)
0 Karma
1 Solution

PavelP
Motivator

Hello @vijaysri ,

based on your screenshot, it seems Splunk is running on Windows and it installed as a service. A restricted user have to have right to start/stop a service.

If it has been worked before, then may be some recent changes prevent it now. The warnings about modified default files are not fatal but check them anyway and move your changes (not the files!) to the local folder.

Does is work if you restart Splunk using services.msc?

View solution in original post

0 Karma

PavelP
Motivator

Hello @vijaysri ,

based on your screenshot, it seems Splunk is running on Windows and it installed as a service. A restricted user have to have right to start/stop a service.

If it has been worked before, then may be some recent changes prevent it now. The warnings about modified default files are not fatal but check them anyway and move your changes (not the files!) to the local folder.

Does is work if you restart Splunk using services.msc?

0 Karma

DavidHourani
Super Champion

Any details on the changes that done before this error occurred ? It seems like the error is related to the permissions of your user... make sure you have sufficient permissions to restart.

0 Karma

sduff_splunk
Splunk Employee
Splunk Employee

You need to be the splunk user, or root. You may need to do the following,
sudo /opt/splunk/bin/splunk restart

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