cancel
Showing results for 
Search instead for 
Did you mean: 

"Kernel start failed" trying to start sapdb

Former Member
0 Kudos

i have had the BSP miniwas working once on my system. it broke, so now i am attempting to reinstall. i have been round and round the block sooooo many times with this, and always failing now at this point. 86% through miniwas installation.

i cannot believe that this is not working. i have no idea anymore and will greatly appreciate some help.

i have performed clean installations. removed all entries from regedit. deleted old files, logs, directories, environment settings, host file entries, disabled antivirus, checked for viruses, you name it, i've done it.

i can't help but think this is something to do with the database not starting in warm mode, rather than the miniwas installation.

so...

my final attempts bring me here to see if anyone can help.

below are the last entries from a couple of logs

xcmdout.log

...

ERR

-24994,ERR_RTE: runtime environment error

-2,Kernel start failed

bsp.log

...

TRACE 2005-03-10 13:33:20 ADADBINSTANCE_IND_ADA CanDeliverKey:0

Deliver value: S:\sapdb\programs for Key: INDEPENDEND_PROG_PATH

ERROR 2005-03-10 13:33:24 SAPDBGETWARM_NT_ADA InstallationDo:0

Phase failed.

TRACE 2005-03-10 13:33:24 CommandFileController SetKeytableForSect:0

CommandFile was successfully updated

ERROR 2005-03-10 13:33:24 InstController Action:0

Step SAPDBGETWARM_NT_ADA could not be performed.

ERROR 2005-03-10 13:33:25 Main

Installation failed.

ERROR 2005-03-10 13:33:25 Main

Installation aborted.

Accepted Solutions (0)

Answers (2)

Answers (2)

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Glen,

could you take a look into either your knldiag or knldiag.err file (in your SAP DB/MaxDB rundirectory: <drive>:\sapdb\data\wrk\<SID>) to see exactly which error occurs when the DB is supposed to be started into warm/online mode?

Please copy the last 20 lines or so from knldiag.err into this thread so we can maybe find out what the cause of your issue is.

Additionally, please also state the exact version (incl. Build-nr.) of your SAP DB/MaxDB instance.

Kind regards,

Roland

Message was edited by: Roland Mallmann

Former Member
0 Kudos

hi roland. that's an interesting point you made. i saw some threads mentioning those files, and oddly enough, they do not exist anywhere on the box.

i am really confused ????

roland_mallmann
Advisor
Advisor
0 Kudos

Hello Glen,

could you try the following commands and reply with their output:

1.) dbmcli db_enum

2.) xinstinfo

Regards,

Roland

Former Member
0 Kudos

oops, left requested details out, here they are

Version 7.3.0.28

BUILD 028-000-087-540

OS is Windows XP

thanks

Former Member
0 Kudos

hi roland

S:\sapdb\programs\pgm>dbmcli db_enum

OK

BSP S:\SAPDB\BSP\DB 7.3.0.0 fast offline

S:\sapdb\programs\pgm>xinstinfo

IndepData : S:\sapdb\data

IndepPrograms : S:\sapdb\programs

roland_mallmann
Advisor
Advisor
0 Kudos

Hi again Glen,

can you tell me if you see any files named knldiag* in the following directory:

S:\sapdb\data\wrk\BSP

Regards,

Roland

Former Member
0 Kudos

hi

knldiag found nowhere on the box, let alone in S:\sapdb\data\wrk\BSP

roland_mallmann
Advisor
Advisor
0 Kudos

HI Glen,

which files do you see in that directory?

Can you also show me the contents of your S:\sapdb\data\wrk directory?

Regards,

Roland

Message was edited by: Roland Mallmann

Former Member
0 Kudos

S:\sapdb\data\wrk\BSP <i>contains</i>

dbahist (folder with nothing in it)

dbm.cfg (file)

<i>contains</i>

SAPDB12 =da153c7fd56e9e8b5386162cd812f5edac14273f24d7618a

SAPDB5 =3345f35eca53714de2c1c159345c185ad224b3353ce1d4e2

dbm.mmm (file)

<i>contains nothing - o kb</i>

dbm.prt (file)

<i>contains</i>

-


Date Time TID(hex) Typ MsgID Label Message

-


2005-03-17 09:10:12 0x000006e4 0 DBM command db_warm -f

