cancel
Showing results for 
Search instead for 
Did you mean: 

error in phase MAIN_SWITCH/STARTSAP_TRANS

Former Member
0 Kudos

HI all,

Please help me, the instance don't start

Dev_w0:

-


trc file: "dev_w0", trc level: 1, release: "700"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

M sysno 02

M sid NMC

M systemid 324 (IBM iSeries with OS400)

M relno 7000

M patchlevel 0

M patchno 254

M intno 20050900

M make: single threaded, ASCII, 64 bit, optimized

M pid 29516

M

M

M Thu Dec 29 20:46:14 2011

M kernel runs with dp version 244(ext=110) (@(#) DPLIB-INT-VERSION-244)

M length of sys_adm_ext is 364 bytes

M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 29516) [thxxhead.c 1344]

M ThInit: running on host MAQUI09

M calling db_connect ...

B create_con (con_name=R/3)

B Loading DB library '/usr/sap/NMC/SYS/exe/run/dbdb4slib.o' ...

B Library '/usr/sap/NMC/SYS/exe/run/dbdb4slib.o' loaded

B Version of '/usr/sap/NMC/SYS/exe/run/dbdb4slib.o' is "700.08", patchlevel (0.253)

B New connection 0 created

C DB4 SQL Reparse Activated

C as4IsHostLocal: SAPDBHOST 'MAQUI09' is local

C

C Thu Dec 29 20:46:15 2011

C R3INLPGM: RmtExeLib from $(DIR_EXECUTABLE)/DBSLDB4RMT

C

C Thu Dec 29 20:46:20 2011

C *** ERROR => CPFB755 occured: Program R3INLPGM in library R3NMC400 not found.

[dbsldb4dbi.c 1043]

C *** ERROR => Error calling program R3INLPGM.

[dbsldb4.cpp 14977]

C *** ERROR => Cannot resolve DBSL executable library. Connect failed

[dbsldb4.cpp 15553]

C Dumping cursor lists on disconnect:

C Dump of all cursor list sizes:

C con[0]: cl=0 wh=0 dfc=0 reo=0 free=19 total=19

C DbSL cursor lists for connection 0:

C sl_cursor_list:

C (empty)

C sl_cursor_with_hold_list:

C (empty)

C sl_cursor_deferred_close_list:

C (empty)

C sl_cursor_reopen_list:

C (empty)

C sl_cursor_free_list:

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

C (content pointer is NULL)

M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1503]

M in_ThErrHandle: 1

M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10632]

M

M Info for wp 0

M

M pid = 29516

M severity = 0

M status = 0

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 0

M mode_cleaned_counter = 0

M control_flag = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M attachedVm = no VM

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 261]

M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP

M Entering ThSetStatError

M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 29516) [dpuxtool.c 269]

I logon in my OS with user SIDOFR and check that file exist.

Then I try execute R3NMC400/R3INLPGM but does not found.

Regards,

William Neira

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hello William,

please check also the profiles for the shadow instance somewhere in /usr/sap/NMC/EHPI/... and change both the start profile and instance profile by adding DIR_LIBRARY_RMT = /usr/sap/NMC/EHPI/abap/exenew. Note 1634303 may be applicable for your situation

Best regards,

B. Wolf

Former Member
0 Kudos

The issue is SOLVED.

For solved this issue:

1. The kernel library and kernel library upgrade was wrong, for solved this issue I load latest kernel to both libraries. (LODSAPKRN, APYR3FIX and APYSAP)

2. comment line #DIR_LIBRARY_RMT in instance profile and shadow instance profile

3. Restart SAP system and JOB EHPI, for this, in the error step select: exit program, then stop installation in menu bar, start JOB EHPI how indicated the guide EHPI, and continue phase.

Regards,

William Neira

former_member188883
Active Contributor
0 Kudos

Hi William,

C *** ERROR => Cannot resolve DBSL executable library. Connect failed

It looks like some issue with your SAP kernel. Ensure that binaries from SAPEXE.SAR and SAPEXEDB.SAR are in sync and are of same level. Additionally you can download libdbsl.sar from marketplace and check again.

Regards,

Deepak Kori

Former Member
0 Kudos

HI

Now I found Note 1366068 - IBM i: Missing replacement of R3INLPGM in R3<SID>400

i check that my R3INLPGM not was replaced, I am trying apply ILE but I get error in SAPCAR

Unpacking /tmp/ILE.SAR

SAPCAR call: /usr/sap/NMC/SYS/exe/run/SAPCAR -xvf /tmp/ILE.SAR -R

/QSYS.LIB/R3FIX700U.LIB -flat ILE.FILE

SAPCAR failed.

Failed to apply R/3 fix.

Se han producido errores en el mandato.

Regards

William Neira

Former Member
0 Kudos

Hi William,

I'm not sure, that this really needs to be exchanged.

It only gets replaced when it is outdated.

As it is recommended, to patch this one BEFORE the upgrade, it is higly likely, that it is fully ok like this.

In the last years, they removed more and more code from r3inlpgm to sapinlpgm (in the kernel) - therefore, this one is now more or less release independent

You seem to be at the beginning of the downtime.

I would recommend the following question:

Try to hunt for the following profile parameter in the instance profile:

DIR_LIBRARY_RMT

Then remove it with a comment line ... and stop SAP completely and repeat.

