RemoteCallException by pinging build agent - no route to host

Hello!

I'm using Teamcity Server 7.1.2 build 24170 on a physical Windows 2003 R2 32-bit Server and have one agent on the same machine, a second in a local SuSe-10.1 virtual machine(vmware) and a third agent installed in a CentOS vm hosted on an ESXi 5.1.0.

Buildserver works fine with the two local agents, but he third one in the CentOS vm causes me headache. Both - the Win 2003 and the ESXi Server(also the vm's on it) are in the same network. There is no firewall active on the Windows 2003 Server and iptables on CentOS is open for all outgoing traffic and for all incoming traffic from the buildserver's IP.
Ping from terminal works on both sides - from CentOS vm to Win2003 server and the other way around.But the agent occurs still in the "Disconnected" tab on the server web-ui with the inactivity reason: "Ping failed, check firewall on agent machine"
I know that Teamcity does no "standard" ping, but an xmlrpc request. The following output is in the logs, when debug-mode is active - i get the meaning of the exception, but don't understand why it occurs...

teamcity-server.log:

[2013-05-22 16:19:10,468]  DEBUG - rverSide.impl.XmlRpcBasedAgent - Problem pinging at-centos-build
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://192.168.101.190:9092/RPC2 buildAgent.ping: java.net.NoRouteToHostException: No route to host: connect
    at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:94)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedAgent$AgentTargetProxy.call(XmlRpcBasedAgent.java:308)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedAgent.pingInternal(XmlRpcBasedAgent.java:154)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedAgent.checkAddress(XmlRpcBasedAgent.java:119)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedAgent.initializeConnection(XmlRpcBasedAgent.java:99)
    at jetbrains.buildServer.serverSide.impl.auth.SecuredBuildAgent.initializeConnection(SecuredBuildAgent.java:102)
    at jetbrains.buildServer.serverSide.impl.BuildAgentManagerImpl.registerAgentImpl(BuildAgentManagerImpl.java:62)
    at jetbrains.buildServer.serverSide.impl.BuildAgentManagerImpl.registerAgent(BuildAgentManagerImpl.java:117)
    at jetbrains.buildServer.serverSide.impl.auth.SecuredBuildAgentManager.registerAgent(SecuredBuildAgentManager.java:23)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.doRegisterAgent(XmlRpcBasedServer.java:169)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.registerAgent3(XmlRpcBasedServer.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jetbrains.buildServer.serverSide.impl.ExceptionCollectorWrapper.execute(ExceptionCollectorWrapper.java:17)
    at jetbrains.buildServer.controllers.XmlRpcController$1.execute(XmlRpcController.java:1)
    at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
    at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
    at org.apache.xmlrpc.TCXmlRpcServer$TCXmlRpcWorker.execute(TCXmlRpcServer.java:32)
    at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
    at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:114)
    at jetbrains.buildServer.controllers.XmlRpcController$2.apply(XmlRpcController.java)
    at jetbrains.buildServer.controllers.XmlRpcController$2.apply(XmlRpcController.java:5)
    at jetbrains.buildServer.serverSide.impl.XmlRpcSessionManager.executeRequest(XmlRpcSessionManager.java:183)
    at jetbrains.buildServer.controllers.XmlRpcController.handleRequestInternal(XmlRpcController.java:30)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at jetbrains.buildServer.maintenance.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:5)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at jetbrains.buildServer.web.ParametersProviderCalculationContextFilter.doFilter(ParametersProviderCalculationContextFilter.java:4)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at jetbrains.buildServer.web.DisableSessionIdFromUrlFilter.doFilter(DisableSessionIdFromUrlFilter.java:6)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:61)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.NoRouteToHostException: No route to host: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at jetbrains.buildServer.xmlrpc.impl.MyXmlRpcTransport.sendXmlRpc(MyXmlRpcTransport.java:77)
    at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
    at org.apache.xmlrpc.TCXmlRpcClient$1.execute(TCXmlRpcClient.java:89)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
    at jetbrains.buildServer.xmlrpc.impl.CommonsXmlRpcTargetImpl$1.execute(CommonsXmlRpcTargetImpl.java:72)
    at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:84)
    ... 57 more