2005-03-17 09:10:14 0x000006e4 ERR -24994 DBM ERR_RTE: runtime environment error

0x000006e4 ERR -24994 DBM -2,Kernel start failed

S:\sapdb\data\wrk <i>contains</i>

_CSAPDBB (folder with nothing in it)

_SSAPDBB (folder with nothing in it)

BSP (folder - see above)

NI_TRACE_FILE (file)

<i>contains</i>

-


trc file: "S:\sapdb\data\wrk\NI_TRACEFILE", trc level: 1, release: "46A"

-


xserver.prt (file)

<i>contains</i>

-


Date Time TID(hex) Typ MsgID Label Message-Text

-


2005-03-17 08:14:54 0x280 19705 CONNECT Loading default TCPIP-DLL, ( 'sqltcp.dll')

2005-03-17 08:14:55 0x280 19707 CONNECT WINSOCK: 2.0, SQLTCP-DLL: 7.3.1

2005-03-17 08:14:55 0x280 19751 XSERVER XSERVER started, 'NT/INTEL 7.3.0 Build 028-000-087-417'

-


current write position -


roland_mallmann
Advisor
Advisor
0 Kudos

Hi Glen,

could you try the following command to put the DB into COLD (also called ADMIN) mode:

dbmcli -d BSP -u control,control db_cold

If it reaches COLD status without errors, an 'OK' should appear. You can check the status also afterwards using:

dbmcli -d BSP -u control,control db_state

Regards,

Roland

Former Member
0 Kudos

exactly the same thing

S:\sapdb\programs\pgm>dbmcli -d BSP -u control,control db_cold

ERR

-24994,ERR_RTE: runtime environment error

-2,Kernel start failed

Former Member
0 Kudos

Glenn, another thing that could cause your problem is that you have to actually upgrade your application runtime environment to a higher version. Have a look at OSS Note 557227, I used this to perform the actual upgrade and finished my install after that successfully. Tiest.

Also have a look at notes 683937 and 490325

Message was edited by: Tiest van Gool

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Glen,

ok, let us try the following then:

1. Open a commmand line window

2. Goto your S:\sapdb\BSP\db\pgm

3. Set the DBROOT environment variable: set DBROOT=S:\sapdb\BSP\db

4. Start the Database Kernel directly using: kernel BSP

(A popup screen will appear for a short while, after which a trafficlight symbol will appear in the tasklist at the bottom right of the Windows bar).

5. Issue the command:

dbmcli -d BSP -u control,control db_state

Please let me know what happened at every step.

Regards,

Roland

Message was edited by: Roland Mallmann

Former Member
0 Kudos

hi

i tried to boot up in cold mode too, and it would not have it. in the end, i took drastic measures and blasted the whole operating system and partition away.

ok, sledge hammer / nut, situation, but i was getting desperate and just could not track this down.

after all my latest efforts of resinstalling, i now have a working system.

thanks for your time and attention

glen

Former Member
0 Kudos

hi

in the end, i took drastic measures and blasted the whole operating system and partition away.

ok, sledge hammer / nut, situation, but i was getting desperate and just could not track this down.

after all my latest efforts of resinstalling, i now have a working system.

thanks for your time and attention

Former Member
0 Kudos

Hi Glen and Folks

I am exactly getting the same problem at 85 %

I am stuck at 85 % with the following "WARM_NT_ADA InstallationDo" error.

any help would be greatly apreciated

The installation phase is starting now. Please look in the log file for further information about current actions.

Info: InstController MakeStepsDeliver 2 333

Requesting Installation Details

Info: InstController MakeStepsDeliver 2 99

Defining Key Values

Info: InstController MakeStepsDeliver 2 58

Requesting Setup Details

Info: InstController MakeStepsDeliver 2 333

Requesting Installation Details

Info: InstController MakeStepsDeliver 2 1206

Setting Users for Single DB landscape

Info: InstController MakeStepsDeliver 2 75

Stopping the SAP DB Instance

Info: InstController MakeStepsDeliver 2 247

Stopping the SAP DB remote server

Info: InstController MakeStepsDeliver 2 1195

Installing SAP DB Software

Info: InstController MakeStepsDeliver 2 1195

Installing SAP DB Software

Info: InstController MakeStepsDeliver 2 120

Extracting SAP DB Tools Software

Info: InstController MakeStepsDeliver 2 816

