Secondary node startup problem - second TeamCity instance detected

Hi,

I'm trying to set up a secondary node to run in a read-only capacity. I've followed the steps here, and have set the environment variables as stated. However, upon starting the secondary service I get the "Second TeamCity instance detected" message displayed in the browser.

Any help appreciated - there aren't many steps so it's a bit puzzling.

Cheers,

Stewart

0
2 comments

Hi, judging from the error it seems that you haven't added this environment variable to the secondary node process:

TEAMCITY_SERVER_OPTS = -Dteamcity.server.nodeId=<nodeID> -Dteamcity.node.data.path=<path_to_node_data_directory>  -Dteamcity.server.rootURL=<node url>
0

Thank you Dmitry.

All environment variables described above were set correctly. I'm going to try again on a fresh server.

Stewart

0

Please sign in to leave a comment.