cancel
Showing results for 
Search instead for 
Did you mean: 

mismatch of version of external and kernel dp lib

Former Member
0 Kudos

Hello All

i'm trying to uppgrade a was abap kernel 7.00 from version 133 to 16 on db2 udb database.

I use the files:

SAP Kernel 700 64-Bit, Unicode, AIX64bit - FOR ECC60 Landscape:

SAPEXEDB_146-20000977.SAR

SAPEXE_146-20000978.SAR

lib_dbsl_156-20000977.sar

dscdb6up_2-20000977.sar

R3ldctl_17-20000977.SAR

R3load_86-20000977.SAR

R3szchk_15-20000977.SAR

dw_160-20000978.sar

librfc_34-20000978.sar

R3trans_159-20000978.SAR

tp_157-20000978.sar

But the dispatcher is failing down during the sapstart with the

following error message:

"kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)

length of sys_adm_ext is 576 bytes

      • SWITCH TRC-HIDE on ***

***LOG Q00=> DpSapEnvInit, DPStart (00 1196054) [dpxxdisp.c 1239]

shared lib "dw_xml.so" version 133 successfully loaded

shared lib "dw_xtc.so" version 133 successfully loaded

shared lib "dw_stl.so" version 133 successfully loaded

shared lib "dw_gui.so" version 133 successfully loaded

shared lib "dw_mdm.so" version 133 successfully loaded

DpMsgAdmin: Set patchno for this platform to 133

Release check o.K.

      • ERROR => gateway (pid 1495260) died [dpxxdisp.c 15566]

DpGwCheck: appc_adm.stat = 2

      • DP_FATAL_ERROR => Gateway could not be started - I better exit now

  • LOCATION SAP-Gateway on host uedcb410 / sapgw00

  • ERROR dp lib version mismatch, please check installation

*

  • TIME Thu May 22 07:26:51 2008

  • RELEASE 700

  • COMPONENT DP

  • VERSION 239000

  • RC -9999

  • MODULE dpxxtool2.c

  • LINE 688

  • DETAIL version of external and kernel dp lib mismatch (ext lib

  • version is 239000 / kernel lib version is 232000)"

but the files dw*.so doesn't exist on our server . We have the files

dw*.o as it's needed by the disp+work.

(uedcb410:dc2adm 47> ldd disp+work

disp+work needs:

/usr/sap/DC2/SYS/exe/run/dw_gui.o

/usr/sap/DC2/SYS/exe/run/dw_xml.o

/usr/sap/DC2/SYS/exe/run/dw_xtc.o

/usr/sap/DC2/SYS/exe/run/dw_mdm.o

/usr/sap/DC2/SYS/exe/run/libregex.o

/usr/sap/DC2/SYS/exe/run/dw_stl.o

/usr/lib/libwlm.a(shr_64.o)

/usr/lib/libC.a(shr_64.o)

/usr/lib/libC.a(shr2_64.o)

/usr/lib/libC.a(ansi_64.o)

/usr/lib/libpthreads.a(shr_xpg5_64.o)

/usr/lib/libc.a(shr_64.o)

/usr/lib/libpthread.a(shr_xpg5_64.o)

/usr/lib/libC.a(shr3_64.o)

/unix

/usr/lib/libC.a(ansicore_64.o)

/usr/lib/libc_r.a(shr_64.o)

/usr/lib/libC.a(shrcore_64.o)

/usr/lib/libcrypt.a(shr_64.o)

)

uedcb410:dc2adm 51> disp+work -V |more

-


disp+work information

-


kernel release 700

kernel make variant 700_REL

DBMS client library DB6_81

DBSL shared library version 700.08

compiled on AIX 2 5 005DD9CD4C00

compiled for 64 BIT

compilation mode UNICODE

compile time May 13 2008 21:18:59

update level 0

patch number 160

source id 0.160

We have a mismatch of version of external and kernel dp lib (ext lib

version is 239000 / kernel lib version is 232000)"

Do i need to update other .sar files from sapnet ?

Did somebody have the same error ?

Thanks in advance .