Extracting the Database-Dependent SAP system Executables

Info: InstController MakeStepsDeliver 2 242

Starting VSERVER

Info: InstController MakeStepsDeliver 2 816

Extracting the Database-Dependent SAP system Executables

Info: InstController MakeStepsDeliver 2 816

Extracting the Database-Dependent SAP system Executables

Info: InstController MakeStepsDeliver 2 815

Extracting the SAP Executables

Info: InstController MakeStepsDeliver 2 223

Setting new Rundirectory.

Info: InstController MakeStepsDeliver 2 1

ADASETDEVSPACES_IND_ADA

Info: InstController MakeStepsDeliver 2 10

Performing Service BCHECK

Info: InstController MakeStepsDeliver 2 263

Creating XUSER File for the User <SAPSID>ADM for Dialog Instance

Info: InstController MakeStepsDeliver 2 263

Creating XUSER File for the User <SAPSID>ADM for Dialog Instance

Info: InstController MakeStepsDeliver 2 263

Creating XUSER File for the User <SAPSID>ADM for Dialog Instance

Info: InstController MakeStepsDeliver 2 760

Creating the Default Profile

Info: InstController MakeStepsDeliver 2 1267

Modifying or Creating the TPPARAM File

Info: InstController MakeStepsDeliver 2 1111

Creating the Service Entry for the Dispatcher

Info: InstController MakeStepsDeliver 2 1122

Creating the Service Entry for the Message Server

Info: InstController MakeStepsDeliver 2 1114

Creating the Service Entry for the Gateway Service

Info: InstController MakeStepsDeliver 2 1

PISTARTWA1

Info: InstController MakeStepsDeliver 2 1

PISTARTWA1GROUP

Info: InstController MakeStepsDeliver 2 54

Starting SAP DB to Mode WARM

Error: SAPDBGETWARM_NT_ADA InstallationDo 2 54

Phase failed.

Error: Main {} 2 54

Installation aborted.

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Pat,

could you please post the last couple of lines (20 or so) from the file knldiag.err from the Rundirectory of your SAP DB instance (normally /sapdb/data/wrk/<SID>) into this thread?

Kind regards,

Roland

Former Member
0 Kudos

Hello Roland,

I was getting the same problem at 86%. as follows all of ur instruction

after executing at command line "dbmcli -d BSP -u control,control db_state"

I m getting :

-


C:\SAPDB\BSP\DB\PGM>set dbroot=c:\sapdb\db

C:\SAPDB\BSP\DB\PGM>dbmcli -d BSP -u control,control db_state

OK

State

OFFLINE

C:\SAPDB\BSP\DB\PGM>

-


Please help out so that i can run my MiniSAP properly.

Regards,

Ved Prakash

vedprakashved@gmail.com

Former Member
0 Kudos

sending some of the lines:

-


Info: EXTRACTSAPEXE SyCoprocessCreate 2 815

Creating coprocess SAPCAR ...

Info: EXTRACTSAPEXE SyCoprocessCreate 2 815

Creating coprocess SAPCAR ...

Info: InstController MakeStepsDeliver 2 223

Setting new Rundirectory.

Info: ADADBREGISTER_IND_ADA SyCoprocessCreate 2 223

Creating coprocess C:\sapdb\programs\pgm\dbmcli.exe ...

Info: ADADBREGISTER_IND_ADA ExecuteDo 2 223

RC code form SyCoprocessWait = 0 .

Info: InstController MakeStepsDeliver 2 1

ADASETDEVSPACES_IND_ADA

Info: InstController MakeStepsDeliver 2 10

Performing Service BCHECK

Info: InstController MakeStepsDeliver 2 263

Creating XUSER File for the User <SAPSID>ADM for Dialog Instance

Info: ADAXUSERSIDADM_DEFAULT_NT_ADA SyCoprocessCreate 2 263

Creating coprocess C:\sapdb\programs\pgm\dbmcli.exe ...

Info: ADAXUSERSIDADM_DEFAULT_NT_ADA ExecuteDo 2 263

RC code form SyCoprocessWait = 0 .

Info: InstController MakeStepsDeliver 2 263

Creating XUSER File for the User <SAPSID>ADM for Dialog Instance

Info: ADAXUSERSIDADM_COLD_NT_ADA SyCoprocessCreate 2 263

