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

Database agent doesn't start

Anees Ur.Rahman
Producer

Database agent doesn't start and give the below error message. port already opened to both Controller and Event service. 

 

main] 03 Nov 2021 14:31:07,366 INFO Agent - Agent Install Directory [/appdynamic/db-agent-21.9.0.2521]
[main] 03 Nov 2021 14:31:07,366 INFO Agent - Using Agent Version [Database Agent v21.9.0.0 GA compatible with 4.5.2.0 Build Date 2021-09-22]
[main] 03 Nov 2021 14:31:07,367 INFO Agent - JVM Runtime:
java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/jre
java.vm.vendor=Oracle Corporation
java.vm.name=OpenJDK 64-Bit Server VM
java.version=1.8.0_181
java.specification.version=1.8
java.runtime.version=1.8.0_181-b13
java.io.tmpdir=/tmp
user.language=en
user.country=US
user.variant=
Default locale=en_US
[main] 03 Nov 2021 14:31:07,367 INFO Agent - OS Runtime:
os.name=Linux
os.arch=amd64
os.version=3.10.0-957.el7.x86_64
user.name=aurahman
user.home=/home/aurahman
user.dir=/appdynamic/db-agent-21.9.0.2521
[main] 03 Nov 2021 14:31:07,367 INFO Agent - JVM Args : -XX:+HeapDumpOnOutOfMemoryError | -XX:OnOutOfMemoryError=kill -9 %p | -Xms1024m | -Xmx11264m |
[main] 03 Nov 2021 14:31:07,368 INFO Agent - JVM Runtime Name: 5493@apdyn-pr-da1.moh.gov.sa
[main] 03 Nov 2021 14:31:07,368 INFO Agent - JVM PID: 5493
[main] 03 Nov 2021 14:31:07,368 INFO Agent - Default Database Agent is resolving bootstrap info....
[main] 03 Nov 2021 14:31:07,418 INFO AgentUtil - Default Host Identifier Resolver using host name for unique host identifier [apdyn-pr-da1.moh.gov.sa]
[main] 03 Nov 2021 14:31:07,421 INFO AgentUtil - Default IP Address Resolver found IP addresses [[192.168.122.1, fe80:0:0:0:215:5dff:fef6:695b%eth0, 10.0.195.152]]
[main] 03 Nov 2021 14:31:07,421 INFO AgentUtil - Full Agent Registration Info Resolver found system property [appdynamics.agent.applicationName] for application name [Database Monitoring]
[main] 03 Nov 2021 14:31:07,422 INFO AgentUtil - Full Agent Registration Info Resolver found system property [appdynamics.agent.tierName] for tier name [Database Monitoring]
[main] 03 Nov 2021 14:31:07,422 INFO AgentUtil - Full Agent Registration Info Resolver found system property [appdynamics.agent.nodeName] for node name [Database Monitoring]
[main] 03 Nov 2021 14:31:07,453 INFO AgentUtil - Full Agent Registration Info Resolver using selfService [false]
[main] 03 Nov 2021 14:31:07,453 INFO AgentUtil - Full Agent Registration Info Resolver using application name [Database Monitoring]
[main] 03 Nov 2021 14:31:07,454 INFO AgentUtil - Full Agent Registration Info Resolver using tier name [Database Monitoring]
[main] 03 Nov 2021 14:31:07,454 INFO AgentUtil - Full Agent Registration Info Resolver using node name [Database Monitoring]
[main] 03 Nov 2021 14:31:07,476 INFO AgentUtil - XML Controller Info Resolver found controller host [appmon.moh.gov.sa]
[main] 03 Nov 2021 14:31:07,476 INFO AgentUtil - XML Controller Info Resolver found controller port [443]
[main] 03 Nov 2021 14:31:07,498 INFO AgentUtil - XML Agent Account Info Resolver using account name [customer1]
[main] 03 Nov 2021 14:31:07,499 INFO AgentUtil - XML Agent Account Info Resolver using account access key [****]
[main] 03 Nov 2021 14:31:07,513 INFO AgentUtil - Keystore file /appdynamic/db-agent-21.9.0.2521/conf/cacerts.jks was not found
[main] 03 Nov 2021 14:31:10,004 INFO Agent - Default Database Agent resolved bootstrap info!
[main] 03 Nov 2021 14:31:10,151 INFO Agent - Started [Default Database Agent] Schedulers
[main] 03 Nov 2021 14:31:10,151 INFO Agent - Scheduling Default Database Agent Registration ....
[DBAgent-1] 03 Nov 2021 14:31:10,245 INFO RegistrationChannel - Controller host [appmon.moh.gov.sa]; Controller port [443]
[DBAgent-1] 03 Nov 2021 14:31:10,278 INFO RegistrationChannel - setting agent hostname [apdyn-pr-da1.moh.gov.sa]
[DBAgent-1] 03 Nov 2021 14:31:10,278 INFO RegistrationChannel - setting agent version [Database Agent v21.9.0.0 GA compatible with 4.5.2.0 Build Date 2021-09-22]
[DBAgent-1] 03 Nov 2021 14:31:10,278 INFO RegistrationChannel - setting agent properties [{dbagent-name=Default Database Agent, dbagent-launch-id=e726f4a3-517c-48ea-be67-77cdc4db9688}]
[DBAgent-1] 03 Nov 2021 14:31:10,278 INFO RegistrationChannel - setting agent install dir [/appdynamic/db-agent-21.9.0.2521]
[DBAgent-1] 03 Nov 2021 14:31:10,278 INFO RegistrationChannel - setting agent type [DB_AGENT]
[DBAgent-1] 03 Nov 2021 14:31:10,279 INFO RegistrationChannel - setting agent application [Database Monitoring]
[DBAgent-1] 03 Nov 2021 14:31:10,279 INFO RegistrationChannel - setting agent tier name [Database Monitoring]
[DBAgent-1] 03 Nov 2021 14:31:10,279 INFO RegistrationChannel - setting agent node name [Database Monitoring]
[DBAgent-1] 03 Nov 2021 14:31:10,279 INFO RegistrationChannel - Sending Registration request
[DBAgent-1] 03 Nov 2021 14:31:44,386 ERROR ControllerHttpRequestResponse - Fatal transport error while connecting to URL [/controller/instance/UNKNOWN_MACHINE_ID/systemagentregistration]: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[DBAgent-1] 03 Nov 2021 14:31:44,387 WARN RegistrationChannel - Could not connect to the controller/invalid response from controller, cannot get registration information
[DBAgent-1] 03 Nov 2021 14:32:04,391 INFO RegistrationChannel - Controller host [appmon.moh.gov.sa]; Controller port [443]
[DBAgent-1] 03 Nov 2021 14:32:04,391 INFO RegistrationChannel - setting agent hostname [apdyn-pr-da1.moh.gov.sa]
[DBAgent-1] 03 Nov 2021 14:32:04,391 INFO RegistrationChannel - setting agent version [Database Agent v21.9.0.0 GA compatible with 4.5.2.0 Build Date 2021-09-22]
[DBAgent-1] 03 Nov 2021 14:32:04,391 INFO RegistrationChannel - setting agent properties [{dbagent-name=Default Database Agent, dbagent-launch-id=e726f4a3-517c-48ea-be67-77cdc4db9688}]
[DBAgent-1] 03 Nov 2021 14:32:04,391 INFO RegistrationChannel - setting agent install dir [/appdynamic/db-agent-21.9.0.2521]
[DBAgent-1] 03 Nov 2021 14:32:04,392 INFO RegistrationChannel - setting agent type [DB_AGENT]
[DBAgent-1] 03 Nov 2021 14:32:04,392 INFO RegistrationChannel - setting agent application [Database Monitoring]
[DBAgent-1] 03 Nov 2021 14:32:04,392 INFO RegistrationChannel - setting agent tier name [Database Monitoring]
[DBAgent-1] 03 Nov 2021 14:32:04,392 INFO RegistrationChannel - setting agent node name [Database Monitoring]
[DBAgent-1] 03 Nov 2021 14:32:04,392 INFO RegistrationChannel - Sending Registration request
[DBAgent-1] 03 Nov 2021 14:32:40,544 INFO Agent - Full certificate chain validation performed using default certificate file
[DBAgent-1] 03 Nov 2021 14:32:40,755 ERROR ControllerHttpRequestResponse - Fatal transport error while connecting to URL [/controller/instance/UNKNOWN_MACHINE_ID/systemagentregistration]: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

5 REPLIES 5

Ryan.Paredez
Community Manager

Hi @Anees Ur.Rahman,

 

Please check out this existing post Problem in DB agent installation and let me know if it helps!


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

provided solution doesnt work and also i want to make a script to the db agent automaticllay whenever the server starts up.

 

 

Hi, @Anees Ur.Rahman 

 

Thank you for letting me know. Let's see if the community can jump in and help. If you happen to find a solution yourself, please do come back and share the learnings here!


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Hi Anees ,

My DB agent also does't start can you help me if you get the solutions.

Regards,

Saurav

Ryan.Paredez
Community Manager

Hi @saurav.kosankar - here is an existing thread. Check it out to see if it helps.

https://community.appdynamics.com/t5/Infrastructure-Server-Network/Problem-with-DB-agent-installatio...

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here