Security

How to restart splunkweb? Getting error "Permission denied splunkd.pid is unreadable"

Kaushikkatta03
Explorer

We have an issue with splunkweb services unable to run them. Can anyone help resolving this error?

Splunk status:
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied
splunkd.pid file is unreadable.
splunkweb is not running.
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied
0 Karma

skoelpin
SplunkTrust
SplunkTrust

I bet Splunk is started by root. You should check that out

%SPLUNK/bin

0 Karma

sowings
Splunk Employee
Splunk Employee

Try running this as the actual user running Splunk. Sounds like you have a "we'd prefer to run as user but Splunk got started as 'root'" situation.

0 Karma

Kaushikkatta03
Explorer

Hi Sowings ,

I have restarted splunkweb services in all the server instances , everythng are running fine in the server . but im unable to load the splunk web page its throwing me error.

Will it be any problem with network side.

0 Karma

hardikJsheth
Motivator

No it seems splunk has not started successfully. Check the ./splunk status. Verify the splunkd.log file for any error that your are getting.

0 Karma

Kaushikkatta03
Explorer

i have verified splunkd.log , i cant find any error related with host and check whether ports are listening or not every where i can see
splunkd 3567 root 4u IPv4 2234532 0t0 TCP *:8089 (LISTEN)

and i check ./splunk status

splunkd is running (PID: 3567).
splunk helpers are running (PIDs: 3568).
splunkweb is running (PID: 3632).

still unable to understand why i cant get into the page

0 Karma
Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...