Team City not starting on http://localhost:1111/
after extracting TeamCity TeamCity-2018.1.1.tar.gz on my mac and running
./runAll.sh start command in bin directory though team city is unreachable on localhost:1111
Also, JAVA_HOME is configured correctly.
Please sign in to leave a comment.
Server logs
[2018-08-09 13:21:14,964] INFO - s.buildServer.agent.AgentMain2 - ===========================================================
[2018-08-09 13:21:15,006] INFO - s.buildServer.agent.AgentMain2 - TeamCity Build Agent 2018.1.1 (build 58406)
[2018-08-09 13:21:15,066] INFO - s.buildServer.agent.AgentMain2 - OS: Mac OS X, version 10.13.5, x86_64, Current user: satishbabariya, Time zone: IST (UTC+05:30)
[2018-08-09 13:21:15,069] INFO - s.buildServer.agent.AgentMain2 - Java: 10.0.1, Java HotSpot(TM) 64-Bit Server VM (10.0.1+10, mixed mode), Java(TM) SE Runtime Environment (10.0.1+10), "Oracle Corporation"; JVM parameters: -ea -Xmx384m -Dteamcity_logs=../logs/ -Dlog4j.configuration=file:../conf/teamcity-agent-log4j.xml
[2018-08-09 13:21:15,069] INFO - s.buildServer.agent.AgentMain2 - Starting...
[2018-08-09 13:21:15,109] INFO - buildServer.agent.AgentMain2$2 - Refreshing jetbrains.buildServer.agent.AgentMain2$2@437da279: startup date [Thu Aug 09 13:21:15 IST 2018]; root of context hierarchy
[2018-08-09 13:21:16,606] INFO - jetbrains.buildServer.AGENT - Calculating CPU benchmark index...
[2018-08-09 13:21:21,326] INFO - jetbrains.buildServer.AGENT - CPU benchmark index is set to 683
[2018-08-09 13:21:21,430] INFO - jetbrains.buildServer.AGENT - Agent tools download temp directory created on path /Volumes/Data/TeamCity/buildAgent/temp/tools
[2018-08-09 13:21:21,607] INFO - dAgentConfigurationInitializer - Loading build agent configuration from /Volumes/Data/TeamCity/buildAgent/conf/buildAgent.properties
[2018-08-09 13:21:21,655] INFO - s.buildServer.agent.AgentMain2 - Working dir: /Volumes/Data/TeamCity/buildAgent/work
[2018-08-09 13:21:21,655] INFO - s.buildServer.agent.AgentMain2 - Temp dir: /Volumes/Data/TeamCity/buildAgent/temp
[2018-08-09 13:21:21,671] INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2018-08-09 13:21:21,671] INFO - rver.plugins.PluginManagerImpl - Plugins initialization started...
[2018-08-09 13:21:21,672] INFO - rver.plugins.PluginManagerImpl - Scanning plugins folders
[2018-08-09 13:21:21,673] INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: /Volumes/Data/TeamCity/buildAgent/plugins
[2018-08-09 13:21:21,675] INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: /Volumes/Data/TeamCity/buildAgent/tools
[2018-08-09 13:21:21,686] INFO - rver.plugins.PluginManagerImpl - Found 1 non bundled plugins: [amazonEC2]
[2018-08-09 13:21:21,687] INFO - rver.plugins.PluginManagerImpl - Found 0 bundled plugins: []
[2018-08-09 13:21:21,688] INFO - rver.plugins.PluginsCollection - Load shared classloader for 1 plugins [amazonEC2]
[2018-08-09 13:21:21,692] INFO - rver.plugins.PluginsCollection - No plugins were loaded with standalone classloaders
[2018-08-09 13:21:21,826] INFO - rver.plugins.PluginManagerImpl - Plugins initialization completed (1 plugins loaded): [amazonEC2]
[2018-08-09 13:21:21,827] INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2018-08-09 13:21:21,829] INFO - jetbrains.buildServer.AGENT - Build Agent version: 58406, plugins signature: NA
[2018-08-09 13:21:21,860] INFO - dAgentConfigurationInitializer - Loading build agent configuration from /Volumes/Data/TeamCity/buildAgent/conf/buildAgent.properties
[2018-08-09 13:21:28,904] INFO - n.AmazonInstanceMetadataReader - Amazon is not available. Amazon EC2 integration is not active: Failed to connect to http://169.254.169.254/2016-04-19. The host did not accept the connection within timeout of 7000 ms
[2018-08-09 13:21:28,953] INFO - .agent.impl.OsArchBitsDetector - Detecting via "getconf LONG_BIT", exit code: 0, output: 64
[2018-08-09 13:21:28,953] INFO - .agent.impl.OsArchBitsDetector - "teamcity.agent.os.arch.bits" detected as "64"
[2018-08-09 13:21:28,957] INFO - jetbrains.buildServer.AGENT - Start build agent
[2018-08-09 13:21:28,973] INFO - jetbrains.buildServer.AGENT - Agent Web server started on port 9090
[2018-08-09 13:21:28,978] INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to /Volumes/Data/TeamCity/buildAgent/logs/buildAgent.xmlRpcPort
[2018-08-09 13:21:28,979] INFO - agent.impl.AgentPortFileWriter - Launcher version is 58406
[2018-08-09 13:21:28,979] INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to /Volumes/Data/TeamCity/buildAgent/logs/buildAgent.xmlRpcPort :DONE!
[2018-08-09 13:21:28,980] INFO - jetbrains.buildServer.AGENT - Build agent started
[2018-08-09 13:21:28,984] INFO - buildServer.AGENT.registration - Registering on server via URL "http://192.168.1.71:8111": AgentDetails{Name='Default Agent', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.1.71], Port=9090, Version='58406', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='', PingCode='2Eerl3dQxSsz5l6n3CHNCSP3aIO5MO0o'}
[2018-08-09 13:21:28,992] WARN - buildServer.AGENT.registration - Error while asking server for the communication protocols via URL http://192.168.1.71:8111/app/agents/protocols. Will try later: java.net.ConnectException: Connection refused (Connection refused) (enable debug to see stacktrace)
[2018-08-09 13:21:28,992] WARN - buildServer.AGENT.registration - Error registering on the server via URL http://192.168.1.71:8111. Will continue repeating connection attempts.
[2018-08-09 13:21:29,481] INFO - r.artifacts.impl.HttpDiskCache - Cleaning up items with life time in cache greater than 172800 seconds
[2018-08-09 13:21:29,482] INFO - r.artifacts.impl.HttpDiskCache - Finished cleaning up expired items, 0 items removed
[2018-08-09 13:21:29,483] INFO - dDirectoryBasedCleanupRegistry - Removing files from /Volumes/Data/TeamCity/buildAgent/temp/.old
[2018-08-09 13:21:29,483] INFO - dDirectoryBasedCleanupRegistry - Removing files from /Volumes/Data/TeamCity/buildAgent/work/.old
[2018-08-09 13:21:29,551] INFO - l.directories.DirectoryMapImpl - Cleaning up old checkout directories. Default lifetime = 192 hour(s)
[2018-08-09 13:22:29,086] INFO - buildServer.AGENT.registration - Registering on server via URL "http://192.168.1.71:8111": AgentDetails{Name='Default Agent', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.1.71], Port=9090, Version='58406', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='', PingCode='2Eerl3dQxSsz5l6n3CHNCSP3aIO5MO0o'}
[2018-08-09 13:22:29,088] WARN - buildServer.AGENT.registration - Error while asking server for the communication protocols via URL http://192.168.1.71:8111/app/agents/protocols. Will try later: java.net.ConnectException: Connection refused (Connection refused) (enable debug to see stacktrace)
[2018-08-09 13:22:29,088] WARN - buildServer.AGENT.registration - Error registering on the server via URL http://192.168.1.71:8111. Will continue repeating connection attempts.
Hi,
the build log and your initial comment seem to be different symptoms.
-The server is started on 8111, not 1111. Make sure you access the right port.
-The log you sent is not from the server, but from the agent. The agent is the process that runs the build, and it has to connect to the server to do it, but after installing the server, you need to run a few initial steps before being able to run builds, for which you need to connect to the server via browser first. If you still can't connect to the Web UI, please search for the teamcity-server.log and send that one.