EAP 3776 - can't start build agent

1. I downloaded and installed the new version of TC (TeamCity-3776.exe)
2. The build agent service has not started
3. The only file in c:\TeamCity\buildAgent\logs\ directory is 'wrapper.log' file and it contains:

ERROR | wrapper | 2007/02/27 10:57:04 | The TCBuildAgent service is not installed - The specified service does not exist as an installed service. (0x424)
ERROR | wrapper | 2007/02/27 10:57:04 | The TCBuildAgent service is not installed - The specified service does not exist as an installed service. (0x424)
STATUS | wrapper | 2007/02/27 10:57:05 | TeamCity Build Agent Service 3776 installed.
STATUS | wrapper | 2007/02/27 10:58:05 | Starting the TeamCity Build Agent Service 3776 service...
STATUS | wrapper | 2007/02/27 10:58:06 | --> Wrapper Started as Service
STATUS | wrapper | 2007/02/27 10:58:06 | Launching a JVM...
INFO | jvm 1 | 2007/02/27 10:58:06 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2007/02/27 10:58:06 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2007/02/27 10:58:06 |
INFO | jvm 1 | 2007/02/27 10:58:07 | WrapperSimpleApp: Unable to locate the class jetbrains.buildServer.agent.StandAloneLauncher: java.lang.UnsupportedClassVersionError: jetbrains/buildServer/agent/StandAloneLauncher (Unsupported major.minor version 49.0)
INFO | jvm 1 | 2007/02/27 10:58:07 |
INFO | jvm 1 | 2007/02/27 10:58:07 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2007/02/27 10:58:07 | java org.tanukisoftware.wrapper.WrapperSimpleApp INFO | jvm 1 | 2007/02/27 10:58:07 | INFO | jvm 1 | 2007/02/27 10:58:07 | Where: INFO | jvm 1 | 2007/02/27 10:58:07 | app_class: The fully qualified class name of the application to run. INFO | jvm 1 | 2007/02/27 10:58:07 | app_arguments: The arguments that would normally be passed to the INFO | jvm 1 | 2007/02/27 10:58:07 | application. STATUS | wrapper | 2007/02/27 10:58:09 | <-- Wrapper Stopped ERROR | wrapper | 2007/02/27 10:58:11 | The TeamCity Build Agent Service 3776 service was launched, but failed to start. STATUS | wrapper | 2007/02/27 10:58:33 | --> Wrapper Started as Service STATUS | wrapper | 2007/02/27 10:58:33 | Launching a JVM... INFO | jvm 1 | 2007/02/27 10:58:33 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2007/02/27 10:58:33 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2007/02/27 10:58:33 | INFO | jvm 1 | 2007/02/27 10:58:33 | WrapperSimpleApp: Unable to locate the class jetbrains.buildServer.agent.StandAloneLauncher: java.lang.UnsupportedClassVersionError: jetbrains/buildServer/agent/StandAloneLauncher (Unsupported major.minor version 49.0) INFO | jvm 1 | 2007/02/27 10:58:33 | INFO | jvm 1 | 2007/02/27 10:58:33 | WrapperSimpleApp Usage: INFO | jvm 1 | 2007/02/27 10:58:33 | java org.tanukisoftware.wrapper.WrapperSimpleApp
INFO | jvm 1 | 2007/02/27 10:58:33 |
INFO | jvm 1 | 2007/02/27 10:58:33 | Where:
INFO | jvm 1 | 2007/02/27 10:58:33 | app_class: The fully qualified class name of the application to run.
INFO | jvm 1 | 2007/02/27 10:58:33 | app_arguments: The arguments that would normally be passed to the
INFO | jvm 1 | 2007/02/27 10:58:33 | application.
STATUS | wrapper | 2007/02/27 10:58:35 | <-- Wrapper Stopped


The c:\TeamCity\buildAgent\conf\buildAgent.properties file contains:

#Generated properties (see buildAgent.dist.properties for description)
#Tue Feb 27 10:57:02 CET 2007
serverUrl=http\://localhost\:1234
name=rand
workDir=../work
env.JAVA_HOME=c\:
TeamCity
jre
ownPort=9090

c:\TeamCity\buildAgent\conf\buildAgent.dist.properties file contains:

    1. This is the name which is used to identify this agent on the TeamCity server

    2. That means, each agent should have unique name

    3. It's good idea to name agent after the name of the computer it is installed on

name=Default agent

    1. TeamCity server will use this port to connect to the agent. Please

    2. make sure that incoming connections for this port

    3. are allowed on the agent computer (no firewall)

ownPort=9090

    1. The IP address which should be used by TeamCity server to connect to

    2. the build agent. By default, it is detected by build agent automatically,

    3. but the detection may fail.

#ownAddress=]]>

    1. The address of the TeamCity server. If you deployed TeamCity as war file,

    2. make sure that this line contains correct address.