Creating coprocess C:\sapdb\programs\pgm\dbmcli.exe ...

Info: ADAXUSERSIDADM_COLD_NT_ADA ExecuteDo 2 263

RC code form SyCoprocessWait = 0 .

Info: InstController MakeStepsDeliver 2 263

Creating XUSER File for the User <SAPSID>ADM for Dialog Instance

Info: ADAXUSERSIDADM_WARM_NT_ADA SyCoprocessCreate 2 263

Creating coprocess C:\sapdb\programs\pgm\dbmcli.exe ...

Info: ADAXUSERSIDADM_WARM_NT_ADA ExecuteDo 2 263

RC code form SyCoprocessWait = 0 .

Info: InstController MakeStepsDeliver 2 760

Creating the Default Profile

Info: DEFAULTPROFILE_IND_IND SyFileVersionSave 2 760

Saving original content of file C:\MiniWAS\DEFAULT.PFL ...

Info: DEFAULTPROFILE_IND_IND SyFileVersionSave 2 760

File C:\MiniWAS\DEFAULT.PFL does not exist, no version must be saved.

Info: InstController MakeStepsDeliver 2 1267

Modifying or Creating the TPPARAM File

Warning: TPPARAMMODIFY_NT_ADA SaveTarget 2 1267

Source file C:\MiniWAS\trans\bin\TPPARAM does not exist. Empty file will be created.

Info: TPPARAMMODIFY_NT_ADA SyFileVersionSave 2 1267

Saving original content of file C:\MiniWAS\trans\bin\TPPARAM ...

Info: InstController MakeStepsDeliver 2 1111

Creating the Service Entry for the Dispatcher

Info: R3DISPATCHERPORT_IND_IND IaServicePortAppend 2 1111

Checking service name sapdp00, protocol tcp, port number 3200 ...

Info: R3DISPATCHERPORT_IND_IND IaServicePortAppend 2 1111

Port name sapdp00 is known and the port number 3200 is equal to the existing port number 3200

Info: InstController MakeStepsDeliver 2 1122

Creating the Service Entry for the Message Server

Info: R3MESSAGEPORT_IND_IND IaServicePortAppend 2 1122

Checking service name sapmsBSP, protocol tcp, port number 3600 ...

Info: R3MESSAGEPORT_IND_IND IaServicePortAppend 2 1122

Service name is not known for port number 3600 and protocol tcp

Info: R3MESSAGEPORT_IND_IND IaServicePortAppend 2 1122

Appending a new entry, service name:sapmsBSP, port number:3600 and protocol:tcp ...

Info: InstController MakeStepsDeliver 2 1114

Creating the Service Entry for the Gateway Service

Info: R3GATEWAYPORT_IND_IND IaServicePortAppend 2 1114

Checking service name sapgw00, protocol tcp, port number 3300 ...

Info: R3GATEWAYPORT_IND_IND IaServicePortAppend 2 1114

Port name sapgw00 is known and the port number 3300 is equal to the existing port number 3300

Info: InstController MakeStepsDeliver 2 1

PISTARTBSP

Info: PISTARTBSP SyDirCreate 2 1

Checking existence of directory C:\Documents and Settings\Administrator\Desktop\. If it does not exist creating it with user , group and permission 0 ...

Info: InstController MakeStepsDeliver 2 1

PISTARTBSPGROUP

Info: PISTARTBSPGROUP SyDirCreate 2 1

Checking existence of directory C:\Documents and Settings\Administrator\Start Menu\Programs\Mini SAP Web Application Server. If it does not exist creating it with user , group and permission 0 ...

Info: InstController MakeStepsDeliver 2 54

Starting SAP DB to Mode WARM

Error: SAPDBGETWARM_NT_ADA InstallationDo 2 54

Phase failed.

Error: Main {} 2 54

Installation aborted.

-


Regards,

Ved PRakash

Former Member
0 Kudos

Did you remove everything completely (regedit) before reinstalling?

Former Member
0 Kudos

hi craig

as far as i can see, i removed everything that had miniwas, sapdb, and maxdb. it took about 20 minutes to make sure. i removed all directories/files from the box too. it was as clean as i could get.

i am quite happy trying again.

one other point.

i also have installed the db manager. if i try to create a new database. i get the same error !! mmmm ??

i am starting to think that there is nothing wrong with the SAP installation, rather, the sapdb stuff.