Changing the version of Java to 1.8 did the trick. The slave is back online.
On Wed, Jun 14, 2017 at 7:53 AM Peter Berghold <[email protected]> wrote: > Okay I guess I'm going to have to investigate how to get the newer version > of Java on Redhat. Redhat 6 at that. Thanks for the pointers. > > On Wed, Jun 14, 2017, 07:04 James Nord <[email protected]> wrote: > >> > java -version returned 1.7.0_75. >> >> >> Jenkins 2.58+ only support java8 or higher, this includes your agents JVM. >> >> >> /James >> >> >> On Tuesday, June 13, 2017 at 9:05:40 PM UTC+1, Peter Berghold wrote: >>> >>> I'm trying to re-establish connectivity to an SSH slave that used to >>> work when I was running a much older version of Jenkins. Currently I'm >>> using v2.65. What I'm seeing (somewhat trimmed) in the log is the following: >>> >>> [06/13/17 20:04:05] [SSH] Checking java version of java >>> [06/13/17 20:04:05] [SSH] java -version returned 1.7.0_75. >>> [06/13/17 20:04:05] [SSH] Starting sftp client. >>> [06/13/17 20:04:05] [SSH] Copying latest slave.jar... >>> [06/13/17 20:04:05] [SSH] Copied 719,269 bytes. >>> Expanded the channel window size to 4MB >>> [06/13/17 20:04:05] [SSH] Starting slave process: cd "/data/jenkins-slave" >>> && java -jar slave.jar >>> <===[JENKINS REMOTING CAPACITY]===>channel started >>> Slave JVM has not reported exit code. Is it still running? >>> [06/13/17 20:04:09] Launch failed - cleaning up connection >>> [06/13/17 20:04:09] [SSH] Connection closed. >>> ERROR: Connection terminated >>> java.io.EOFException >>> at >>> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2353) >>> at >>> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2822) >>> at >>> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:804) >>> at java.io.ObjectInputStream.<init>(ObjectInputStream.java:301) >>> at >>> hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48) >>> at >>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) >>> at >>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59) >>> Caused: java.io.IOException: Unexpected termination of the channel >>> at >>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:73) >>> >>> >>> At a loss... >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/ea6f2611-da6f-448d-9065-2e23fdf29a85%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/ea6f2611-da6f-448d-9065-2e23fdf29a85%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv3PpjCKWS%2BpLpUhHiRePx6hTwtEe2Y0HGo9jMR%2BymYZxA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
