cancel
Showing results for 
Search instead for 
Did you mean: 

CI instance is failing with ORA 12170

Former Member
0 Kudos

Hi Friends,

I am performing system copy on target system with CI installation.

System enviornment: Distributed enviornment

While performing the CI Installation, i have received the following error

Log of sapint from sapinst directory

"start was executed with status ERROR ( Last error reported by the step: Instance QAS/DVEBMGS01 reached state SHUTDOWN after having state STARTING. Giving up"

Lister  status log

C:\Windows\system32>LSNRCTL

LSNRCTL for 64-bit Windows: Version 11.2.0.3.0 - Production on 23-JUN-2015 13:53

:04

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> status

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=QAS.WORLD))

STATUS of the LISTENER

------------------------

Alias                    LISTENER

Version                  TNSLSNR for 64-bit Windows: Version 11.2.0.3.0 - Produ

ction

Start Date                23-JUN-2015 13:31:52

Uptime                    0 days 0 hr. 21 min. 20 sec

Trace Level              off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File  I:\oracle\QAS\11203\network\admin\listener.ora

Listener Log File        I:\oracle\QAS\saptrace\diag\tnslsnr\TEMSAPORAU01\liste

ner\alert\log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\QAS.WORLDipc)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\QASipc)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=TEMSAPORAU01.thdm.local)(PORT=1521))

)

Services Summary...

Service "QAS" has 2 instance(s).

  Instance "QAS", status UNKNOWN, has 1 handler(s) for this service...

  Instance "qas", status READY, has 1 handler(s) for this service...

The command completed successfully

LSNRCTL>

R3trans.log

4 ETW000  [     dev trc,00000]  dbs/ora/stmt_cache_size = 250                                            107  0.002101

4 ETW000  [     dev trc,00000]  Prepending E:\usr\sap\QAS\SYS\exe\uc\NTAMD64 to Path.                    253  0.002354

4 ETW000  [     dev trc,00000]  Register application info.                                               114  0.002468

4 ETW000  [     dev trc,00000]  Oracle client version: 11.2.0.3.0, (dbsl 721 030315, UNICODE[2])       13822  0.016290

4 ETW000  [     dev trc,00000]  Detailed Oracle client (patch) info not available.                        37  0.016327

4 ETW000  [     dev trc,00000]    Default connection: tnsname ='QAS'                                      19  0.016346

4 ETW000  [     dev trc,00000]  -->oci_initialize(con=0, char='UTF16', nchr='AL16UTF16', nls=0),uc_ln=2

4 ETW000                                                                                                  29  0.016375

4 ETW000  [     dev trc,00000]  OCIEnvCreate(mode=16384=OCI_UTF16) -> rc=0, env=046F8FB0 (for default NLS hdl)

4 ETW000                                                                                               18708  0.035083

4 ETW000  [     dev trc,00000]   # CharacterSet                   NCharSet   envhp            errhp            er2hp            bathp          

4 ETW000                                                                                                  79  0.035162

4 ETW000  [     dev trc,00000]   0 UTF16                          AL16UTF16  046F8FB0         04704CC8         04705D48         04706DC8       

4 ETW000                                                                                                  40  0.035202

4 ETW000  [     dev trc,00000]  NLS env. settings: lang=41004D00450052004900430041004E00                  89  0.035291

4 ETW000  [     dev trc,00000]                     terr=41004D0045005200490043004100                      25  0.035316

4 ETW000  [     dev trc,00000]                     char=55005400460031003600                              16  0.035332

4 ETW000  [     dev trc,00000]  Client NLS setting (by OCINlsGetInfo(con=0)): 'AMERICAN_AMERICA.UTF16'

4 ETW000                                                                                                  22  0.035354

4 ETW000  [     dev trc,00000]  charset='UTF16', nchrset='AL16UTF16', UNI_ASC=FALSE                       15  0.035369

4 ETW000  [     dev trc,00000]  Logon as OPS$-user to get SAPSR3's password                              116  0.035485

4 ETW000  [     dev trc,00000]  Connecting as /@QAS on connection 0 (nls 0) ... (dbsl 721 030315, UNICODE[2])

4 ETW000                                                                                                  42  0.035527

4 ETW000  [     dev trc,00000]  OCIHandleAlloc(con=0): Service svc=0470AE00 created, rc=0                 28  0.035555

