UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Absent Member.
Absent Member.
2240 views

Migration target server fails - connection refused

Hello there

I try to migrate data from one server to another. On the target server the authentication server fails. In the pop-up it writes " Unable to retrieve the server certificate." Below is code from the migration log. I have just updated the target server to SLES 11 SP3, and OES 11 SP2.

It appear that there are no TargetServerCert.der ! I tried to cp the TargetCert.der without luck
The ports 636 and 389 are open in the firewall

What shall I do ?

-rw-r--r-- 1 root root 412 Jul 29 2013 migration.history
-rw-r--r-- 1 root root 1351 Jan 9 09:44 TargetCert.der
-rw-r--r-- 1 root root 1416 Feb 25 13:46 migconf.properties
-rw-r--r-- 1 root root 1883 Apr 4 14:50 SourceServerCert.der
-rw-r--r-- 1 root root 1351 Apr 4 14:50 SourceCert.der
-rw-r--r-- 1 root root 2814 Apr 4 14:50 novellStore.keystore

2014-04-04 14:55:03,076 ERROR - Migration Framework:getSSCert:Information: Executing openssl command 'echo |openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:03,219 ERROR - Migration Framework:getSSCert:Error: Failed to execute command 'echo | openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:03,391 ERROR - Migration Framework:getSSCert:Error: socket: Connection refused
2014-04-04 14:55:03,563 ERROR - Migration Framework:getSSCert:connect:errno=22
2014-04-04 14:55:03,727 ERROR - Migration Framework:getSSCert:
2014-04-04 14:55:09,945 INFO* - Migration Framework:getTargetServerConfigDetails():Finding Target Server eDirectoty Tree Name using command: ndsstat -h xx.xx.xx.xx
2014-04-04 14:55:10,030 INFO* - Migration Framework:Getting Target Server certificate:Using xx.xx.xx.xx to retrieve Target Server certificate
2014-04-04 14:55:10,030 INFO* - Migration Framework:Getting Target Server certificate:executing command: LC_ALL=en_US.UTF-8 /usr/bin/ruby /opt/novell/migration/sbin/getServerCert.rb --server-ip "xx.xx.xx.xx" --ldap-port 636 --file /opt/novell/migration/plugin/conf/TargetServerCert
2014-04-04 14:55:12,225 ERROR - Migration Framework:getServerCert:Command failed with message
2014-04-04 14:55:12,364 INFO* - Migration Framework:getSSCert:
2014-04-04 14:55:12,364 ERROR - Migration Framework:getSSCert:Information: Contacting the server xx.xx.xx.xx
2014-04-04 14:55:12,528 ERROR - Migration Framework:getSSCert:Information: Executing openssl command 'echo |openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:12,692 ERROR - Migration Framework:getSSCert:Error: Failed to execute command 'echo | openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:12,856 ERROR - Migration Framework:getSSCert:Error: socket: Connection refused
2014-04-04 14:55:13,030 ERROR - Migration Framework:getSSCert:connect:errno=22
2014-04-04 14:55:13,196 ERROR - Migration Framework:getSSCert:
Labels (2)
0 Likes
5 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

sodos274767;2314426 wrote:
Hello there

I try to migrate data from one server to another. On the target server the authentication server fails. In the pop-up it writes " Unable to retrieve the server certificate." Below is code from the migration log. I have just updated the target server to SLES 11 SP3, and OES 11 SP2.

It appear that there are no TargetServerCert.der ! I tried to cp the TargetCert.der without luck
The ports 636 and 389 are open in the firewall

What shall I do ?

-rw-r--r-- 1 root root 412 Jul 29 2013 migration.history
-rw-r--r-- 1 root root 1351 Jan 9 09:44 TargetCert.der
-rw-r--r-- 1 root root 1416 Feb 25 13:46 migconf.properties
-rw-r--r-- 1 root root 1883 Apr 4 14:50 SourceServerCert.der
-rw-r--r-- 1 root root 1351 Apr 4 14:50 SourceCert.der
-rw-r--r-- 1 root root 2814 Apr 4 14:50 novellStore.keystore

2014-04-04 14:55:03,076 ERROR - Migration Framework:getSSCert:Information: Executing openssl command 'echo |openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:03,219 ERROR - Migration Framework:getSSCert:Error: Failed to execute command 'echo | openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:03,391 ERROR - Migration Framework:getSSCert:Error: socket: Connection refused
2014-04-04 14:55:03,563 ERROR - Migration Framework:getSSCert:connect:errno=22
2014-04-04 14:55:03,727 ERROR - Migration Framework:getSSCert:
2014-04-04 14:55:09,945 INFO* - Migration Framework:getTargetServerConfigDetails():Finding Target Server eDirectoty Tree Name using command: ndsstat -h xx.xx.xx.xx
2014-04-04 14:55:10,030 INFO* - Migration Framework:Getting Target Server certificate:Using xx.xx.xx.xx to retrieve Target Server certificate
2014-04-04 14:55:10,030 INFO* - Migration Framework:Getting Target Server certificate:executing command: LC_ALL=en_US.UTF-8 /usr/bin/ruby /opt/novell/migration/sbin/getServerCert.rb --server-ip "xx.xx.xx.xx" --ldap-port 636 --file /opt/novell/migration/plugin/conf/TargetServerCert
2014-04-04 14:55:12,225 ERROR - Migration Framework:getServerCert:Command failed with message
2014-04-04 14:55:12,364 INFO* - Migration Framework:getSSCert:
2014-04-04 14:55:12,364 ERROR - Migration Framework:getSSCert:Information: Contacting the server xx.xx.xx.xx
2014-04-04 14:55:12,528 ERROR - Migration Framework:getSSCert:Information: Executing openssl command 'echo |openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:12,692 ERROR - Migration Framework:getSSCert:Error: Failed to execute command 'echo | openssl s_client -connect xx.xx.xx.xx:636 > /opt/novell/migration/plugin/conf/TargetServerCert.der 2>&1'
2014-04-04 14:55:12,856 ERROR - Migration Framework:getSSCert:Error: socket: Connection refused
2014-04-04 14:55:13,030 ERROR - Migration Framework:getSSCert:connect:errno=22
2014-04-04 14:55:13,196 ERROR - Migration Framework:getSSCert:


Uncheck SSL in the migration wizard, if that is possible in your environment?

Thomas
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

thsundel;2314428 wrote:
Uncheck SSL in the migration wizard, if that is possible in your environment?

Thomas


Did you update from OES11SP1 or? Then maybe this: https://forums.novell.com/showthread.php/475669-Ldap-Broken-After-oes11sp2-upgrade

Thomas
0 Likes
Absent Member.
Absent Member.

I have tried to uncheck the ssl - I still get the same error
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

sodos274767;2314436 wrote:
I have tried to uncheck the ssl - I still get the same error


Then it's probably the same issue as this? https://forums.novell.com/showthread.php/475669-Ldap-Broken-After-oes11sp2-upgrade

Thomas
0 Likes
Absent Member.
Absent Member.

Dear Thomas, that you for your hint. Your reply and having a look at https://forums.novell.com/showthread.php/475669-Ldap-Broken-After-oes11sp2-upgrade and in the terminal executing the command yast2 channel-upgrade-oes.
Now I am tranfering my data.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.