serverUrl=http://localhost:8111/

    1. This is the directory which will contain your project sources and which will be used

    2. to build your projects.

workDir=../work

    1. This is the directory which will be used as temporary directory for your projects.

    2. This directory is cleaned between builds

tempDir=../temp

3 comments
Comment actions Permalink

Hello PePan,

Did you have TeamCity intalled before? What did you do before install new
one?
Could you please check if there are TeamCity Build Agent service or agentd
service in Services applet.

Thanks!

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

1. I downloaded and installed the new version of TC
(TeamCity-3776.exe)
2. The build agent service has not started
3. The only file in c:\TeamCity\buildAgent\logs\ directory is
'wrapper.log' file and it contains:
ERROR | wrapper | 2007/02/27 10:57:04 | The TCBuildAgent service is
not installed - The specified service does not exist as an installed
service. (0x424)
ERROR | wrapper | 2007/02/27 10:57:04 | The TCBuildAgent service is
not installed - The specified service does not exist as an installed
service. (0x424)
STATUS | wrapper | 2007/02/27 10:57:05 | TeamCity Build Agent Service
3776 installed.
STATUS | wrapper | 2007/02/27 10:58:05 | Starting the TeamCity Build
Agent Service 3776 service...
STATUS | wrapper | 2007/02/27 10:58:06 | --> Wrapper Started as
Service
STATUS | wrapper | 2007/02/27 10:58:06 | Launching a JVM...
INFO | jvm 1 | 2007/02/27 10:58:06 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2007/02/27 10:58:06 | Copyright 1999-2006 Tanuki
Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2007/02/27 10:58:06 |
INFO | jvm 1 | 2007/02/27 10:58:07 | WrapperSimpleApp: Unable to
locate the class jetbrains.buildServer.agent.StandAloneLauncher:
java.lang.UnsupportedClassVersionError:
jetbrains/buildServer/agent/StandAloneLauncher (Unsupported
major.minor version 49.0)
INFO | jvm 1 | 2007/02/27 10:58:07 |
INFO | jvm 1 | 2007/02/27 10:58:07 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2007/02/27 10:58:07 | java
org.tanukisoftware.wrapper.WrapperSimpleApp > > INFO | jvm 1 | 2007/02/27 10:58:07 | > INFO | jvm 1 | 2007/02/27 10:58:07 | Where: > INFO | jvm 1 | 2007/02/27 10:58:07 | app_class: The fully > qualified class name of the application to run. > INFO | jvm 1 | 2007/02/27 10:58:07 | app_arguments: The > arguments that would normally be passed to the > INFO | jvm 1 | 2007/02/27 10:58:07 | > application. > STATUS | wrapper | 2007/02/27 10:58:09 | <-- Wrapper Stopped > ERROR | wrapper | 2007/02/27 10:58:11 | The TeamCity Build Agent > Service 3776 service was launched, but failed to start. > STATUS | wrapper | 2007/02/27 10:58:33 | --> Wrapper Started as > Service > STATUS | wrapper | 2007/02/27 10:58:33 | Launching a JVM... > INFO | jvm 1 | 2007/02/27 10:58:33 | Wrapper (Version 3.2.3) > http://wrapper.tanukisoftware.org > INFO | jvm 1 | 2007/02/27 10:58:33 | Copyright 1999-2006 Tanuki > Software, Inc. All Rights Reserved. > INFO | jvm 1 | 2007/02/27 10:58:33 | > INFO | jvm 1 | 2007/02/27 10:58:33 | WrapperSimpleApp: Unable to > locate the class jetbrains.buildServer.agent.StandAloneLauncher: > java.lang.UnsupportedClassVersionError: > jetbrains/buildServer/agent/StandAloneLauncher (Unsupported > major.minor version 49.0) > INFO | jvm 1 | 2007/02/27 10:58:33 | > INFO | jvm 1 | 2007/02/27 10:58:33 | WrapperSimpleApp Usage: > INFO | jvm 1 | 2007/02/27 10:58:33 | java > org.tanukisoftware.wrapper.WrapperSimpleApp

INFO | jvm 1 | 2007/02/27 10:58:33 |
INFO | jvm 1 | 2007/02/27 10:58:33 | Where:
INFO | jvm 1 | 2007/02/27 10:58:33 | app_class: The fully
qualified class name of the application to run.
INFO | jvm 1 | 2007/02/27 10:58:33 | app_arguments: The
arguments that would normally be passed to the
INFO | jvm 1 | 2007/02/27 10:58:33 |
application.
STATUS | wrapper | 2007/02/27 10:58:35 | <-- Wrapper Stopped
The c:\TeamCity\buildAgent\conf\buildAgent.properties file contains:

#Generated properties (see buildAgent.dist.properties for description)
#Tue Feb 27 10:57:02 CET 2007
serverUrl=http\://localhost\:1234
name=rand
workDir=../work
env.JAVA_HOME=c\:
TeamCity
jre
ownPort=9090
c:\TeamCity\buildAgent\conf\buildAgent.dist.properties file contains:

    1. This is the name which is used to identify this agent on the

TeamCity server

    1. That means, each agent should have unique name

    2. It's good idea to name agent after the name of the computer it is

installed on
name=Default agent

    1. TeamCity server will use this port to connect to the agent. Please

    2. make sure that incoming connections for this port

    3. are allowed on the agent computer (no firewall)

ownPort=9090

    1. The IP address which should be used by TeamCity server to connect

to

    1. the build agent. By default, it is detected by build agent

automatically,

    1. but the detection may fail.

#ownAddress=<own IP address to be published to server>

    1. The address of the TeamCity server. If you deployed TeamCity as war

file, ## make sure that this line contains correct address.
serverUrl=http://localhost:8111/

    1. This is the directory which will contain your project sources and

which will be used

    1. to build your projects.

workDir=../work

    1. This is the directory which will be used as temporary directory for

your projects.

    1. This directory is cleaned between builds

tempDir=../temp



0
Comment actions Permalink

Hello PePan,

Did you have TeamCity intalled before? What did you
do before install new
ne?
Could you please check if there are TeamCity Build
Agent service or agentd
ervice in Services applet.


Yes I had installed it before but I deleted everything.
I stopped the agents, unistalled it, deleted all files from c:\TeamCity and from "c:\Documents and Settings\builder\.BuildServer"
then I installed the EAP 3776 build.

Yes, there two services in the Services window
- TeamCity Build Agent Service 3776
- JetBrains TeamCity Server 3776
The TC service is running, build agent is not running. When I try to start it, there appears a window saying:
Could not start the TeamCity Build Agent Service 3776 service on Local Computer.
Error 1067: The process terminated unexpectedly.

Also, when I tried to run c:\TeamCity\buildAgent\launcher\bin\TeamCityAgentService-windows-x86-32.exe following log appeared:

FATAL | wrapper | 2007/02/27 16:19:17 | encountered a fatal error in Wrapper
FATAL | wrapper | 2007/02/27 16:19:17 | exceptionCode = EXCEPTION_ACCESS_VIOLATION
FATAL | wrapper | 2007/02/27 16:19:17 | exceptionFlag = EXCEPTION_NONCONTINUABLE_EXCEPTION
FATAL | wrapper | 2007/02/27 16:19:17 | exceptionAddress = 7C8327F9
FATAL | wrapper | 2007/02/27 16:19:17 | Read access exception from 00000000
FATAL | wrapper | 2007/02/27 16:19:17 | <-- Wrapper Stopping due to error

0
Comment actions Permalink

Hello PePan,

Please note directory is refered to /buildAgent. Please try the following: - run /bin/service.stop.bat - run /bin/service.uninstall.bat - run /bin/service.install.bat - run /bin/service.start.bat Is that helpful? If not, please, send us /bin, /launcher, /lib, /logs dirs with it contents. Do you have /backup, /upgrade directories? Could you please try installing build agent from the WEB using .exe installer as a workaround. Is it working as service? Thanks! -- Eugene Petrenko JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!" >> Hello PePan, >> >> Did you have TeamCity intalled before? What did you >> do before install new >> ne? >> Could you please check if there are TeamCity Build >> Agent service or agentd >>]]> ervice in Services applet.

Yes I had installed it before but I deleted everything.

I stopped the agents, unistalled it, deleted all files from
c:\TeamCity and from "c:\Documents and Settings\builder\.BuildServer"

then I installed the EAP 3776 build.

Yes, there two services in the Services window
- TeamCity Build Agent Service 3776
- JetBrains TeamCity Server 3776
The TC service is running, build agent is not running. When I try to
start it, there appears a window saying:
Could not start the TeamCity Build Agent Service 3776 service on Local
Computer. Error 1067: The process terminated unexpectedly.

Also, when I tried to run
c:\TeamCity\buildAgent\launcher\bin\TeamCityAgentService-windows-x86-3
2.exe following log appeared:

FATAL | wrapper | 2007/02/27 16:19:17 | encountered a fatal error in
Wrapper
FATAL | wrapper | 2007/02/27 16:19:17 | exceptionCode =
EXCEPTION_ACCESS_VIOLATION
FATAL | wrapper | 2007/02/27 16:19:17 | exceptionFlag =
EXCEPTION_NONCONTINUABLE_EXCEPTION
FATAL | wrapper | 2007/02/27 16:19:17 | exceptionAddress =
7C8327F9
FATAL | wrapper | 2007/02/27 16:19:17 | Read access exception from
00000000
FATAL | wrapper | 2007/02/27 16:19:17 | <-- Wrapper Stopping due to
error



0

Please sign in to leave a comment.