4 ETW000  [     dev trc,00000]  OCIHandleAlloc(con=0,svc=0470AE00): New server hdl. srv=0470AFA0 created, rc=0

4 ETW000                                                                                                  74  0.035629

4 ETW000  [     dev trc,00000]  Tue Jun 23 13:32:45 2015                                             21162578  21.198207

4 ETW000  [     dev trc,00000]  check: OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR              45  21.198252

4 ETW000  [     dev trc,00000]     OCIServerAttach(OCI_DEFAULT) failed with SQL error 12170:             142  21.198394

4 ETW000  [     dev trc,00000]     ORA-12170: TNS:Connect timeout occurred                                                                                      

4 ETW000                                                                                                  33  21.198427

4 ETW000  [     dev trc,00000]  OCIServerAttach(con=0, svc=0470AE00): Error 12170 attaching new srv=0470AFA0 to 'QAS'

So verified from MMC and performe R3trans-D test but it is failing with 12170

Listerner is working

DB is in open status

Niping from App to Db is OK

Firewall on both the servers is off

Host file is maintained

Followed the article and adapted the changes

1911531 - ORA-12170 or TNS-12535 during connecting to Oracle

Kindly request you to provide the suggestions on the same

Regards,

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

former_member185239
Active Contributor
0 Kudos

Hi Kumar,

Check the below things

1. check the parameter in

SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora file. And increase the vale of the parameter.

2. Also try to logon to oracle

   sqlplus /nolog

   connect /as sysdba

   (if you face any issue with the session/process then increase the   

   processes                = 150

    sessions                 = 300

3. If you are installing the CI on a diffrent host , then recheck the tnsnames.ora file on the CI system.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

I have maintained the parameters in SQLnet.ora

no issues observed regarding process/sessions in alert_Sid.log

Yes CI is on other server , yes tnsname.ora file is maintained correctly

Regards,

Kumar

Former Member
0 Kudos

Try the tnsping command as per below link and check other resolutions here:

http://scn.sap.com/thread/1906527

former_member185239
Active Contributor
0 Kudos

Hi Kumar,

Kindly check the below steps

http://service.sap.com/sap/support/notes/1055400

Perform the telnet to the listener port 1521 or the port whch you have specify from the CI to Database server

telnet <databasehostname> 1521

and share the output.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

the following settings were adapted and restarted the server

attached niping and telnet results

Regards,

Kumar

former_member185239
Active Contributor
0 Kudos

Hi Kumar,

As per the below error , you are not able to connect to the port 1521 from application server.

Microsoft Telnet> DBSERVERAPP 1521

Invalid Command. type ?/help for help

Microsoft Telnet> o DBSERVERAPP 1521

Connecting To DBSERVERAPP...Could not open connection to the host, on port 1521

: Connect failed

Kindly check the with the OS team and ask them to open the port 1521 on the database server.

With Regards

Ashutosh Chaturvedi

Answers (2)

Answers (2)

Former Member
0 Kudos

Please check some of the resolutions here:

http://scn.sap.com/thread/1918472

Former Member
0 Kudos

Followed the link and adapted the parameters,

Chnaged the parameters in Sqlnet.ora & listerner.ora, firewall down and Hostnames were maintained

Former Member
0 Kudos

Can you share the oracle alert log?

Former Member
0 Kudos

Attached

Sriram2009
Active Contributor
0 Kudos

Hi Kumar

Could you refer the SAP KBA for error message "

ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

ORA-29400: data cartridge error "

1. 2000292 - Oracle internal maintenance jobs fails with ORA-20011 and ORA-29400 in alert.log

 

BR

SS

Former Member
0 Kudos
Former Member
0 Kudos

Followed the note but the error log with date is on 19th June not recenttly

Regards,

Kumar

Sriram2009
Active Contributor
0 Kudos

Hi Kuamr

You have to do two things.

1. Just do the full system restart on CI & DI and repeat the same phase.

2. On your Source and target kernel level are same?

Just do the upgrade the kernel same as source or about one.

BR

SS

Former Member
0 Kudos

Restarted whole CI and DI and tested  connecting with R3trans-D but still the problem.

On Source it is 700 with Spl 201, on target 721_EXT

Note: We have already performed system copy on Dev it is successfully

the following error is on QAS environment

Regards,

Kumar