I have an indexer that froze and the server was rebooted. When I try to start, stop or even status splunk I get the following error. Has anyone run into this problem and has an answer?
[root@eulpol06 local]# /opt/splunk/bin/splunk stop
splunkd 25332 was not running.
Stopping splunk helpers...
still shutting down helpers...Timed out waiting for splunk helpers to stop. [FAILED]
Error: Unable to stop splunk helpers.
[root@eulpol06 local]#
Thanks,
Jaime
When splunk is shut down improperly, sometimes it will leave behind a corrupted PID file in $SPLUNK_HOME/var/run/splunk directory and this error will show up when ./splunk start, restart or status is run.
The following steps should help resolve the issue:
The error should no longer show up. After that try restarting and splunk should start up without the warning.
it worked . Thanks.
It worked
Thank you so much. really helped.
When splunk is shut down improperly, sometimes it will leave behind a corrupted PID file in $SPLUNK_HOME/var/run/splunk directory and this error will show up when ./splunk start, restart or status is run.
The following steps should help resolve the issue:
The error should no longer show up. After that try restarting and splunk should start up without the warning.
so i found only splunkd.pib in my mac splunk folder but i couldn't move it to a temp directory so i moved it to trash. and even though the ./splunk status command couldn't run bcos it says "no such directory found"; it still worked. i was able to restart my Splunk Enterprise. Thanks guys.
hey bro,
i've done no.1
how do i process no. pls?
am using a mac. Thanxx for ur urgenbt assistance.
Do we need to move again the splunkd.pid after we successfully restart?
@wiggy :thanks a lot. . it did resolve the isssue..
-bash-4.2$ /opt/splunk/bin/splunk restart
splunkd is not running. [FAILED]
But, I am getting the following error :
Splunk> Another one.
Checking prerequisites...
Checking http port [8443]: open
Checking mgmt port [8089]: already bound ERROR: The mgmt port
[8089] is already bound. Splunk needs
to use this port. Would you like to
change ports? [y/n]: n Exiting....
Please help !
Thanks. I am in splunk 6.5 and I have the same problem.
There is no splunkweb.pid in my directory, so I just mv splunk.pid splunk.pid.bad. Then restart splunk, issue resolved!.
Thanks.
this works
works like a charm! (for time travelers, splunk version 6.3.3)
Works like a charm. Thanks!
Int the last 4yrs since posting this I figured it out.