AppD Archive

Error when attempting to start Analytics agent

CommunityUser
Splunk Employee
Splunk Employee

Has anyone gotten this error when attempting to start the Analytics agent and did you find the resolution?

Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V

0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

The reason for this error was the exisitence of jar files from earlier releases of the machine agent in the /lib directory. Besides unzipping the new machine agent you should also remove the previous jar files or just start with an empty directory. When redeployed in a new directory, the error stopped occurring and the Analytics agent started successfully.

View solution in original post

CommunityUser
Splunk Employee
Splunk Employee

The reason for this error was the exisitence of jar files from earlier releases of the machine agent in the /lib directory. Besides unzipping the new machine agent you should also remove the previous jar files or just start with an empty directory. When redeployed in a new directory, the error stopped occurring and the Analytics agent started successfully.

Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...