cancel
Showing results for 
Search instead for 
Did you mean: 

SUM PREP_INIT/SPACECHK_INI error

nthsol
Participant
0 Kudos

Hi,

we are currently working on a upgrade from ERP 6.0 EhP 6 to ERP 6.0 to EhP 7.

OS = Solaris, DB = Oracle

Currently we get at phase PREP_INIT/SPACECHK_INI a tp return code 249.

The SPACECHK.ECO states:

EXECUTING /oracle/R11/upg/SUM/abap/exe/tp pf=/oracle/R11/upg/SUM/abap/var/DEFAULT.TPP execdbscript R11 -x ../var/SPACECHK.TQL
This is tp version 380.13.51 (release 720)
ERROR: No connect due to DbSl Load Lib Failure
ERROR: The values set for DIR_LIBRARY ('/oracle/R11/upg/SUM/abap/exe') or dbms_type ('ORA') are invalid.
ERROR: Connect to R11 failed (20140527084332).
TRACE-INFO: 1:  [     dev trc,00000]  Tue May 27 08:43:32 2014                                                        42500  0.042500
TRACE-INFO: 2:  [     dev trc,00000]  DlLoadLib() success: dlopen("/oracle/R11/upg/SUM/abap/exe/dboraslib.so"), hdl 0
TRACE-INFO: 3:                                                                                                    8  0.042508

tp returncode summary:

TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0249
tp finished with return code: 249
meaning:
  connect failed due to DbSL load lib failure

When I have a closer look I can't find any errors.

Executing the following test gave me no hint on what the error could be.

./tp CONNECT R11 pf=/oracle/R11/upg/SUM/abap/var/DEFAULT.TPP

This is ./tp version 380.13.51 (release 720)

Connection to Database of R11 was successful.

This is /usr/sap/R11/SYS/exe/run/R3trans version 6.24 (release 720 - 04.02.14 - 20:14:02 ).

non-unicode version

/usr/sap/R11/SYS/exe/run/R3trans finished (0000).

tp finished with return code: 0

meaning:

  Everything OK

./R3trans -x

This is ./R3trans version 6.24 (release 720 - 12.05.14 - 20:14:05).

non-unicode version

./R3trans finished (0000).

lsnrctl stat


LSNRCTL for Solaris: Version 11.2.0.3.0 - Production on 27-MAY-2014 09:09:51

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

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=R11.WORLD))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 11.2.0.3.0 - Production
Start Date                16-MAY-2014 11:14:56
Uptime                    10 days 21 hr. 54 min. 54 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /oracle/R11/112_64/network/admin/listener.ora
Listener Log File         /oracle/R11/saptrace/diag/tnslsnr/r11/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=R11.WORLD)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=R11)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP-Address>)(PORT=1527)))
Services Summary...
Service "R11" has 1 instance(s).
  Instance "R11", status UNKNOWN, has 1 handler(s) for this service...
Service "R11.WORLD" has 1 instance(s).
  Instance "R11", status READY, has 1 handler(s) for this service...
The command completed successfully

tnsping $ORACLE_SID


TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 27-MAY-2014 09:10:15

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

Used parameter files:
/oracle/R11/112_64/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vr11)(PORT = 1527)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = R11.WORLD)))
OK (0 msec)

Until now I also have executed the command manually as <sid>adm, it works fine without any error.

/oracle/R11/upg/SUM/abap/exe/tp pf=/oracle/R11/upg/SUM/abap/var/DEFAULT.TPP execdbscript R11 -x ../var/SPACECHK.TQL

This is /oracle/R11/upg/SUM/abap/exe/tp version 380.13.51 (release 720)

tp finished with return code: 0

meaning:

  Everything OK

Could you please help me to find a solution for this?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182657
Active Contributor
0 Kudos

Hi Niklas,

ERROR: No connect due to DbSl Load Lib Failure

It's the issue with kernel under upgrade dir .Try to upgrade the kernel or DBSL library and re execute the phase .

Hope this will solve your issue.

Regards,

Gaurav

nthsol
Participant
0 Kudos

Hi Gaurav,

I have updated the kernel to the latest version including the library files of the system before starting SUM.

I have checked the version at very first minute, this is also why tp an R3trans work perfectly.

Regards,

Niklas

ACE-SAP
Active Contributor
0 Kudos

Hello,

You might have upgraded tp with a wrong version.

Verify SUM kernel version as when upgrading to Ehp7 the SUM should use a 741 kernel and not a 720.

Thus you should provide a TP / R3trans version 741.

To be sure check the disp+work version in your SUM binary dir:

/oracle/R11/upg/SUM/abap/exe/disp+work -v |more


Regards

nthsol
Participant
0 Kudos

Hi Yves,

in deed I was using the wrong release of R3trans, R3t and tp.

I deployed release 720 v600 and this caused the error.

After downloading the correct release 741 with latest version it is working again.

Thank you

Regards,

Niklas

Answers (2)

Answers (2)

former_member182657
Active Contributor
0 Kudos

Hi Niklas,

You can also consider SAP Note  1948943 - Error in upgrade phase "PREP_IMPORT/SQLDB_CLEARPATCHES"

Regards,

Gaurav

former_member182657
Active Contributor
0 Kudos

HI Niklas,

Could you please share the value of environment variables from the upgrade dir path (/usr/sap/SID/SUM/abap/exe ).

Also please follow SAP Note  1966797 - Errors: connect failed due to DbSL load lib failure

1817743 - ERROR: No connect due to DbSl Load Lib Failure - With tp version 380.03.89

If possible try to use 721_EXT with SSFS database connection methods.

Regards,

Gaurav