I'm trying to start a Hudson slave using SSH on HPUX Itanium.
[12/10/10 12:59:42] [SSH] Checking java version of /opt/java6/bin/java
[12/10/10 12:59:42] [SSH] /opt/java6/bin/java -version returned 1.6.0.01.
[12/10/10 12:59:42] [SSH] Starting sftp client.
[12/10/10 12:59:42] [SSH] SFTP failed. Copying via SCP.
hudson.util.IOException2: Could not copy slave.jar to slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:449)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:408)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:187)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed'))
at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127)
at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584)
at com.trilead.ssh2.Session.<init>(Session.java:40)
at com.trilead.ssh2.Connection.openSession(Connection.java:1047)
at com.trilead.ssh2.Connection.exec(Connection.java:1434)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:433)
... 8 more
[12/10/10 12:59:42] [SSH] Connection closed.
I think this is documented here:
http://issues.hudson-ci.org/browse/HUDSON-6674
But again, no suggestions as to the fix/workaround.
I'm running Hudson 1.385. uname on the slave returns:
-bash-3.2$ uname -m -r -s -v
HP-UX B.11.23 U ia64
The server is Windows 2003 R2.
Any suggestions?
-Jim
Do you have to use Windows for hosting the master? You'd probably be better off using a unix box instead if you can.
-Patrick
Thanks for the response. Yea for now at least I'm stuck in the environment I'm in. I've had Hudson running for well over a year with Windows and Linux slaves with no problems (well, none that I have not worked around ;-) ). My long range (and by long I mean that list of stuff you have that never seems to get done) would have me migrate to Linux. So that's not an option at this point.
-Jim
http://issues.hudson-ci.org/browse/HUDSON-6674
That is running with a RHEL master, so I'm not sure migrating to Linux would solve the problem.