• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Rafael P. · Feb 26, 2015 at 03:08 AM ·

Apache WebServer Agent doesn't connect to collector

Hi,

I have these Error in the dtwsagent.log trying to start the dtwebserver process.
In the collector Log, there is nothing particular (no connect/disconnect)
The Agent is installed externally (on an provider) and the Collector is installed on site (we had no choice, no way no install the collector close to the agent)

Environment : Java version 6 64b -  Apache 2- Tomcat 6 - OS Debian 64b - Dt Agent 6.1 + Fixpack applied
The reverse proxy seems correctly configured and the 9998 port has been open

 

Thanks a lot for your help

 

2015-02-24 16:28:58.460327 [11003/b12528e8] info    [native] ------------------------------------------------------------------------------------------------------
2015-02-24 16:28:58.460344 [11003/b12528e8] info    [native] dynaTrace Agent for Web server Copyright (C) 2004-2014 Compuware Corporation, http://www.compuware.com
2015-02-24 16:28:58.460352 [11003/b12528e8] info    [native] ------------------------------------------------------------------------------------------------------
2015-02-24 16:28:58.460364 [11003/b12528e8] info    [native] Version ..................... 6.1.0.7880, build date Nov 26 2014 14:41:59, svn rev. 449524
2015-02-24 16:28:58.460392 [11003/b12528e8] info    [native] Command line is ./dynatrace-6.1.0/agent/lib64/dtwsagent
2015-02-24 16:28:58.460401 [11003/b12528e8] info    [native] Build platform .............. Linux x86 64-bit
2015-02-24 16:28:58.460410 [11003/b12528e8] info    [native] Platform .................... Linux 2.6.32-5-amd64 x86_64
2015-02-24 16:28:58.460417 [11003/b12528e8] info    [native] Bootstrap version ........... 6.1.0.7880
2015-02-24 16:28:58.460424 [11003/b12528e8] info    [native] Log level console ........... none
2015-02-24 16:28:58.460430 [11003/b12528e8] info    [native] Log level file .............. info
2015-02-24 16:28:58.460437 [11003/b12528e8] info    [native] Log file .................... /data/Poc_Dynatrace/dynatrace-6.1.0/log/dt_dtwsagent_11003.0.log
2015-02-24 16:28:58.460446 [11003/b12528e8] info    [native] Agent host .................. SVSGHLINSE001
2015-02-24 16:28:58.460462 [11003/b12528e8] info    [native] Agent library ............... /data/Poc_Dynatrace/dynatrace-6.1.0/agent/lib64/libdtwsagent.so
2015-02-24 16:28:58.460470 [11003/b12528e8] info    [native] Agent name .................. Tomcat_CRM
2015-02-24 16:28:58.460480 [11003/b12528e8] info    [native] Server/Collector ............ dynatrace.sergic.com:9998
2015-02-24 16:29:18.502093 [11003/b12528e8] info    [native] Could not retrieve LoadBalancing configuration from dynatrace.sergic.com:9998 (70014): End of file found
2015-02-24 16:29:18.502156 [11003/b12528e8] info    [native] Trying to connect to Server/Collector for up to 19 seconds
2015-02-24 16:29:39.044648 [11003/b12528e8] severe  [native] Exception while connecting to collector, info:<util::SocketConnection::receiveExact(), 70014, End of file found>
2015-02-24 16:29:39.044715 [11003/b12528e8] warning [native] Unable to register with Server/Collector dynatrace.sergic.com:9998, CONTINUING WITHOUT INSTRUMENTATION.
2015-02-24 16:29:59.113756 [11003/b12528e8] severe  [native] Exception during registerSensorMetaData: sendExact() ... not connected, 88, Socket not available or already closed
2015-02-24 16:29:59.114129 [11003/b12528e8] severe  [native] ... last message repeated 11 times ...
2015-02-24 16:29:59.114118 [11003/b12528e8] info    [native] Successfully started agent
2015-02-24 16:29:59.114613 [11003/a7ff88e8] info    [native] New subAgent registered successfully: ca975187
2015-02-24 16:29:59.114690 [11003/a7ff88e8] info    [native] sub agent registered with id (sub/slave) ca975187/7828e4338

 

Rafael

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

5 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Sandeep P. · Apr 11, 2015 at 06:32 AM

Hey Rafael / Andreas,

 

Were you able to determined what caused this error? I am facing the same issue, where one of my Java agent got disconnected and I see the below in the log.

2015-04-09 18:27:21 [ccf808de] info    [native] Instrumentation channel connected successfully
2015-04-09 18:27:21 [ccf808de] info    [native] Connected to Server/Collector xxxxxxxxx
2015-04-09 18:27:22 [acb588de] info    [native] Control channel connected successfully
2015-04-09 18:27:22 [acb588de] info    [native] Agent ID .................... bb72541d
2015-04-09 18:27:22 [acb588de] info    [native] Process ID .................. 17197
2015-04-09 18:27:22 [acb588de] info    [native] Recovery .................... enabled
2015-04-09 18:27:22 [acb588de] info    [native] Hot Sensor Placement ........ available
2015-04-09 18:27:25 [7f48a8de] info    [native] Eventsender channel connected successfully
2015-04-09 18:27:25 [7f48a8de] info    [native] Event channel connected successfully
2015-04-09 18:27:25 [ad5678de] info    [native] Sampling Cache (911 methods) cleared ...
2015-04-09 18:36:41 [ad5678de] info    [native] Sampling Cache (0 methods) cleared ...
2015-04-09 18:37:02 [acb588de] info    [native] License = license ok; no uem volume available;
2015-04-09 18:48:26 [ad5678de] info    [native] ... last message repeated 2 times ...
2015-04-09 18:48:26 [ad5678de] info    [native] Sampling Cache (0 methods) cleared ...
2015-04-09 21:13:01 [acb588de] info    [native] Reconnecting agent with next collector
2015-04-09 21:13:01 [ccf808de] info    [native] Instrumentation channel connected successfully
2015-04-09 21:13:01 [ccf808de] info    [native] Connected to Server/Collector xxxxxx
2015-04-09 21:13:05 [7f48a8de] warning [native] Exception occurred while sending events: sendExact() ... not connected, 88, Socket not available or already closed

 

Thanks,

Sandeep.

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rafael P. · Apr 14, 2015 at 01:30 AM 0
Share

Hello Sandeep,

My issue was related to a network problem.. According to the provider the proxy was not well configured

Your problem seems a little bit différent, your agent is disconnected (mine was never connected)

- Is your collector installed far from the agent ?

- Are you systematically disconnected or it happens randomly ?

- Did you get valid information  from this agent the time it is connected ?

avatar image

Answer by Rafael P. · Feb 26, 2015 at 11:41 PM

The issue is only for one web server agent (the other web server agent is correctly connected) : the issue is certaintly related to this agent and not the collector

Because this agent is no close to the collector, don't you think it could be due to the distance ? maybe because of the latency ?

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Feb 26, 2015 at 10:36 PM

Does this happen for every web server agent on that collector or are there other agents on that same collector where there is no problem? I want to figure out if  this is a problem with the agent or with the Collector

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Rafael P. · Feb 26, 2015 at 08:15 PM

Hello Andreas, thanks for your answer
Yes le server and Collector have been restarted, an another system profil is working fine with several connected agents
The Telnet is also ok between the WebServer agent and the collector on 9998
Rights are correctly positionned on the process, but I still have this connexion exception




Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Feb 26, 2015 at 04:40 AM

Have you restarted your Server and Collectors after you applied the FixPack?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A