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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...