[2013-05-22 16:19:10,468]  DEBUG - rverSide.impl.XmlRpcBasedAgent - Agent at-centos-build is NOT pingable by address 192.168.101.190:9092
[2013-05-22 16:19:10,468]  DEBUG -    jetbrains.buildServer.AGENT - Registration of agent: at-centos-build {host=192.168.101.190:9092} returned: Unable to ping agent at-centos-build. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'at-centos-build' cannot be accessed by any of the addresses: [192.168.101.190], (port 9092)
jetbrains.buildServer.CannotPingAgentException: Unable to ping agent at-centos-build. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'at-centos-build' cannot be accessed by any of the addresses: [192.168.101.190], (port 9092)
    at jetbrains.buildServer.serverSide.impl.BuildAgentManagerImpl.registerAgentImpl(BuildAgentManagerImpl.java:102)
    at jetbrains.buildServer.serverSide.impl.BuildAgentManagerImpl.registerAgent(BuildAgentManagerImpl.java:117)
    at jetbrains.buildServer.serverSide.impl.auth.SecuredBuildAgentManager.registerAgent(SecuredBuildAgentManager.java:23)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.doRegisterAgent(XmlRpcBasedServer.java:169)
    at jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.registerAgent3(XmlRpcBasedServer.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jetbrains.buildServer.serverSide.impl.ExceptionCollectorWrapper.execute(ExceptionCollectorWrapper.java:17)
    at jetbrains.buildServer.controllers.XmlRpcController$1.execute(XmlRpcController.java:1)
    at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
    at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
    at org.apache.xmlrpc.TCXmlRpcServer$TCXmlRpcWorker.execute(TCXmlRpcServer.java:32)
    at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
    at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:114)
    at jetbrains.buildServer.controllers.XmlRpcController$2.apply(XmlRpcController.java)
    at jetbrains.buildServer.controllers.XmlRpcController$2.apply(XmlRpcController.java:5)
    at jetbrains.buildServer.serverSide.impl.XmlRpcSessionManager.executeRequest(XmlRpcSessionManager.java:183)
    at jetbrains.buildServer.controllers.XmlRpcController.handleRequestInternal(XmlRpcController.java:30)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at jetbrains.buildServer.maintenance.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:5)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at jetbrains.buildServer.web.ParametersProviderCalculationContextFilter.doFilter(ParametersProviderCalculationContextFilter.java:4)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at jetbrains.buildServer.web.DisableSessionIdFromUrlFilter.doFilter(DisableSessionIdFromUrlFilter.java:6)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:61)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[2013-05-22 16:19:11,421]  DEBUG - ains.buildServer.util.WatchDog - Flush Queue start: 0 msec
[2013-05-22 16:19:11,421]  DEBUG - ains.buildServer.util.WatchDog - Flush Queue done: 3 msec
[2013-05-22 16:19:13,484]  DEBUG -    jetbrains.buildServer.AGENT - Agent registration request from: 192.168.101.190, AgentDetails{Name='at-centos-build', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.101.190], Port=9092, Version='24170', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='77c3838c4a07a8a82b2fce912e23c54a'}, address will be added to the list of alternative agent addresses
[2013-05-22 16:19:13,484]  DEBUG - rverSide.impl.XmlRpcBasedAgent - Agent 'at-centos-build' possible agent addresses are [192.168.101.190]
[2013-05-22 16:19:13,484]  DEBUG - rverSide.impl.XmlRpcBasedAgent - Test build agent at-centos-build address 192.168.101.190:9092


teamcity-xmlrpc.log:

error: jetbrains.buildServer.CannotPingAgentException: Unable to ping agent at-centos-build. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'at-centos-build' cannot be accessed by any of the addresses: [192.168.101.190], (port 9092) (enable debug to see whole stacktrace)
[2013-05-22 16:25:10,203]   WARN -   jetbrains.buildServer.XMLRPC - Exception while calling XML-RPC handler: jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.registerAgent3([<?xml version="1.0" encoding="UTF-8"?>
<agentDetails agentName="at-centos-build" agentPort="9092" authToken="77c3838c4a07a8a82b2fce912e23c54a" osName="Linux, version 2.6.32-279.el6.x86_64">
  <alternativeAddresses>
    <address>192.168.101.190</address>
  </alternativeAddresses>
  <availableRunners />
  <availableVcs />
  <buildParameters>
    <param name="env.COLORTERM" value="gnome-terminal" />
    <param name="env.CVS_RSH" value="ssh" />
    <param name="env.DBUS_SESSION_BUS_ADDRESS" value="unix:abstract=/tmp/dbus-GcTzOeC71B,guid=f8c07fa8091a99981a4c0f8300000021" />
    <param name="env.DESKTOP_SESSION" value="gnome" />
    <param name="env.DISPLAY" value=":0.0" />
    <param name="env.GDMSESSION" value="gnome" />
    <param name="env.GDM_KEYBOARD_LAYOUT" value="de&#x9;nodeadkeys" />
    <param name="env.GDM_LANG" value="de_DE.utf8" />
    <param name="env.GNOME_DESKTOP_SESSION_ID" value="this-is-deprecated" />
    <param name="env.GNOME_KEYRING_PID" value="2326" />
    <param name="env.GNOME_KEYRING_SOCKET" value="/tmp/keyring-wpnUXa/socket" />
    <param name="env.GTK_RC_FILES" value="/etc/gtk/gtkrc:/home/devUsr/.gtkrc-1.2-gnome2" />
    <param name="env.G_BROKEN_FILENAMES" value="1" />
    <param name="env.HISTCONTROL" value="ignoredups" />
    <param name="env.HISTSIZE" value="1000" />
    <param name="env.HOME" value="/root" />
    <param name="env.HOSTNAME" value="AT-CO_BUILD" />
    <param name="env.IMSETTINGS_INTEGRATE_DESKTOP" value="yes" />
    <param name="env.IMSETTINGS_MODULE" value="none" />
    <param name="env.JRE_HOME" value="/usr/bin/.." />
    <param name="env.LANG" value="de_DE.utf8" />
    <param name="env.LD_LIBRARY_PATH" value="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64::." />
    <param name="env.LESSOPEN" value="|/usr/bin/lesspipe.sh %s" />
    <param name="env.LOGNAME" value="devUsr" />
    <param name="env.LS_COLORS" value="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:" />
    <param name="env.MAIL" value="/var/spool/mail/devUsr" />
    <param name="env.NLSPATH" value="/usr/dt/lib/nls/msg/%L/%N.cat" />
    <param name="env.OLDPWD" value="/home/devUsr/buildAgent/bin" />
    <param name="env.ORBIT_SOCKETDIR" value="/tmp/orbit-devUsr" />
    <param name="env.PATH" value="/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/devUsr/bin" />
    <param name="env.PWD" value="/home/devUsr/buildAgent/bin" />
    <param name="env.QTDIR" value="/usr/lib64/qt-3.3" />
    <param name="env.QTINC" value="/usr/lib64/qt-3.3/include" />
    <param name="env.QTLIB" value="/usr/lib64/qt-3.3/lib" />
    <param name="env.QT_IM_MODULE" value="xim" />
    <param name="env.SESSION_MANAGER" value="local/unix:@/tmp/.ICE-unix/2335,unix/unix:/tmp/.ICE-unix/2335" />
    <param name="env.SHELL" value="/bin/bash" />
    <param name="env.SHLVL" value="4" />
    <param name="env.SSH_ASKPASS" value="/usr/libexec/openssh/gnome-ssh-askpass" />
    <param name="env.SSH_AUTH_SOCK" value="/tmp/keyring-wpnUXa/socket.ssh" />
    <param name="env.TERM" value="xterm" />
    <param name="env.USER" value="devUsr" />
    <param name="env.USERNAME" value="devUsr" />
    <param name="env.WINDOWID" value="39845891" />
    <param name="env.WINDOWPATH" value="1" />
    <param name="env.XAUTHORITY" value="/root/.xauthaBbcIS" />
    <param name="env.XDG_SESSION_COOKIE" value="e010c685c0a01783c1ef668d0000001f-1369232345.280826-1488718858" />
    <param name="env.XFILESEARCHPATH" value="/usr/dt/app-defaults/%L/Dt" />
    <param name="env.XMODIFIERS" value="@im=none" />
    <param name="env._" value="/usr/bin/nohup" />
    <param name="system.agent.home.dir" value="/home/devUsr/buildAgent" />
    <param name="system.agent.name" value="at-centos-build" />
    <param name="system.agent.work.dir" value="/home/devUsr/buildAgent/work" />
    <param name="system.file.encoding" value="UTF-8" />
    <param name="system.file.separator" value="/" />
    <param name="system.os.arch" value="amd64" />
    <param name="system.os.name" value="Linux" />
    <param name="system.os.version" value="2.6.32-279.el6.x86_64" />
    <param name="system.path.separator" value=":" />
    <param name="system.teamcity.agent.cpuBenchmark" value="396" />
    <param name="system.teamcity.build.tempDir" value="/home/devUsr/buildAgent/temp/buildTmp" />
    <param name="system.user.country" value="DE" />
    <param name="system.user.home" value="/root" />
    <param name="system.user.language" value="de" />
    <param name="system.user.name" value="root" />
    <param name="system.user.timezone" value="Europe/Vienna" />
  </buildParameters>
  <configParameters>
    <param name="teamcity.agent.home.dir" value="/home/devUsr/buildAgent" />
    <param name="teamcity.agent.jvm.specification" value="1.6" />
    <param name="teamcity.agent.jvm.version" value="1.6.0_24" />
    <param name="teamcity.agent.launcher.version" value="24170" />
    <param name="teamcity.agent.name" value="at-centos-build" />
    <param name="teamcity.agent.ownPort" value="9092" />
    <param name="teamcity.agent.tools.dir" value="/home/devUsr/buildAgent/tools" />
    <param name="teamcity.agent.work.dir" value="/home/devUsr/buildAgent/work" />
    <param name="teamcity.serverUrl" value="http://at-srv-sub801:82" />
  </configParameters>
  <version agent="24170" plugins="NA" />
</agentDetails>

]), error: jetbrains.buildServer.CannotPingAgentException: Unable to ping agent at-centos-build. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'at-centos-build' cannot be accessed by any of the addresses: [192.168.101.190], (port 9092) (enable debug to see whole stacktrace)

