Greetings, Have been trying to re-establish multiple agents on my single server (they failed a couple releases ago, decided to upgrade agent package as recommended this time around and recreate them). Used script noted in the agent README-running-multiple-agents.md.
When I start go-agent-1 for instance, seems to start and give me a PID, which then exits. Attaching logs and wrapper-conf and wrapper-properties.conf. Environment is a digital ocean instance : Linux goCD 4.4.0-159-generic #187-Ubuntu SMP Thu Aug 1 16:28:06 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux I've spent a couple days now trying to figure out what's wrong...am an impasse, appreciate any help. I confess my unix skills are rusty. Regards, Dave -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/d0ff925f-b728-4803-a41c-3c7232060ab4%40googlegroups.com.
WARN | wrapper | 2019/10/07 14:41:21 | The "wrapper.app.parameter.100" property was redefined on line #49 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 14:41:21 | Old Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 14:41:21 | New Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 14:41:21 | The "wrapper.app.parameter.101" property was redefined on line #50 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 14:41:21 | Old Value wrapper.app.parameter.101=https://localhost:8154/go WARN | wrapper | 2019/10/07 14:41:21 | New Value wrapper.app.parameter.101=https://127.0.0.1:8154/go STATUS | wrapper | 2019/10/07 14:41:21 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/10/07 14:41:21 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/10/07 14:41:21 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/10/07 14:41:21 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/10/07 14:41:21 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/10/07 14:41:21 | STATUS | wrapper | 2019/10/07 14:41:21 | Launching a JVM... INFO | jvm 1 | 2019/10/07 14:41:21 | WrapperManager: Initializing... INFO | jvm 1 | 2019/10/07 14:41:22 | [Mon Oct 07 14:41:22 UTC 2019] Starting process: INFO | jvm 1 | 2019/10/07 14:41:22 | [Mon Oct 07 14:41:22 UTC 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/10/07 14:41:22 | [Mon Oct 07 14:41:22 UTC 2019] Application arguments: [-serverUrl, https://127.0.0.1:8154/go] INFO | jvm 1 | 2019/10/07 14:41:22 | [Mon Oct 07 14:41:22 UTC 2019] GoCD Version: 19.9.0-10194 INFO | jvm 1 | 2019/10/07 14:41:22 | [Mon Oct 07 14:41:22 UTC 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/10/07 14:41:22 | [Mon Oct 07 14:41:22 UTC 2019] Operating System: Linux(4.4.0-159-generic) INFO | jvm 1 | 2019/10/07 14:41:22 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 14:41:22 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.9.0-10194-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/10/07 14:41:22 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/10/07 14:41:22 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 14:41:22 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-fc2ec1eb686a7e3a-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 14:41:22 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/10/07 14:41:22 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/10/07 14:41:22 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 14:41:22 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-fc2ec1eb686a7e3a-agent-launcher.jar/agent-launcher-19.9.0-10194-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/10/07 14:41:33 | Already running agent launcher in this folder. STATUS | wrapper | 2019/10/07 14:41:46 | <-- Wrapper Stopped WARN | wrapper | 2019/10/07 15:45:11 | The "wrapper.app.parameter.100" property was redefined on line #49 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 15:45:11 | Old Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 15:45:11 | New Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 15:45:11 | The "wrapper.app.parameter.101" property was redefined on line #50 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 15:45:11 | Old Value wrapper.app.parameter.101=https://localhost:8154/go WARN | wrapper | 2019/10/07 15:45:11 | New Value wrapper.app.parameter.101=https://127.0.0.1:8154/go STATUS | wrapper | 2019/10/07 15:45:11 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/10/07 15:45:11 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/10/07 15:45:11 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/10/07 15:45:11 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/10/07 15:45:11 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/10/07 15:45:11 | STATUS | wrapper | 2019/10/07 15:45:11 | Launching a JVM... INFO | jvm 1 | 2019/10/07 15:45:11 | WrapperManager: Initializing... INFO | jvm 1 | 2019/10/07 15:45:12 | [Mon Oct 07 15:45:12 UTC 2019] Starting process: INFO | jvm 1 | 2019/10/07 15:45:12 | [Mon Oct 07 15:45:12 UTC 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/10/07 15:45:12 | [Mon Oct 07 15:45:12 UTC 2019] Application arguments: [-serverUrl, https://127.0.0.1:8154/go] INFO | jvm 1 | 2019/10/07 15:45:12 | [Mon Oct 07 15:45:12 UTC 2019] GoCD Version: 19.9.0-10194 INFO | jvm 1 | 2019/10/07 15:45:12 | [Mon Oct 07 15:45:12 UTC 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/10/07 15:45:12 | [Mon Oct 07 15:45:12 UTC 2019] Operating System: Linux(4.4.0-159-generic) INFO | jvm 1 | 2019/10/07 15:45:12 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 15:45:12 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.9.0-10194-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/10/07 15:45:12 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/10/07 15:45:12 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 15:45:12 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-4a399b34f9cf3519-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 15:45:12 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/10/07 15:45:12 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/10/07 15:45:12 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 15:45:12 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-4a399b34f9cf3519-agent-launcher.jar/agent-launcher-19.9.0-10194-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/10/07 15:45:23 | Already running agent launcher in this folder. STATUS | wrapper | 2019/10/07 15:45:36 | <-- Wrapper Stopped WARN | wrapper | 2019/10/07 16:06:50 | The "wrapper.app.parameter.100" property was redefined on line #49 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 16:06:50 | Old Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 16:06:50 | New Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 16:06:50 | The "wrapper.app.parameter.101" property was redefined on line #50 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 16:06:50 | Old Value wrapper.app.parameter.101=https://localhost:8154/go WARN | wrapper | 2019/10/07 16:06:50 | New Value wrapper.app.parameter.101=https://127.0.0.1:8154/go STATUS | wrapper | 2019/10/07 16:06:50 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/10/07 16:06:50 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/10/07 16:06:50 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/10/07 16:06:50 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/10/07 16:06:50 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/10/07 16:06:50 | STATUS | wrapper | 2019/10/07 16:06:50 | Launching a JVM... INFO | jvm 1 | 2019/10/07 16:06:50 | WrapperManager: Initializing... INFO | jvm 1 | 2019/10/07 16:06:51 | [Mon Oct 07 16:06:51 UTC 2019] Starting process: INFO | jvm 1 | 2019/10/07 16:06:51 | [Mon Oct 07 16:06:51 UTC 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/10/07 16:06:51 | [Mon Oct 07 16:06:51 UTC 2019] Application arguments: [-serverUrl, https://127.0.0.1:8154/go] INFO | jvm 1 | 2019/10/07 16:06:51 | [Mon Oct 07 16:06:51 UTC 2019] GoCD Version: 19.9.0-10194 INFO | jvm 1 | 2019/10/07 16:06:51 | [Mon Oct 07 16:06:51 UTC 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/10/07 16:06:51 | [Mon Oct 07 16:06:51 UTC 2019] Operating System: Linux(4.4.0-159-generic) INFO | jvm 1 | 2019/10/07 16:06:51 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 16:06:51 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.9.0-10194-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/10/07 16:06:51 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/10/07 16:06:51 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 16:06:51 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-5929d4a211d2ae7-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 16:06:51 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/10/07 16:06:51 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/10/07 16:06:51 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 16:06:51 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-5929d4a211d2ae7-agent-launcher.jar/agent-launcher-19.9.0-10194-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/10/07 16:07:01 | Already running agent launcher in this folder. STATUS | wrapper | 2019/10/07 16:07:14 | <-- Wrapper Stopped WARN | wrapper | 2019/10/07 16:21:16 | The "wrapper.app.parameter.100" property was redefined on line #49 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 16:21:16 | Old Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 16:21:16 | New Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 16:21:16 | The "wrapper.app.parameter.101" property was redefined on line #50 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 16:21:16 | Old Value wrapper.app.parameter.101=https://localhost:8154/go WARN | wrapper | 2019/10/07 16:21:16 | New Value wrapper.app.parameter.101=https://127.0.0.1:8154/go STATUS | wrapper | 2019/10/07 16:21:16 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/10/07 16:21:16 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/10/07 16:21:16 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/10/07 16:21:16 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/10/07 16:21:16 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/10/07 16:21:16 | STATUS | wrapper | 2019/10/07 16:21:16 | Launching a JVM... INFO | jvm 1 | 2019/10/07 16:21:16 | WrapperManager: Initializing... INFO | jvm 1 | 2019/10/07 16:21:17 | [Mon Oct 07 16:21:17 UTC 2019] Starting process: INFO | jvm 1 | 2019/10/07 16:21:17 | [Mon Oct 07 16:21:17 UTC 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/10/07 16:21:17 | [Mon Oct 07 16:21:17 UTC 2019] Application arguments: [-serverUrl, https://127.0.0.1:8154/go] INFO | jvm 1 | 2019/10/07 16:21:17 | [Mon Oct 07 16:21:17 UTC 2019] GoCD Version: 19.9.0-10194 INFO | jvm 1 | 2019/10/07 16:21:17 | [Mon Oct 07 16:21:17 UTC 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/10/07 16:21:17 | [Mon Oct 07 16:21:17 UTC 2019] Operating System: Linux(4.4.0-159-generic) INFO | jvm 1 | 2019/10/07 16:21:17 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 16:21:17 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.9.0-10194-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/10/07 16:21:17 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/10/07 16:21:17 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 16:21:17 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-2cd3d8e6747f8898-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 16:21:17 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/10/07 16:21:17 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/10/07 16:21:17 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 16:21:17 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-2cd3d8e6747f8898-agent-launcher.jar/agent-launcher-19.9.0-10194-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/10/07 16:21:28 | Already running agent launcher in this folder. STATUS | wrapper | 2019/10/07 16:21:41 | <-- Wrapper Stopped WARN | wrapper | 2019/10/07 16:24:36 | The "wrapper.app.parameter.100" property was redefined on line #49 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 16:24:36 | Old Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 16:24:36 | New Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/07 16:24:36 | The "wrapper.app.parameter.101" property was redefined on line #50 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/07 16:24:36 | Old Value wrapper.app.parameter.101=https://localhost:8154/go WARN | wrapper | 2019/10/07 16:24:36 | New Value wrapper.app.parameter.101=https://127.0.0.1:8154/go STATUS | wrapper | 2019/10/07 16:24:36 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/10/07 16:24:36 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/10/07 16:24:36 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/10/07 16:24:36 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/10/07 16:24:36 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/10/07 16:24:36 | STATUS | wrapper | 2019/10/07 16:24:36 | Launching a JVM... INFO | jvm 1 | 2019/10/07 16:24:36 | WrapperManager: Initializing... INFO | jvm 1 | 2019/10/07 16:24:37 | [Mon Oct 07 16:24:37 UTC 2019] Starting process: INFO | jvm 1 | 2019/10/07 16:24:37 | [Mon Oct 07 16:24:37 UTC 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/10/07 16:24:37 | [Mon Oct 07 16:24:37 UTC 2019] Application arguments: [-serverUrl, https://127.0.0.1:8154/go] INFO | jvm 1 | 2019/10/07 16:24:37 | [Mon Oct 07 16:24:37 UTC 2019] GoCD Version: 19.9.0-10194 INFO | jvm 1 | 2019/10/07 16:24:37 | [Mon Oct 07 16:24:37 UTC 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/10/07 16:24:37 | [Mon Oct 07 16:24:37 UTC 2019] Operating System: Linux(4.4.0-159-generic) INFO | jvm 1 | 2019/10/07 16:24:37 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 16:24:37 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.9.0-10194-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/10/07 16:24:37 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/10/07 16:24:37 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 16:24:37 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-c858e486faccca-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/07 16:24:37 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/10/07 16:24:37 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/10/07 16:24:37 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/07 16:24:37 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-c858e486faccca-agent-launcher.jar/agent-launcher-19.9.0-10194-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/10/07 16:24:47 | Already running agent launcher in this folder. STATUS | wrapper | 2019/10/07 16:25:00 | <-- Wrapper Stopped WARN | wrapper | 2019/10/08 15:32:47 | The "wrapper.app.parameter.100" property was redefined on line #49 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/08 15:32:47 | Old Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/08 15:32:47 | New Value wrapper.app.parameter.100=-serverUrl WARN | wrapper | 2019/10/08 15:32:47 | The "wrapper.app.parameter.101" property was redefined on line #50 of configuration file: /usr/share/go-agent/wrapper-config/wrapper-properties.conf WARN | wrapper | 2019/10/08 15:32:47 | Old Value wrapper.app.parameter.101=https://localhost:8154/go WARN | wrapper | 2019/10/08 15:32:47 | New Value wrapper.app.parameter.101=https://127.0.0.1:8154/go STATUS | wrapper | 2019/10/08 15:32:47 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/10/08 15:32:47 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/10/08 15:32:47 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/10/08 15:32:47 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/10/08 15:32:47 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/10/08 15:32:47 | STATUS | wrapper | 2019/10/08 15:32:47 | Launching a JVM... INFO | jvm 1 | 2019/10/08 15:32:47 | WrapperManager: Initializing... INFO | jvm 1 | 2019/10/08 15:32:48 | [Tue Oct 08 15:32:48 UTC 2019] Starting process: INFO | jvm 1 | 2019/10/08 15:32:48 | [Tue Oct 08 15:32:48 UTC 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/10/08 15:32:48 | [Tue Oct 08 15:32:48 UTC 2019] Application arguments: [-serverUrl, https://127.0.0.1:8154/go] INFO | jvm 1 | 2019/10/08 15:32:48 | [Tue Oct 08 15:32:48 UTC 2019] GoCD Version: 19.9.0-10194 INFO | jvm 1 | 2019/10/08 15:32:48 | [Tue Oct 08 15:32:48 UTC 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/10/08 15:32:48 | [Tue Oct 08 15:32:48 UTC 2019] Operating System: Linux(4.4.0-159-generic) INFO | jvm 1 | 2019/10/08 15:32:48 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/08 15:32:48 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.9.0-10194-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/10/08 15:32:48 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/10/08 15:32:48 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/08 15:32:48 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-e8fbb9d7ac9a4f99-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/10/08 15:32:48 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/10/08 15:32:48 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/10/08 15:32:48 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/10/08 15:32:48 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-e8fbb9d7ac9a4f99-agent-launcher.jar/agent-launcher-19.9.0-10194-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/10/08 15:32:59 | Already running agent launcher in this folder. STATUS | wrapper | 2019/10/08 15:33:12 | <-- Wrapper Stopped
2019-10-08 15:32:48,777 INFO [WrapperJarAppMain] DefaultAgentLauncherCreatorImpl:67 - Attempting to load com.thoughtworks.go.agent.launcher.AgentLauncherImpl as specified by manifest key Go-Agent-Launcher-Class 2019-10-08 15:32:48,813 INFO [WrapperJarAppMain] ParentClassAccessFilteringClassloader:43 - Loading com.thoughtworks.cruise.agent.common.launcher.AgentLauncher using java.net.URLClassLoader 2019-10-08 15:32:48,867 INFO [WrapperJarAppMain] AgentBootstrapper:74 - Attempting create and start launcher... 2019-10-08 15:32:48,874 INFO [WrapperJarAppMain] ParentClassAccessFilteringClassloader:43 - Loading com.thoughtworks.cruise.agent.common.launcher.AgentLaunchDescriptor using java.net.URLClassLoader 2019-10-08 15:32:58,968 INFO [WrapperJarAppMain] AgentBootstrapper:78 - Launcher returned with code 12245933(0xBADBAD) 2019-10-08 15:32:59,996 INFO [WrapperJarAppMain] DefaultAgentLauncherCreatorImpl:87 - Attempt No: 1 to cleanup launcher temp files 2019-10-08 15:33:00,028 INFO [WrapperJarAppMain] AgentBootstrapper:104 - Waiting for 10000 ms before re-launch.... 2019-10-08 15:33:10,029 INFO [WrapperJarAppMain] AgentBootstrapper:91 - Agent Bootstrapper stopped
2019-10-08 15:32:48,959 INFO [WrapperJarAppMain] Lockfile:71 - Sleeping for 10000 secs to before 'last modified check'... 2019-10-08 15:32:58,965 ERROR [WrapperJarAppMain] Lockfile:160 - Already running agent launcher in this folder.
# Use this file to configure your GoCD agent # See the `wrapper-properties.conf.example` file for the configuration syntax # setup the GoCD server URL wrapper.app.parameter.100=-serverUrl wrapper.app.parameter.101=https://localhost:8154/go # This is an example configuration file to override any GoCD configuration. # For a detailed description about setting various environment variables, see the page at # https://wrapper.tanukisoftware.com/doc/english/props-envvars.html # For a detailed description about setting JVM options and system properties, see the page at # https://wrapper.tanukisoftware.com/doc/english/props-jvm.html # To use a custom JVM: # wrapper.java.command=/path/to/java # To set any environment variables of your choice use the following syntax #set.SOME_ENVIRONMENT_VARIABLE=some-value #set.GRADLE_HOME=/path/to/gradle #set.M2_HOME=C:\apache-maven-3.2.1 #set.MAVEN_OPTS=-Xmx1048m -Xms256m -XX:MaxPermSize=312M # Appending to existing environment variables: # This config supports environment variable expansion at run time within the values of any environment variable. # To maintain the platform independent nature of this configuration file, the Windows syntax is used for all platforms. # On windows: #set.PATH=..\lib;%PATH% # On Unix/Linux/macOS. Note that you must use %PATH%, and not $PATH, as you'd normally do on this platform #set.PATH=../lib:%PATH% # Set any system properties. We recommend that you begin with the index `100` and increment the index for each system property #wrapper.java.additional.100=-Dcom.example.enabled=true #wrapper.java.additional.101=-Dcom.example.name=bob # If a property contains quotes, these can be stripped out, but this works only on Unix/Linux/macOS #wrapper.java.additional.103=-Dmyapp.data="../MyApp Home" #wrapper.java.additional.104.stripquotes=TRUE # Set a memory limit of 8GB (usually needed on your GoCD server for large setups). We recommend that you do not use more than half your system memory. #wrapper.java.additional.105=-Xmx8G ###### begin auto-migrated content ###### # These lines have been added automatically on upgrade of the go-agent package wrapper.working.dir=/var/lib/go-agent-1 wrapper.app.parameter.100=-serverUrl wrapper.app.parameter.101=https://127.0.0.1:8154/go ###### end auto-migrated content ######
#encoding=UTF-8 wrapper.working.dir=/var/lib/go-agent-1 set.default.AGENT_STARTUP_ARGS=-Xms128m -Xmx256m -Dgocd.agent.log.dir=/var/log/go-agent-1 # Configuration files must begin with a line specifying the encoding # of the the file. #******************************************************************** # Wrapper License Properties (Ignored by Community Edition) #******************************************************************** # Professional and Standard Editions of the Wrapper require a valid # License Key to start. Licenses can be purchased or a trial license # requested on the following pages: # http://wrapper.tanukisoftware.com/purchase # http://wrapper.tanukisoftware.com/trial # Include file problems can be debugged by leaving only one '#' # at the beginning of the following line: ##include.debug # The Wrapper will look for either of the following optional files for a # valid License Key. License Key properties can optionally be included # directly in this configuration file. #include ../conf/wrapper-license.conf #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf # The following property will output information about which License Key(s) # are being found, and can aid in resolving any licensing problems. #wrapper.license.debug=TRUE #******************************************************************** # Wrapper Localization #******************************************************************** # Specify the language and locale which the Wrapper should use. #wrapper.lang=en_US # en_US or ja_JP # Specify the location of the language resource files (*.mo). wrapper.lang.folder=../lang #******************************************************************** # Wrapper Java Properties #******************************************************************** # Java Application # Locate the java binary on the system PATH: wrapper.java.command=/usr/share/go-agent/jre/bin/java # Specify a specific java binary: #set.JAVA_HOME=/java/path #wrapper.java.command=%JAVA_HOME%/bin/java # Tell the Wrapper to log the full generated Java command line. #wrapper.java.command.loglevel=INFO # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. # See the following page for details: # http://wrapper.tanukisoftware.com/doc/english/integrate.html wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperJarApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=/usr/share/go-agent/wrapper/wrapper.jar wrapper.java.classpath.2=/usr/share/go-agent/lib/agent-bootstrapper.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=/usr/share/go-agent/wrapper # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. wrapper.java.additional.auto_bits=FALSE # Java Additional Parameters wrapper.java.additional.1=-Dgocd.agent.log.dir=/var/log/go-agent-1 # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) #wrapper.java.maxmemory=64 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=/usr/share/go-agent/lib/agent-bootstrapper.jar #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Enables Debug output from the Wrapper. # wrapper.debug=TRUE # Format of output for the console. (See docs for formats) wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=INFO # Log file to use for wrapper output logging. wrapper.logfile=/var/log/go-agent-1/go-agent-bootstrapper-wrapper.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=10m # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=4 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper General Properties #******************************************************************** # Allow for the use of non-contiguous numbered properties wrapper.ignore_sequence_gaps=TRUE # Do not start if the pid file already exists. wrapper.pidfile.strict=TRUE # Title to use when running as a console wrapper.console.title=go-agent-1 #******************************************************************** # Wrapper JVM Checks #******************************************************************** # Detect DeadLocked Threads in the JVM. (Requires Standard Edition) wrapper.check.deadlock=TRUE wrapper.check.deadlock.interval=60 wrapper.check.deadlock.action=RESTART wrapper.check.deadlock.output=FULL # Out Of Memory detection. # Ignore -verbose:class output to avoid false positives. wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError wrapper.filter.action.1000=NONE # (Simple match) wrapper.filter.trigger.1001=java.lang.OutOfMemoryError # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) #wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError #wrapper.filter.allow_wildcards.1001=TRUE wrapper.filter.action.1001=RESTART wrapper.filter.message.1001=The JVM has run out of memory. #******************************************************************** # Wrapper Email Notifications. (Requires Professional Edition) #******************************************************************** # Common Event Email settings. #wrapper.event.default.email.debug=TRUE #wrapper.event.default.email.smtp.host=<SMTP_Host> #wrapper.event.default.email.smtp.port=25 #wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification #wrapper.event.default.email.sender=<Sender email> #wrapper.event.default.email.recipient=<Recipient email> # Configure the log attached to event emails. #wrapper.event.default.email.maillog=ATTACHMENT #wrapper.event.default.email.maillog.lines=50 #wrapper.event.default.email.maillog.format=LPTM #wrapper.event.default.email.maillog.loglevel=INFO # Enable specific event emails. #wrapper.event.wrapper_start.email=TRUE #wrapper.event.jvm_prelaunch.email=TRUE #wrapper.event.jvm_start.email=TRUE #wrapper.event.jvm_started.email=TRUE #wrapper.event.jvm_deadlock.email=TRUE #wrapper.event.jvm_stop.email=TRUE #wrapper.event.jvm_stopped.email=TRUE #wrapper.event.jvm_restart.email=TRUE #wrapper.event.jvm_failed_invocation.email=TRUE #wrapper.event.jvm_max_failed_invocations.email=TRUE #wrapper.event.jvm_kill.email=TRUE #wrapper.event.jvm_killed.email=TRUE #wrapper.event.jvm_unexpected_exit.email=TRUE #wrapper.event.wrapper_stop.email=TRUE # Specify custom mail content wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n #******************************************************************** # Wrapper Windows Service Properties #******************************************************************** # 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.name=go-agent-1 # Display name of the service wrapper.displayname=go-agent-1 # Description of the service wrapper.description=go-agent-1 # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Allow the service to interact with the desktop (Windows NT/2000/XP only). wrapper.ntservice.interactive=FALSE # Tanuki license keys for GoCD Agent running on unix using absolute paths (uses the following license params): # wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperJarApp # wrapper.app.parameter.1=/usr/share/go-agent/lib/agent-bootstrapper.jar wrapper.license.type=DEV wrapper.license.id=201906060000046 wrapper.license.licensee=ThoughtWorks wrapper.license.group=Go wrapper.license.dev_application=GoCD Agent On Linux wrapper.license.features=64bit wrapper.license.upgrade_term.begin_date=2008-06-03 wrapper.license.upgrade_term.end_date=2020-06-03 wrapper.license.key.1=3dff-82d9-e1d9-68be wrapper.license.key.2=79fd-f6cd-67d8-1261 wrapper.license.key.3=f558-d788-3a1a-1f6d wrapper.license.key.4=cc48-aa0c-2f76-5623 # Create this file and specify any overrides for environment/jvm args #include ../wrapper-config/wrapper-properties.conf