Error writing the handshake string to the newly established connection. (02

Hi

I am having problems connecting from my Master to the Local Distributor server both on Solaris 10

I am using ssh with ssl and select encryption, no authentication on the Master

I was able to ssh from master to LD with prompt

I check the path it was correct

When I installed the LD I specified ssh

I turn on the Debug and got the following results

Debug from SPS Viewing Host Information

Trace route to 10.233.12.38:70001 failed. (022167)

Error writing the handshake string to the newly established connection. (022181)

Connection handshake failed, invalid handshake string. Ensure that the path to the N1 Service Provisioning System application is correct, the application is configured to accept ssh connections and that you can ssh to the machine without any prompts.

[debug1: channel 0: obuf empty, debug1: channel 0: close_write, debug1: channel 0: output drain -> closed, debug1: channel 0: almost dead, debug1: channel 0: gc: notify user, debug1: channel 0: gc: user detached, debug1: channel 0: send close, debug1: channel 0: is dead, debug1: channel 0: garbage collecting, debug1: channel_free: channel 0: client-session, nchannels 1, debug3: channel_free: status: The following connections are open:, #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1), , debug3: channel_close_fds: channel 0: r -1 w -1 e 7, debug1: fd 0 clearing O_NONBLOCK, debug1: fd 1 clearing O_NONBLOCK, debug1: fd 2 clearing O_NONBLOCK, debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.1 seconds, debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0, debug1: Exit status 1](022138)

Debug from cr_server.out

2007-07-12 15:49:57,342 ERROR [Connection [127.0.0.1305]-[10.233.12 .38:70001]:Reader] com.raplix.rolloutexpress.net.transport.Connection$Rea

dThread (Connection.java:515) - Exception when reading from connection in

put:Connection [127.0.0.1:98305]-[10.233.0.38:70001]:Closing connecti

on:

Unable to make connection handshake using data, "0". (022195)

Ok what am I mssing

[2096 byte] By [s_crima] at [2007-11-27 10:26:23]
# 1

Hi,

I am not quite sure where exactly you get an error. Are you trying to prepare an agent that connects to your newly installed LD?

You did mention the following:

> I was able to ssh from master to LD with prompt

Do you mean you could login from the MS to the LD without password and got the OS prompt? What you have to make sure is that your ssh authentication works for the n1sps user (or whatever you have chosen during installation) from MS to LD and from LD to RA. That involves copying the public key from the MS n1sps user to the .ssh/authorized_keys files on the LD and RA. And after that, you should check the connections manually:

1. From the MS: ssh <LD> ls -al

2. From the MS: ssh <LD> ssh <RA> ls -al

These both commands should work without any prompts and after that, you shouldn't get any error messages in SPS anymore.

HTH,

Michael

michtia at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 2

Yes I am preparing an agent that connects to my newly installed LD. I am using the SPS from the website and within the LD host I click on the view host infomation that when I get the error

I was able to ssh from the MS: ssh <LD> ls -al and I have not created the RA yet.

s_crima at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 3

Are you sure that you tested the ssh commands as user n1sps and not as root?

Sorry for the question, but you never know....

-Michael

michtia at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 4

Yes I am sure

s_crima at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 5

After you added the LD to your MS, have the advanced parameters been specified?

They should resemble something like this

cprefix=<$LD_HOME>,appType=ra

sushrajua at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 6

typo

apptype=ld

sushrajua at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 7

I was not aware of the fact the the n1sps user has to be bourne shell it was c shell and once I change it the problem was resolved. Thanks for your support in this matter I have a felling that I will be back.

s_crima at 2007-7-28 17:39:13 > top of Java-index,Administration Tools,N1 Service Provisioning System...