cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB 7.6 upgrade -> Error "Kernel died before reaching ADMIN state "

Former Member
0 Kudos

Hello All,

I am trying to Upgrade MaxDb 7.5 to 7.6 on Suse Linux.

I am getting the following error.

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

"

<i>found domain user in user profile container

STDOUT: current database state is OFFLINE

STDOUT: checking parameters...

STDOUT: switch database state to ADMIN

cannot switch database mode, error during dbm command:

db_admin ERR -24994,ERR_RTE: Runtime environment error

1,Check knldiag! Kernel died before reaching ADMIN state (OS error code 11000)

looking for error messages in knldiag

...

2006-07-24 09:44:29 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:44:29 1 ERR 11275 DBSTART Cannot initialize multithreading: L

inux installation problem

...

end of knldiag

STDERR: cannot finish instance update for "ACP"

STDERR: current database state is OFFLINE

checking parameters...

switch database state to ADMIN

cannot switch database mode, error during dbm command:

db_admin

ERR

-24994,ERR_RTE: Runtime environment error

1,Check knldiag! Kernel died before reaching ADMIN state (OS error code 11000)

looking for error messages in knldiag

...

2006-07-24 09:44:29 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:44:29 1 ERR 11275 DBSTART Cannot initialize multithreading: L

inux installation problem

...

end of knldiag

STDERR: MaxDB instance update exited abnormally at Mo, Jul 24, 2006 at 09:44:30

MSG: don't need to write package registry

MSG: install registry successfully unlocked

"</i>

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

Thanking you in advance ...

Regards,

Premkishan Chourasia

Accepted Solutions (1)

Accepted Solutions (1)

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

which exact Suse Linux version are you using?

which exact 7.5 and 7.6 MaxDB versions are you using (incl. Buildstring)?

Can you tell me if maybe the environment variable LD_ASSUME_KERNEL is set on your system? Can you additionally take a look into the beginning part of the knldiag file, normally located in /sapdb/data/wrk/<SID>, for this variable (LD_ASSUME_KERNEL) and tell me what it's set to?

MaxDB 7.6 should be NPTL only.

Regards,

Roland

Former Member
0 Kudos

Hello Roland,

1) Suse Linux Version with command <b>uname -a</b> "Linux g8t45 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 G

NU/Linux"

Hence it is SUSE LINUX Enterprise Server 9 (i586) - Kernel 2.6.5-7.244-smp (1)

2)Upggrade of MaxDb 7.5 Build 27 to MaxDb 7.6 Build 18.

3) The environment variable LD_ASSUME_KERNEL is Not set on your system. when i say echo $LD_ASSUME_KERNEL it returns me undefined variable.

What value do i need to set this variable to.

######################################################

<b>**Output Of Knldiag.log</b>

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

-


<i>Date Time TID Typ MsgID Label Message-Text

-


2006-07-24 15:50:59 1 12781 INFO Version: 'Linux thre

ad implementation is Linuxthreads'

2006-07-24 15:50:59 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 15:50:59 1 ERR 11275 DBSTART Cannot initialize multithreading: L

inux installation problem</i>====================================================

<b>**Output Of knldiag.error.log</b>====================================================

<i>2006-07-24 09:10:58 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:10:58 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:12:00 --- Starting GMT 2006-07-24 07:12:

0 7.6.00 Build 018-121-119-055

2006-07-24 09:12:00 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:12:00 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:16:49 --- Starting GMT 2006-07-24 07:16:

9 7.6.00 Build 018-121-119-055

2006-07-24 09:16:49 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:16:49 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:42:57 --- Starting GMT 2006-07-24 07:42:

7 7.6.00 Build 018-121-119-055

2006-07-24 09:42:57 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:42:57 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:43:17 --- Starting GMT 2006-07-24 07:43:

7 7.6.00 Build 018-121-119-055

2006-07-24 09:43:17 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:43:17 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:43:37 --- Starting GMT 2006-07-24 07:43:

7 7.6.00 Build 018-121-119-055

2006-07-24 09:43:37 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:43:37 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:44:03 --- Starting GMT 2006-07-24 07:44:

3 7.6.00 Build 018-121-119-055

2006-07-24 09:44:03 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0

2006-07-24 09:44:03 1 ERR 11275 DBSTART Cannot initialize multithreading:

inux installation problem

2006-07-24 09:44:29 --- Starting GMT 2006-07-24 07:44:

9 7.6.00 Build 018-121-119-055

2006-07-24 09:44:29 1 ERR 11008 TASKING Could not create thread: 'Compiled

