Hi,

I am trying to launch agent on linux server via SSH but getting below 
error. Could anyone please help with this ?

[12/13/13 01:19:10] [SSH] Opening SSH connection to cabluj1:22.

[12/13/13 01:19:11] [SSH] Authentication successful.

[12/13/13 01:19:11] [SSH] The remote users environment is:

BASH=/bin/bash

BASH_ARGC=()

BASH_ARGV=()

BASH_EXECUTION_STRING=set

BASH_LINENO=()

BASH_SOURCE=()

BASH_VERSINFO=([0]="3" [1]="2" [2]="25" [3]="1" [4]="release" 
[5]="x86_64-redhat-linux-gnu")

BASH_VERSION='3.2.25(1)-release'

COLORS=/etc/DIR_COLORS

DIRSTACK=()

EUID=10003

GROUPS=()

G_BROKEN_FILENAMES=1

HOME=/home/dmadaan

HOSTNAME=cabluj1

HOSTTYPE=x86_64

IFS=$' \t\n'

LANG=en_US.UTF-8

LESSOPEN='|/usr/bin/lesspipe.sh %s'

LOGNAME=dmadaan

LS_COLORS=

MACHTYPE=x86_64-redhat-linux-gnu

MAIL=/var/mail/dmadaan

OPTERR=1

OPTIND=1

OSTYPE=linux-gnu

PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin

PIPESTATUS=([0]="0")

PPID=31491

PS4='+ '

PWD=/home/dmadaan

SHELL=/bin/bash

SHELLOPTS=braceexpand:hashall:interactive-comments

SHLVL=1

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

SSH_CLIENT='10.16.100.196 3740 22'

SSH_CONNECTION='10.16.100.196 3740 10.16.100.180 22'

TERM=dumb

UID=10003

USER=dmadaan

_=/etc/bashrc

consoletype=serial

tmpid=10003

[12/13/13 01:19:11] [SSH] Checking java version of java

[12/13/13 01:19:11] [SSH] java -version returned 1.4.2.

[12/13/13 01:19:11] [SSH] Checking java version of /usr/bin/java

[12/13/13 01:19:12] [SSH] /usr/bin/java -version returned 1.4.2.

[12/13/13 01:19:12] [SSH] Checking java version of 
/usr/java/default/bin/java

Couldn't figure out the Java version of /usr/java/default/bin/java

bash: /usr/java/default/bin/java: No such file or directory

 

[12/13/13 01:19:12] [SSH] Checking java version of /usr/java/latest/bin/java

Couldn't figure out the Java version of /usr/java/latest/bin/java

bash: /usr/java/latest/bin/java: No such file or directory

 

[12/13/13 01:19:12] [SSH] Checking java version of /usr/local/bin/java

Couldn't figure out the Java version of /usr/local/bin/java

bash: /usr/local/bin/java: No such file or directory

 

[12/13/13 01:19:12] [SSH] Checking java version of /usr/local/java/bin/java

Couldn't figure out the Java version of /usr/local/java/bin/java

bash: /usr/local/java/bin/java: No such file or directory

 

[12/13/13 01:19:12] [SSH] Checking java version of 
/home/dmadaan/jdk/bin/java

Couldn't figure out the Java version of /home/dmadaan/jdk/bin/java

bash: /home/dmadaan/jdk/bin/java: No such file or directory

 

Linux cabluj1 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64 
x86_64 x86_64 GNU/Linux

Installing JDK jdk-6u16-oth-JPR@CDS-CDS_Developer

Downloading JDK from 
http://download.oracle.com/otn/java/jdk/6u16-b01/jdk-6u16-linux-x64.bin

Oracle now requires Oracle account to download previous versions of JDK. 
Please specify your Oracle account 
username/password.<http://10.16.100.196:9090/descriptorByName/hudson.tools.JDKInstaller/enterCredential>

hudson.util.IOException2: Could not find any known supported java version 
in [java, /usr/bin/java, /usr/java/default/bin/java, 
/usr/java/latest/bin/java, /usr/local/bin/java, /usr/local/java/bin/java, 
/home/dmadaan/jdk/bin/java], and we also failed to install JDK as a fallback

        at 
hudson.plugins.sshslaves.SSHLauncher.resolveJava(SSHLauncher.java:548)

        at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:484)

        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)

        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)

        at java.lang.Thread.run(Unknown Source)

Caused by: hudson.AbortException: Unable to install JDK unless a valid 
Oracle account username/password is provided in the system configuration.

        at hudson.tools.JDKInstaller.locate(JDKInstaller.java:408)

        at 
hudson.plugins.sshslaves.SSHLauncher.attemptToInstallJDK(SSHLauncher.java:655)

        at 
hudson.plugins.sshslaves.SSHLauncher.resolveJava(SSHLauncher.java:546)

        ... 7 more

[12/13/13 01:19:14] [SSH] Connection closed.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to