Installation

splunk is starting after stopping

yazdanhasainar
New Member

splunk is Re starting after stopping,

I have tried killing the process too. But no help.

Running process:

ps -eaf | grep splunk

splunk 21469 1 3 12:51 ? 00:00:02 splunkd -p 8089 start
splunk 21473 21469 0 12:51 ? 00:00:00 [splunkd pid=21469] splunkd -p 8089 start [process-runner]
splunk 21485 21473 0 12:51 ? 00:00:00 mongod --dbpath=/opt/data/kvstore/mongo --port=8191 --timeStampFormat=iso8601-utc --smallfiles --oplogSize=200 --keyFile=/opt/data/kvstore/mongo/splunk.key --setParameter=enableLocalhostAuthBypass=0 --replSet=601B05C0-55BD-4990-BDFE-FE2DA91D04D7 --sslAllowInvalidHostnames --sslMode=preferSSL --sslPEMKeyFile=/opt/splunk/etc/auth/server.pem --sslPEMKeyPassword=xxxxxxxx --nounixsocket
splunk 21589 21473 1 12:51 ? 00:00:00 /opt/splunk/bin/python -O /opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/root.py --proxied=127.0.0.1,8065,8000
splunk 21639 21473 0 12:51 ? 00:00:00 /opt/splunk/bin/splunkd instrument-resource-usage -p 8089 --with-kvstore

i cant even disable boot-start :

-> sudo /opt/splunk/bin/splunk disable boot-start -user splunk
error reading information on service splunk: No such file or directory

Can someone help me in stopping Splunk?

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

If you have setup splunk as a service then it will start itself automatically. Try this instead:

service splunk stop

View solution in original post

0 Karma

woodcock
Esteemed Legend

If you have setup splunk as a service then it will start itself automatically. Try this instead:

service splunk stop
0 Karma

yazdanhasainar
New Member

It worked, Thanks

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi yazdanhasainar,
your splunk runs using root or splunk user?
probably there's a problem in grants.

Bye.
Giuseppe

0 Karma

yazdanhasainar
New Member

Splunk is running using splunk user only, but the service was in root. logged in as root and stopped service : service splunk stop

0 Karma

yazdanhasainar
New Member

[splunk@ip-10-0-101-225 local]$ /opt/splunk/bin/splunk stop
Stopping splunkd...
Shutting down. Please wait, as this may take a few minutes.
... [ OK ]
Stopping splunk helpers...
[ OK ]
Done.
[splunk@ip-10-0-101-225 local]$ /opt/splunk/bin/splunk status
splunkd is running (PID: 23191).
splunk helpers are running (PIDs: 23192 23203 23306 23356).
[splunk@ip-10-0-101-225 local]$

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!

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

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...