cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"unable to identify hostname" when trying to install the java agent

Amritesh.Kumar
Creator

Hi Team,

 

Good Day.

 

Java agent installation is not working for windows. I checked telnet is working i.e connecting with the controller but in error, it is giving like "unable to identify hostname"

 

Logs :-

[Redacted]

 

^ Post edited by @Ryan.Paredez to remove log files. Please do not share or attach log files to community posts for security and privacy reasons.

1 REPLY 1

Yusuke.Miyahara
AppDynamics Team

Hello Amritesh,

 

Thank you for your request to our community. We are happy to assist you with this matter.

Please make sure the following items.


1. Please confirm that you set <controller-host> in '<agent_home>/verx.x.x.x.x/conf/controller-info.xml'. It is also necessary to set the property such as <application-name>, <tier-name> and <node-name> which is described as "Required:Yes" in the following document.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...


2. If you use a proxy, please set the information in your system property.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...


3. Please share the result of the command "nslookup <YOUR HOST NAME HERE>" in order to confirm that name resolution is working fine.

---<example>-----

C:\Users\myaccount>nslookup mysaasaccount2020021717171312.saas.appdynamics.com
Server: UnKnown
Address: xxx.xx.xxx.xx

Name: xxxxx.saas.appdynamics.com
Addresses: xx.xx.xx.x
xx.xx.xx.x
Aliases: mysaasaccount.saas.appdynamics.com.localdomain

-----------------

If you still have any problem, please copy a few lines of log file which has errors.
(Log files cannot be attached because they are deleted for security and privacy reasons.)


Best regards,
Yusuke