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
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...