If you cannot find this one, please open an OSS message with BC-OP-AS4 as there seems to be a current problem in the upgrade tools in this area ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker

I found DIR_LIBRARY_RMT parameter in my instance profile and start profile, I removed it, but the error continue.

Many thanks master

William Neira

Former Member
0 Kudos

Hi William,

then I would suggest to add it in the start profile again ... (I hope, it makes a difference and perhaps it is needed in the start profile)

DIR_LIBRARY_RMT

Otherwise, please open an OSS message with BC-OP-AS4 as there seems to be a current problem in the upgrade tools in this area ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

Former Member
0 Kudos

Hi,

Yes, I already try.

Check SAP Note 1634303 - DB4: Initial DB connects are failing. No apply for 7.01 but is the same error.

Newly many thanks for your help. I open OSS ticket.

Regards

William Neira

Former Member
0 Kudos

Hi William,

I would say, on 7.01, it would be a "similar error" only, as the error messages do look a bit different ...

So, you should open a trouble ticket ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

Former Member
0 Kudos

Hi volker

I solved my issue, change the DIR_LIBRARY_RMT in both profiles (instance and start)

DIR_LIBRARY_RMT = $(DIR_EXECUTABLE) to DIR_LIBRARY_RMT = /usr/sap/NMC/SYS/exe/run

The instance startup

But in other phase I get another error, maybe is caused for this change

Severe error(s) occured in phase MAIN_SWITCH/EXEC_TRIG_DEL!

This is /usr/sap/NMC/EHPI/abap/exenew/tp version 376.03.38 (release 701)

Warning: Parameter INTERRUPT is no longer used.

Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.

Warning: Parameter WITH_TACOB is no longer used.

Warning: Parameter IMPDP_BY_EVENT is no longer used.

Warning: Parameter INTERRUPT is no longer used.

Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.

Warning: Parameter WITH_TACOB is no longer used.

Warning: Parameter IMPDP_BY_EVENT is no longer used.

ERROR: Connect to NMC failed (20111230123200, probably wrong environment).

Former Member
0 Kudos

Now the log EXEC_TRI.EC1

This is /usr/sap/NMC/EHPI/abap/exenew/tp version 376.03.38 (release 701)

Warning: Parameter INTERRUPT is no longer used.

Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.

Warning: Parameter WITH_TACOB is no longer used.

Warning: Parameter IMPDP_BY_EVENT is no longer used.

Warning: Parameter INTERRUPT is no longer used.

Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.

Warning: Parameter WITH_TACOB is no longer used.

Warning: Parameter IMPDP_BY_EVENT is no longer used.

ERROR: Connect to NMC failed (20111230131647, probably wrong environment).

TRACE-INFO: 1: [ dev trc,00000] Fri Dec 30 13:16:41 2011 13731 0.013731

TRACE-INFO: 2: [ dev trc,00000] DlLoadLib() success: dlopen("/usr/sap/NMC/EHPI/abap/exenew/dbdb4slib.o"), hdl 0

TRACE-INFO: 3: 5 0.013736

TRACE-INFO: 4: [ dev trc,00000] DB4 SQL Reparse Activated 2379 0.016115

TRACE-INFO: 5: [ dbsldb4.,00000] *** ERROR => dbs/db4/schema contains wrong schema name SAPR3. 4205 0.020320

TRACE-INFO: 6: [ dev trc,00000] Error is ignored. Schema R3NMCDATA is used. 11 0.020331

TRACE-INFO: 7: [ dev trc,00000] dbsldb4utl:sappfpar(DEFAULT.PFL): dbs/db4/driver_type= 345906 0.366237

TRACE-INFO: 8: [ dev trc,00000] Fri Dec 30 13:16:42 2011 310474 0.676711

TRACE-INFO: 9: [ dev trc,00000] dbsldb4utl:sappfpar(DEFAULT.PFL): dbs/db4/xdn_port= 81 0.676792

TRACE-INFO: 10: [ dev trc,00000] dbsldb4utl:sappfpar(DEFAULT.PFL): dbs/db4/xdn_trace_file= 213143 0.889935

TRACE-INFO: 11: [ dev trc,00000] as4IsHostLocal: SAPDBHOST 'MAQUI09' is local 62034 0.951969

TRACE-INFO: 12: [ dev trc,00000] DB connection handle = 1. 57447 1.009416

TRACE-INFO: 13: [ dev trc,00000] R3INLPGM: RmtExeLib from $(DIR_EXECUTABLE)/DBSLDB4RMT 1162 1.010578

TRACE-INFO: 14: [ dev trc,00000] Fri Dec 30 13:16:47 2011 5031535 6.042113

TRACE-INFO: 15: [ dbsldb4d,00000] *** ERROR => CPFB755 occured: El programa R3INLPGM de la biblioteca R3NMC400 no se ha encontrado.

TRACE-INFO: 16: 45 6.042158

TRACE-INFO: 17: [ dbsldb4.,00000] *** ERROR => Error calling program R3INLPGM. 9 6.042167

TRACE-INFO: 18: [ dbsldb4.,00000] *** ERROR => Cannot resolve DBSL executable library. Connect failed 14

tp returncode summary:

TOOLS: Highest return code of single steps was: 0

ERRORS: Highest tp internal error was: 0232

tp finished with return code: 232

meaning:

connect failed