Best Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This error looks like the new kernel files were not updated successfully. Did you stop the SAP system when performing the kernel update? Also check the dev trace if there is any shared memory errors like ShmDelete. If yes, I suggest you to reboot the server to clear the memory and then retry the kernel upgrade.

Best regards,

Warren

richard_howard
Active Participant
0 Kudos

We had this same issue today and folks that are not familiar with sapcpe can really be at a loss on this error, so I'm updating some of these older threads for clarification.

When sapcpe is active, you actually have two copies of the SAP kernel on your Unix file system:

/sapmnt/SID/exe - Which is probably where you update your kernel (this version was at 201)

(aka: /usr/sap/SID/SYS/exe/run)

/usr/sap/SID/DVEBMGS##/exe - A location many don't know about (this version was at 133)

Typically, sapcpe keeps these two locations identical and there are no mismatch errors but if anything happens to your configuration, the next time you update your kernel in /sapmnt/SID/exe, the replication does not occur and the mismatch happens as seen in (dev_disp or dev_disp.new):

***LOG Q00=> DpSapEnvInit, DPStart (18 22336) [dpxxdisp.c 1283]

DwSLCheckVersion: shared library version mismatch:

shared lib "dw_xml.sl" version 133 <-> kernel version 201

shared lib "dw_xtc.sl" version 133 <-> kernel version 201

shared lib "dw_stl.sl" version 133 <-> kernel version 201

shared lib "dw_gui.sl" version 133 <-> kernel version 201

shared lib "dw_mdm.sl" version 133 <-> kernel version 201

This is made even more confusing because if you do an "ldd /sapmnt/SID/exe/disp+work" the results will tell you that it's reading those files from where you just patched your kernel. That ldd is incorrect, however. If the two copies of the kernel are not in sync, some files will indeed be loaded from /usr/sap/SID/DVEBMGS##/exe which will not match the other files that are loading from /sapmnt/SID/exe and you'll have the mismatch error.

Short Term: You can delete the contents in /usr/sap/SID/DVEBMGS##/exe and then everything is loaded from /sapmnt/SID/exe.

Long Term: Correct the configuration of sapcpe so that it keeps everything in sync and you don't have dualing kernels. (See note 1104735)

Former Member
0 Kudos

Thanks Richard - your post helped me out. I first tried deleting the contents of the /usr/sap/SID/DVEBMGSnn/exe directory but that didn't work for me - sap failed to start at all. I restored the contents of the directory and then just copied the new kernel files over the top, as per what I had already done in /sapmnt/SID/exe, and then SAP started ok.

Former Member
0 Kudos

Hi,

Please paste the contents of sapcpe.log

Best regards,

Warren

Former Member
0 Kudos

[more sapcpe.log

================ >>> main =======================

    • INFO: sapcpe version: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#

17 $ SAP

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

    • INFO: Try to find file table sapcpeft (default:sapcpeft)

    • INFO: Try to find file table in the central directory /usr/sap/DC2/SYS/exe/ctrun/sapcpeft

    • INFO: not found any file table.

It's a upgraded system.

We dont' have directory /usr/sap/DC2/SYS/exe/ctrun.

former_member185954
Active Contributor
0 Kudos

Hello,

The kernel in

/usr/sap/DC2/SYS/exe/run/

and

/sapmnt/DC2/exe

should be of the same version, that could be the cause of this problem.

Regards,

Siddhesh

Former Member
0 Kudos

Hi ,

lrwxrwxrwx 1 dc2adm sapsys 15 Mar 16 22:15 dbg -> /sapmnt/DC2/exe

lrwxrwxrwx 1 dc2adm sapsys 24 Mar 16 22:15 run -> /usr/sap/DC2/SYS/exe/dbg

It's a link ...

former_member185954
Active Contributor
0 Kudos

Hello,

In that case,

Check the configuration of SAPCPE according to the link here:

http://help.sap.com/saphelp_nw70/helpdata/EN/4f/37783321fc11d288cd0000e83539c3/frameset.htm

Regards,

Siddhesh