cancel
Showing results for 
Search instead for 
Did you mean: 

20090,Check kernel message file! Kernel exited with '0' before reaching ADMIN state

Former Member
0 Kudos

Hi Guru,

I'm installing liveCache on MaxDB 7.9.08.05 in Suse Linux 11 via EHP3 SAP Netweaver sapinst. While creating database instance and the installation is trying to set DB do admin mode, it has an error:

ERR

-24994,ERR_RTE: Runtime environment error

20090,Check kernel message file! Kernel exited with '0' before reaching ADMIN state

And further checking on KnlMsg I noticed below error:

<MSGL _NO="1369" _PROCESS="359" _THREAD="0x186" _TASK="1" _TIME="2013-01-10 01:20:54.000">

  <MSG _NO="1" _TYPE="Error" _ID="12" _COMP="RTEIO" _TEXT="Attach volume $VOLUME_NAME$ failed during open">

   <MSG_ARGS

     _FILE="RTEIO_VolumeInfo-k+noPIC.cpp"

     _LINE="1768"

     _TIME="2013-01-10 01:20:54.000"

     _MESSAGEVERSION="2"

     VOLUME_NAME="TRACE_VOLUME_001"

    />

  </MSG>

  <MSG _NO="2" _TYPE="Error" _ID="1" _COMP="RTEIO" _TEXT="Open file $PATHNAME$ failed, $DESCRIPTION$ returned &apos;$ERRORTEXT$&apos; ($RETURNCODE$)">

   <MSG_ARGS

     _FILE="RTEIO_VolumeInfo-k+noPIC.cpp"

     _LINE="2423"

     _TIME="2013-01-10 01:20:54.000"

     _MESSAGEVERSION="2"

     PATHNAME="/sapdb/US5/data/wrk/US5/knltrace"

     RETURNCODE="13"

     ERRORTEXT="Permission denied"

     DESCRIPTION="open(READWRITE,OPEN_EXISTING)"

    />

  </MSG>

</MSGL>

I have set /sapdb/US5/data/wrk/US5/knltrace, /sapdb/US5/sapdata, /sapdb/US5/saplog to 777 in OS. What could be the problem?

Regards,

Yohanes

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Yohanes,

It looks like a permission problem, but I need to take a look at the complete KnlMsg file. Never change the permissions manually.

Please attach the KnlMsg file from the run directory to the thread.

Run the "sdbverify" tool from /sapdb/programs/bin direcotry and let me know the output.

Regards,

Yashwanth

Former Member
0 Kudos

Hi Yashwanth,

Below is the result of sdbverify as a root user:

us4as00:/sapdb/programs/bin # ./sdbverify

Checking installation "Global" (/sapdb/programs, 7.9.08.05)

Checking package Installer

Checking package SAP Utilities Compatibility

Checking package Global Listener

Checking package Installation Compatibility

Checking installation "Legacy" (/sapdb/programs, )

Checking installation "US5" (/sapdb/US5/db, 7.9.08.05)

Checking package Base

Checking package SQLDBC

Checking package SQLDBC 77

Checking package Fastload API

Checking package SQLDBC 76

Checking package SAP Utilities

Checking package Server Utilities

Checking package Database Kernel

Checking package APO LC APPS

Checking package Redist Python

Checking package Loader

Checking package ODBC

Checking package Messages

Checking package JDBC

Checking package DB Analyzer

Successfully done

But error is occurred if I run it with sdb (member of sdba group) user:

sdb@us4as00:~> cd /sapdb/programs/bin

sdb@us4as00:/sapdb/programs/bin> ./sdbverify

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

WARNING: You are using sdbverify as a non root user!

Detected errors could be caused by insufficient permissions.

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

Checking installation "Global" (/sapdb/programs, 7.9.08.05)

Checking package Installer

Checking package SAP Utilities Compatibility

Checking package Global Listener

Checking package Installation Compatibility

Checking installation "Legacy" (/sapdb/programs, )

Checking installation "US5" (/sapdb/US5/db, 7.9.08.05)

Checking package Base

Checking package SQLDBC

Checking package SQLDBC 77

Checking package Fastload API

Checking package SQLDBC 76

Checking package SAP Utilities

Checking package Server Utilities

Checking package Database Kernel

Checking package APO LC APPS

Checking package Redist Python

Checking package Loader

Checking package ODBC

Checking package Messages

Checking package JDBC

Checking package DB Analyzer

ERR:  Failed

ERR:    Checking installation "Global" failed

ERR:      Checking package Global Listener failed

ERR:        Cannot check file "/sapdb/programs/bin/starter/sdbstarter": Bad file descriptor

ERR:      Checking package Installation Compatibility failed

ERR:        Cannot check file "/sapdb/programs/pgm/starter/sdbstarter": Bad file descriptor

ERR:    Checking installation "US5" failed

ERR:      Checking package Base failed

ERR:        Cannot check file "/sapdb/US5/db/bin/starter/sdbstarter": Bad file descriptor

ERR:      Checking package Server Utilities failed

ERR:        Cannot check file "/sapdb/US5/db/pgm/starter/sdbstarter": Bad file descriptor

ERR:      Checking package Database Kernel failed

ERR:        Cannot check file "/sapdb/US5/db/pgm/starter/dbmverifypw": Bad file descriptor

I also attached the KnlMsg and diagpkg. As I can't attach zip file, hence I have to rename diagpkg.zip to diagpkg.txt, you may change back to zip file and extract it.

Thanks and Regards,

Yohanes