AppD Archive

Analytics agent doesn't work

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Analytics agent doesn't start because of the PID issue and it still doesn't work even after the PID was deleted and the process had been restarted.. 

"java.lang.RuntimeException: Unable to create file [C:\Standalone\monitors\analytics-agent\analytics-agent.id] to store the process id because it already exists. Please stop any currently running process and delete the process id file"

I get this error coming repetively. Can somebody solve this?

Thank you,

Hari

Mohammed_Rayan
Contributor

Hari,

Are you sure that it was deleted/removed from the below location.

C:\Standalone\monitors\analytics-agent\analytics-agent.id

Can you verify again if this file exists in the above location.

You can share the analytic-agents logs to review it further if the file doesn't exist 

Regards,

Mohammed Rayan

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Mohammed,

Yes, It was deleted for sure..
PFA.

Thanks,

Hari

[For security purposes log has been removed from this thread]

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thank you @Mohammed.Rayan

Circling back, @Anonymous, were you able to resolve the issue?

If you are still looking for a solution let us know. If you have found a fix, please share with the community so others with similar issues can find it useful.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...