Skip to Content
0
Former Member
Jun 17, 2016 at 08:32 AM

error: unable to contact primary site; to hanadbp:30102

4049 Views

Hi,

I am in process to configure HANA replication between HANA production and HA system. while following configuration steps in Secondary system i am getting following error.

hanadbdev:/usr/sap/HAP/HDB00> hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance=00 --replicationMode=async --operationMode=logreplay --name=HA

adding site ...

checking for inactive nameserver ...

nameserver hanadbdev:30001 not responding.

collecting information ...

error: unable to contact primary site; to hanadbprd:30102; original error: ssl: bad certificate,location=hanadbprd:30102;

failed. trace file nameserver_hanadbdev.00000.000.trc may contain more error details.

hanadbdev:/usr/sap/HAP/HDB00>

===========================

hanadbdev:/usr/sap/HAP/HDB00/hanadbdev/trace> more nameserver_hanadbdev.00000.000.trc

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214234 i Basis TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214267 i Basis TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214280 i Basis TraceStream.cpp(00467) : Server Mode: L2 Delta

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214291 i Memory AllocatorImpl.cpp(01349) : Allocators activated

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214294 i Memory AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214294 i Basis ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214295 i Basis Timer.cpp(00642) : Using RDTSC for HR timer

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214297 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214298 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.217752 i Basis TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd.ask.com --remote

Instance=00 --replicationMode=async --operationMode=logreplay --name=HA

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.218482 w Environment Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.288536 w Environment Environment.cpp(00352) : Changing environment set LINES=44

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.288549 w Environment Environment.cpp(00352) : Changing environment set COLUMNS=168

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.308240 i sr_nameserver DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.143569 e TNS TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd.ask.com:30102 failed with NetExc

eption. data=

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.189063 e TNS TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd.ask.com:30102 failed with N

etException. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.189111 e sr_nameserver TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd.ask.com:30102; original error

: ssl: bad certificate,location=hanadbprd.ask.com:30102

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.189164 e sr_nameserver TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd.ask.com:30102; original er

ror: ssl: bad certificate,location=hanadbprd.ask.com:30102;

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517093 i Basis TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517130 i Basis TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517144 i Basis TraceStream.cpp(00467) : Server Mode: L2 Delta

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517168 i Memory AllocatorImpl.cpp(01349) : Allocators activated

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517171 i Memory AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517171 i Basis ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517172 i Basis Timer.cpp(00642) : Using RDTSC for HR timer

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517175 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517176 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.520755 i Basis TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd.ask.com --remote

Instance=00 --replicationMode=async --operationMode=logreplay --name=HA

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.521557 w Environment Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.593773 w Environment Environment.cpp(00352) : Changing environment set LINES=44

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.593788 w Environment Environment.cpp(00352) : Changing environment set COLUMNS=168

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.614220 i sr_nameserver DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.428685 e TNS TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd.ask.com:30102 failed with NetExc

eption. data=

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.472676 e TNS TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd.ask.com:30102 failed with N

etException. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.472735 e sr_nameserver TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd.ask.com:30102; original error

: ssl: bad certificate,location=hanadbprd.ask.com:30102

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.472789 e sr_nameserver TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd.ask.com:30102; original er

ror: ssl: bad certificate,location=hanadbprd.ask.com:30102;

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.398959 i Basis TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.398995 i Basis TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399010 i Basis TraceStream.cpp(00467) : Server Mode: L2 Delta

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399024 i Memory AllocatorImpl.cpp(01349) : Allocators activated

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399026 i Memory AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399027 i Basis ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399028 i Basis Timer.cpp(00642) : Using RDTSC for HR timer

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399030 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399031 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.402665 i Basis TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance

=00 --replicationMode=async --operationMode=logreplay --name=HA

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.403480 w Environment Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.475571 w Environment Environment.cpp(00352) : Changing environment set LINES=44

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.475588 w Environment Environment.cpp(00352) : Changing environment set COLUMNS=168

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.495656 i sr_nameserver DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.314349 e TNS TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException.

data=

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.360096 e TNS TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetExcept

ion. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.360145 e sr_nameserver TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: b

ad certificate,location=hanadbprd:30102

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.360196 e sr_nameserver TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl

: bad certificate,location=hanadbprd:30102;

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.102962 i Basis TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.102995 i Basis TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103009 i Basis TraceStream.cpp(00467) : Server Mode: L2 Delta

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103024 i Memory AllocatorImpl.cpp(01349) : Allocators activated

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103027 i Memory AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103027 i Basis ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103028 i Basis Timer.cpp(00642) : Using RDTSC for HR timer

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103031 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103032 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.106642 i Basis TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance

=00 --replicationMode=async --operationMode=logreplay --name=HA

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.107421 w Environment Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.179055 w Environment Environment.cpp(00352) : Changing environment set LINES=44

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.179069 w Environment Environment.cpp(00352) : Changing environment set COLUMNS=168

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.198950 i sr_nameserver DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.024083 e TNS TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException.

data=

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.067962 e TNS TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetExcept

ion. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.068011 e sr_nameserver TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: b

ad certificate,location=hanadbprd:30102

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.068061 e sr_nameserver TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl

: bad certificate,location=hanadbprd:30102;

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795793 i Basis TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795827 i Basis TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795841 i Basis TraceStream.cpp(00467) : Server Mode: L2 Delta

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795854 i Memory AllocatorImpl.cpp(01349) : Allocators activated

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795857 i Memory AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795857 i Basis ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795858 i Basis Timer.cpp(00642) : Using RDTSC for HR timer

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795860 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795861 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.799808 i Basis TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance

=00 --replicationMode=async --operationMode=logreplay --name=HA

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.800724 w Environment Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.873462 w Environment Environment.cpp(00352) : Changing environment set LINES=44

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.873478 w Environment Environment.cpp(00352) : Changing environment set COLUMNS=168

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.893522 i sr_nameserver DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.706422 e TNS TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException. data=

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.752105 e TNS TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetException. d

ata=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.752181 e sr_nameserver TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad cer

tificate,location=hanadbprd:30102

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.752226 e sr_nameserver TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad

certificate,location=hanadbprd:30102;

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875159 i Basis TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel), bui

ld linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 20140627 [gcc

-4_8-branch revision 212064]

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875206 i Basis TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875224 i Basis TraceStream.cpp(00467) : Server Mode: L2 Delta

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875238 i Memory AllocatorImpl.cpp(01349) : Allocators activated

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875240 i Memory AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875241 i Basis ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875242 i Basis Timer.cpp(00642) : Using RDTSC for HR timer

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875244 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875246 e Configuration ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.878999 i Basis TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance=00 --

replicationMode=async --operationMode=logreplay --name=HA

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.879840 w Environment Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.957415 w Environment Environment.cpp(00352) : Changing environment set LINES=29

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.957435 w Environment Environment.cpp(00352) : Changing environment set COLUMNS=111

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.978204 i sr_nameserver DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.815627 e TNS TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException. data=

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.894467 e TNS TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetException. d

ata=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.894515 e sr_nameserver TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad cer

tificate,location=hanadbprd:30102

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.894564 e sr_nameserver TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad

certificate,location=hanadbprd:30102;

hanadbdev:/usr/sap/HAP/HDB00/hanadbdev/trace>

Requested to please help

Regards

Sunil