teamcity-agent.log:

[2013-05-22 16:26:23,561]   INFO - s.buildServer.agent.AgentMain2 - ===========================================================
[2013-05-22 16:26:23,573]   INFO - s.buildServer.agent.AgentMain2 - TeamCity Build Agent 7.1.2 (build 24170), OS: Linux, JRE: 1.6.0_24-b24
[2013-05-22 16:26:23,573]   INFO - s.buildServer.agent.AgentMain2 - Starting...
[2013-05-22 16:26:23,581]   INFO - s.buildServer.agent.AgentMain2 - Agent home is /home/devUsr/buildAgent
[2013-05-22 16:26:23,633]   INFO - buildServer.agent.AgentMain2$1 - Refreshing jetbrains.buildServer.agent.AgentMain2$1@664883c: startup date [Wed May 22 16:26:23 CEST 2013]; root of context hierarchy
[2013-05-22 16:26:26,986]   WARN -    jetbrains.buildServer.AGENT - Calculating CPU benchmark index...
[2013-05-22 16:26:36,200]   WARN -    jetbrains.buildServer.AGENT - CPU benchmark index is set to 396
[2013-05-22 16:26:36,613]   INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2013-05-22 16:26:36,613]   INFO - rver.plugins.PluginManagerImpl - Plugins initialization started...
[2013-05-22 16:26:36,614]   INFO - rver.plugins.PluginManagerImpl - Scanning plugins folders
[2013-05-22 16:26:36,615]   INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: /home/devUsr/buildAgent/plugins
[2013-05-22 16:26:36,620]   INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: /home/devUsr/buildAgent/tools
[2013-05-22 16:26:36,625]   INFO - rver.plugins.PluginManagerImpl - Found 1 plugins: [amazonEC2]
[2013-05-22 16:26:36,626]   INFO - rver.plugins.PluginsCollection - No plugins were loaded with standalone classloaders
[2013-05-22 16:26:36,626]   INFO - rver.plugins.PluginsCollection - Load shared classloader for 1 plugins [amazonEC2]
[2013-05-22 16:26:36,957]   INFO - rver.plugins.PluginManagerImpl - Plugins initialization completed:
[2013-05-22 16:26:36,962]   INFO - rver.plugins.PluginManagerImpl - Loaded 1 plugins: [amazonEC2]
[2013-05-22 16:26:36,962]   INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2013-05-22 16:26:36,974]   INFO -    jetbrains.buildServer.AGENT - Build Agent version: 24170, plugins signature: NA
[2013-05-22 16:26:37,101]   INFO - ctories.CleanupRegistryCleaner - Removing files from .old to meet free space requirements.
[2013-05-22 16:26:44,110]   INFO - t.AmazonInstanceMetadataReader - Amazon is not available. Amazon EC2 integration is not active: Failed to connect to http://169.254.169.254/2009-04-04. The host did not accept the connection within timeout of 7000 msThe host did not accept the connection within timeout of 7000 ms
[2013-05-22 16:26:44,110]   INFO - .agent.AmazonPropertiesUpdater - Fetched AmazonEC2 instance metadata:  
[2013-05-22 16:26:44,114]   INFO - zon.agent.AmazonMetadataChecks - Amazon EC instance metadata contains no keys
[2013-05-22 16:26:44,114]   WARN - .agent.AmazonPropertiesUpdater - Fetched Amazon EC2 instance metadata does not contain required values. Probably this agent was not started inside Amazon EC2. Is proxy server used?
[2013-05-22 16:26:44,135]   INFO -    jetbrains.buildServer.AGENT - Start build agent
[2013-05-22 16:26:44,162]   INFO -    jetbrains.buildServer.AGENT - Agent Web server started
[2013-05-22 16:26:44,165]   INFO - ctories.CleanupRegistryCleaner - Removing files from .old to meet free space requirements.
[2013-05-22 16:26:44,168]   INFO - agent.impl.AgentDetailsFactory - Build agent ownAddress will be defined by the server. Define 'ownAddress' property in the conf/buildAgent.properties file
[2013-05-22 16:26:44,207]   INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to /home/devUsr/buildAgent/logs/buildAgent.port
[2013-05-22 16:26:44,208]   INFO - agent.impl.AgentPortFileWriter - Launcher version is 24170
[2013-05-22 16:26:44,209]   INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to /home/devUsr/buildAgent/logs/buildAgent.port :DONE!
[2013-05-22 16:26:44,209]   INFO -    jetbrains.buildServer.AGENT - Build agent started
[2013-05-22 16:26:44,213]   INFO - buildServer.AGENT.registration - Registering on server http://at-srv-sub801:82, AgentDetails{Name='at-centos-build', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.101.190], Port=9092, Version='24170', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='77c3838c4a07a8a82b2fce912e23c54a'}
[2013-05-22 16:27:05,328]   WARN - buildServer.AGENT.registration - Call http://at-srv-sub801:82/RPC2 buildServer.registerAgent3: org.apache.xmlrpc.XmlRpcException: jetbrains.buildServer.CannotPingAgentException: Unable to ping agent at-centos-build. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'at-centos-build' cannot be accessed by any of the addresses: [192.168.101.190], (port 9092)
[2013-05-22 16:27:05,332]   WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log for details (unless you're using custom logging).

output.log from agent:

Call http://at-srv-sub801:82/RPC2 buildServer.registerAgent3: org.apache.xmlrpc.XmlRpcException: jetbrains.buildServer.CannotPingAgentException: Unable to ping agent at-centos-build. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'at-centos-build' cannot be accessed by any of the addresses: [192.168.101.190], (port 9092)
Registering on server http://at-srv-sub801:82, AgentDetails{Name='at-centos-build', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.101.190], Port=9092, Version='24170', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='77c3838c4a07a8a82b2fce912e23c54a'}


I would be thankful for every advice! :)

Kind regards,
Daniela

Please sign in to leave a comment.