Normally, this happens if you forget to restart the bootstrapper, or the agent bootstrapper refuses to restart.
Can you kill all agents and start them after verifying the guid?
--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Also, what might help is checking the working directory from where each agent process runs from.
I have many examples of multiple agents working on other machines so I really can't explain what is happening with this one.All 3 agents are running as LOCAL SYSTEM and were created by copying the agent directory for the first install and removing the guid.txt files and the .agent-bootstrapper.running file. I then created new services for each of them specifying the new copied directories as the location of the exe and config. Each version has it's own JRE directory.I have just tried to fix this again with the same result.Here is what I did: (this is a Windows 2012 R2 server)
- Stopped all three services on the machine
- Deleted the guid.txt file from the config directory
- Reset the permissions on all files under the sandbox location so the LOCAL SYSTEM has full control
- Restarted the services and observed that 3 new guid.txt files were created with new unique guids
- Disabled the three old agents on the GO Server UI
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.# Name of the service
wrapper.ntservice.name=Go Agent
# Display name of the service
wrapper.ntservice.displayname=Go Agent
# Description of the service
wrapper.ntservice.description=Go AgentI do modify this file for changing the ports used however I have never modified it when setting up multiple agents on a machine.I use multiple agents on most of our servers and workstations and this has never caused an issue before.Looking at the file, I see a comment block that says:#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.This makes me believe that the file is only used when the service is initially created. Is that true?It would be very useful to know more about this file and what its purpose is. Is there any reference documentation for this file?I assume the propertiees you are referring to are these:# Name of the service
wrapper.ntservice.name=Go Agent
# Display name of the service
wrapper.ntservice.displayname=Go Agent
# Description of the service
wrapper.ntservice.description=Go AgentI can rename the agents (2 and 3) in the file however I can't see this fixing it as I have never done this before on any other machine. What do these settings actually do?
# Name of the service
wrapper.ntservice.name=Go Agent
# Display name of the service
wrapper.ntservice.displayname=Go Agent
# Description of the service
wrapper.ntservice.description=Go AgentIn respect of the points raised by Gergely Brautigam about changing the service name in changing wrapper-agent.conf, the documentation you linked to does not mention this at all.

Yes that is the documentation I mentioned.
I am curious to know why those properties exist in the wrapper-agent.conf if they are not used at all.
If they do not do anything then perhaps we can remove them from the file?
I have never changed them in previous changes I have made however it does seem strange that it is specifically asking for the Windows service name which, when you have multiple agents is different.
How can we get some clarity on what those properties are used for?
Thanks
Carl
--
You received this message because you are subscribed to a topic in the Google Groups "go-cd" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/go-cd/u8frKFxYBYg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to go-cd+un...@googlegroups.com.
I am curious to know why those properties exist in the wrapper-agent.conf if they are not used at all.
[snip]
How can we get some clarity on what those properties are used for?