with NPTL support, but Linuxthreads implementation detected', rc = 0</i>

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

#######################################################

I will really appreciate your info and help further into this issue.

Regards,

Premkishan Chouraia

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

there should be a dump of the system's enviroment variables inside the knldiag file. Can you please:

a.) post it in this thread

b.) search for 'LD_ASSUME_KERNEL'

Additionally, you might want to search for this variable in the x_user protocol file, found normally in /sapdb/data/wrk and named x_server.prt.

I've got to ask a developer aswell on this issue, so please bear with me. As soon as I discussed the issue with him, I will write you.

[Please be aware that if you're an official SAP customer, you should've really created an official message for this issue.]

Regards,

Roland

Former Member
0 Kudos

Hallo Roland,

I have mailed you following files to you as an attachment at your mail-id .

1) knldiag

2) knldiag.err

3) knlMsg

Please refer them for further details.

I had referred SAP Note 917815:(System Requirement Linux-32bit Max-DB 7.6)

And as per that note I got the following output:

g8t45:/sapdb/data/wrk/ACP # uname -s

Linux

g8t45:/sapdb/data/wrk/ACP # uname -r

2.6.5-7.244-smp

g8t45:/sapdb/data/wrk/ACP # uname -v

#1 SMP Mon Dec 12 18:32:25 UTC 2005

g8t45:/sapdb/data/wrk/ACP # cat /etc/release

SUSE LINUX Enterprise Server 9 (i586)

VERSION = 9

PATCHLEVEL = 2

g8t45:/sapdb/data/wrk/ACP # rpm -qi glibc | grep Version | awk '{print$3}'

2.3.3.

Again When I referred http://lists.mysql.com/maxdb/26850?f=plain for the error shown at the time of MaxDB upgrade.

&

http://linuxdevices.com/articles/AT6753699732.html for checking gcc with NPTL version.

I got :-

g8t45:/sapdb/data/wrk/ACP#getconf GNU_LIBPTHREAD_VERSION

linuxthreads-0.10

So this indicates that the NPTL is not supported.

Incase if you require any other info please do intimate me the same.

Please help me to resolve this issue.

Thanking you in advance.

Mit freundlichen Grüßen

Premkishan Chourasia

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

can you plaese issue the following DBMCLI command (on the machine itself):

<b>dbmcli -d ACP -u <DBM-user>,<password> dbm_configget</b>

Does the result show something (the value of a parameter named 'KnlSetenv01') containing LD_ASSUME_KERNEL?

Regards,

Roland

Former Member
0 Kudos

Hello Roland ,

I had issues the command metioned by you.

the output is as follows:->

g8t45:/sapdb/data/wrk # /sapdb/programs/bin/dbmcli -d ACP -u control,control db

m_configget

OK

AUTOSAVE = 1

DBADTL = 1

MIGRVOL = 1

Can you tell me wht does it mean.

Regards,

Prem

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Prem,

those seem to be OK. The issue(s)s with the DBMCLI command were probably caused by DBMCLI not being in the PATH from your used user.

Can you tell if the NPTL support is installed at all on your machine? You'll need to switch to NPTL.

Additionally, please tell me which SAP application platform you're using/going to use.

Regards,

Roland

Former Member
0 Kudos

Hi Roland,

No the NPTL support is not installed on the machine.

How do I switch to NPTL? Please tell me.

My current SAP Application is BI 3.5 on 640 Stack and my target is BI 7.0 with 7.00 Stack.

Regards,

Prem

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Prem,

well, I've tried to look for other possibilities other than the very last.

As you currently do <b>not</b> have any NPTL support on your OS <b>combined</b> with the fact that note <b>797084</b> states that for SAP kernel 7.00 applications, NPTL support is <b>mandatory</b>, there's no other option than to reinstall the Linux OS with NPTL support.

It's very important that you specify the correct GLIBC version during the installation, i.e. i686 instead of your currently used i586.

I'm sorry for this inconvience, but I see no other option left here.

Regards,

Roland

Former Member
0 Kudos

Halo Roland,

Thank a lot fo your help and all the information.

I will try to implement the NPTL support and also the GLIBC .

Will get back to you after once i am done with all these.

Regards,

Premkishan

Former Member
0 Kudos

Hello Roland,

At last I went thru the Max-DB upgrade successfully.

Thanks a lot for your information and kind help.

Even I referred SAP Note:-171356 which state to installs the GCC compatible to my kernel.

Regards,

Prem

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Prem,

I'm glad it now worked.

Regards,

Roland

Answers (0)