cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Error during registry access to key IndepData

Former Member
0 Kudos

Error: Error during registry access to key IndepData

Hi Folks,

We are facing the below issue while doing SPS (ABAp+JAVA) upgrade using SUM tool.

Error Details:

----------------

Phase

--------

DBCHK_PRE

DBSDBENV.LOG

----------------------

ACTION : put_ada_set_dbdep

PHASE  :  at 20140306171435

MaxDB-specific DB Catalog Table Set is used.

Necessary as of version 7.7.

ACTION : put_ada_get_dbswpath

PHASE  : DBCHK_PRE at 20140306171545

Initialize dbadashoplib

Initialize dbadashoplib successful

Call dbadaDllGetIndepProgPath

Error -11: GET_INDEP_PROG_PATH failed

XCMDOUT.LOG

--------------------

Set environment variable 'DBROOT' to ''

> Subprocess starts at 20140307075541

Execute Command : dbmcli.exe -s dbm_getpath IndepProgPath

Execute Session Command : exit

> Subprocess stops at 20140307075541

> Subprocess call failed

Warning! Can't find Installation!

  inst_reg [-c]" to avoid this message)

ERR

-24700,ERR_DBMSRV_NOSTART: Could not start DBM server.

-24840,ERR_NODBMLOGGER: DBM logger could not be initialized

-24993,ERR_RTEEXT: Runtime environment error

1,Error during registry access to key IndepData

2,The system cannot find the file specified.

System Details :

--------------

-------------------------------------------------------------

Summary of operating system details:

-------------------------------------------------------------

OS Type: Windows NT X86_64

OS Version: 6.1

-------------------------------------------------------------

Summary of database details:

-------------------------------------------------------------

Database Type: ada

Database Version: 7.9.08.005

We tried to execute the commands manually, and got the same error

C:\Users\<sid>adm>dbmcli -s dbm_version

Warning! Can't find Installation!

  (use "dbmcli -s -R <instroot> inst_reg [-c]" to avoid this message)

ERR

-24700,ERR_DBMSRV_NOSTART: Could not start DBM server.

-24840,ERR_NODBMLOGGER: DBM logger could not be initialized

-24993,ERR_RTEEXT: Runtime environment error

1,Error during registry access to key IndepData

2,The system cannot find the file specified.

i could see the parameters maintained in registry, but still we are getting the error.

i think below details might help you to understand my case better. Kindly help us in fixing the issue.

C:\Users\<sid>adm>sdbconfig

IndepData=F:\sapdb\data

IndepPrograms=C:\sapdb\programs

C:\Users\<sid>adm>xinstinfo <SID>

GlobalDataPath      : F:\sapdb\data

GlobalProgramsPath  : C:\sapdb\programs

PrivateDataPath     : C:\sapdb\<SID>\data

Rundirectory        : C:\sapdb\<SID>\data\wrk\<SID>

InstallationPath    : C:\sapdb\<SID>\db

Kernelversion       : KERNEL    7.9.08   BUILD 005-123-245-902

sdbregview -l

-------------

C:\Users\<sid>adm>sdbregview -l

Installation: Global    C:\sapdb\programs

Global Listener                7.8.02.30    valid    64 bit

Installation Compatibility     7.8.02.30    valid    64 bit

Installer                      7.8.02.30    valid

SAP Utilities Compatibility    7.8.02.30    valid    64 bit

Installation: Legacy    C:\sapdb\programs

DB Analyzer      C:\sapdb\programs    7.7.02.17     valid    64 bit

Fastload API     C:\sapdb\programs    7.7.02.17     valid    64 bit

JDBC             C:\sapdb\programs    7.6.04.02     valid

Loader           C:\sapdb\programs    7.7.02.17     valid    64 bit

Messages         C:\sapdb\programs    MSG 0.5010    valid

ODBC             C:\sapdb\programs    7.7.02.17     valid    64 bit

PCR 7301         C:\sapdb\programs    7.3.01.22     valid

PCR 7500         C:\sapdb\programs    7.5.00.46     valid    64 bit

Redist Python    C:\sapdb\programs    7.7.02.17     valid    64 bit

SQLDBC           C:\sapdb\programs    7.7.02.17     valid    64 bit

SQLDBC 76        C:\sapdb\programs    7.6.03.08     valid    64 bit

SQLDBC 77        C:\sapdb\programs    7.7.02.17     valid    64 bit

Installation: CL_<SID>    F:\sapdb\clients\<SID>

Base             7.8.02.30      valid    64 bit

Fastload API     7.8.02.30      valid    64 bit

JDBC             7.6.06.07      valid

Loader           7.8.02.30      valid    64 bit

Messages         MSG 0.10269    valid

ODBC             7.8.02.30      valid    64 bit

Redist Python    7.8.02.30      valid    64 bit

SAP Utilities    7.8.02.30      valid    64 bit

SQLDBC           7.8.02.30      valid    64 bit

SQLDBC 76        7.6.06.23      valid    64 bit

SQLDBC 77        7.8.02.30      valid    64 bit

Installation: <SID>    C:\sapdb\<SID>\db

Base                7.9.08.05      valid    64 bit

DB Analyzer         7.9.08.05      valid    64 bit

Database Kernel     7.9.08.05      valid    64 bit

Fastload API        7.9.08.05      valid    64 bit

JDBC                7.6.06.09      valid

Loader              7.9.08.05      valid    64 bit

Messages            MSG 0.10302    valid

ODBC                7.9.08.05      valid    64 bit

Redist Python       7.9.08.05      valid    64 bit

SAP Utilities       7.9.08.05      valid    64 bit

SQLDBC              7.9.08.05      valid    64 bit

SQLDBC 76           7.6.06.23      valid    64 bit

SQLDBC 77           7.9.08.05      valid    64 bit

Server Utilities    7.9.08.05      valid    64 bit

Regards,

Harsha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello All,

Issue has been fixed, we found a wrong environment variable maintained which is pointing to older DBMCLI version. everything worked fine after removing it.

Cheers,

Harsha

srinivasan_vinayagam
Active Contributor
0 Kudos

Dear Lingutla,

Check your DB connection and DB status running or not.

Above thread help you to fix this issue.

Thanks & Regards,

V Srinivasan

Former Member
0 Kudos

Hi Srinivas,

There is so issues with the DB, i am able to stop and start the with out any issues.

C:\Users\<sid>adm>dbmcli -U c db_state

OK

State

ONLINE

Regards,

Harsha

former_member188883
Active Contributor
0 Kudos

Hi Harsha,

Could you share details from log dbmsrv_<server_name>.prt

Regards,

Deepak Kori

srinivasan_vinayagam
Active Contributor
0 Kudos

Dar Lingutla,

This DB connection issue.

Please check above threads which i have mentioned.

Former Member
0 Kudos

------------------------------------------------------------------------------

Date       Time     PID        Typ MsgID      Label    Message

------------------------------------------------------------------------------

2012-10-16 10:23:22       5416 INF          1 DBMSrvCo A DBM Server client connection was established at 2012-10-16 10:23:22 (client process has process ID 4824 on computer <DB hostname>).

2012-10-16 10:23:22       5416 INF        283 DBMSrv   Command 'service_register' is being executed.

2012-10-16 10:23:23       5416 INF        419 DBMSrv   Command 'service_register' has ended with return code 0.

2012-10-16 10:23:23       5416 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 4824 on computer <DB hostname>).

2012-10-16 11:00:09       5048 INF          1 DBMSrvCo A DBM Server client connection was established at 2012-10-16 11:00:09 (client process has process ID 5416 on computer <DB hostname>).

2012-10-16 11:00:09       5048 INF        283 DBMSrv   Command 'service_unregister' is being executed.

2012-10-16 11:00:10       5048 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 5416 on computer <DB hostname>).

2012-10-16 11:00:16       2708 INF          1 DBMSrvCo A DBM Server client connection was established at 2012-10-16 11:00:16 (client process has process ID 2148 on computer <DB hostname>).

2012-10-16 11:00:16       2708 INF        283 DBMSrv   Command 'service_register' is being executed.

2012-10-16 11:00:16       2708 INF        419 DBMSrv   Command 'service_register' has ended with return code 0.

2012-10-16 11:00:16       2708 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 2148 on computer <DB hostname>).

2013-03-26 11:50:06       1264 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-03-26 11:50:06 (client process has process ID 1764 on computer <DB hostname>).

2013-03-26 11:50:06       1264 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          1264 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          1264 INF          1 DBMSrvSh Removed data of DBM Server with PID 4820.

                          1264 INF          1 DBMSrvSh Removed data of DBM Server with PID 1588.

2013-03-26 11:50:06       1264 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-03-26 11:51:10       4724 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-03-26 11:51:10 (client process has process ID 4716 on computer <DB hostname>).

2013-03-26 11:51:10       4724 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          4724 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          4724 INF          1 DBMSrvSh Removed data of DBM Server with PID 3028.

2013-03-26 11:51:10       4724 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-05-02 11:02:34       3756 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-05-02 11:02:34 (client process has process ID 2772 on computer <DB hostname>).

2013-05-02 11:02:34       3756 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          3756 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          3756 INF          1 DBMSrvSh Removed data of DBM Server with PID 2840.

                          3756 INF          1 DBMSrvSh Removed data of DBM Server with PID 2000.

2013-05-02 11:02:34       3756 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-05-02 12:20:33       2416 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-05-02 12:20:33 (client process has process ID 28444 on computer <xyz>.<xyz>.<xyz>).

2013-05-02 12:20:33       2416 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          2416 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          2416 INF          1 DBMSrvSh Removed data of DBM Server with PID 4044.

                          2416 INF          1 DBMSrvSh Removed data of DBM Server with PID 2936.

2013-05-02 12:20:33       2416 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-05-03 19:15:29       2124 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-05-03 19:15:29 (client process has process ID 2692 on computer <DB hostname>).

2013-05-03 19:15:29       2124 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          2124 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          2124 INF          1 DBMSrvSh Removed data of DBM Server with PID 2736.

                          2124 INF          1 DBMSrvSh Removed data of DBM Server with PID 2952.

2013-05-03 19:15:29       2124 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-05-06 10:45:23       3012 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-05-06 10:45:23 (client process has process ID 4024 on computer <DB hostname>).

2013-05-06 10:45:23       3012 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          3012 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          3012 INF          1 DBMSrvSh Removed data of DBM Server with PID 508.

                          3012 INF          1 DBMSrvSh Removed data of DBM Server with PID 2072.

2013-05-06 10:45:23       3012 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-05-06 11:20:50       3796 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-05-06 11:20:50 (client process has process ID 28434 on computer <xyz>.<xyz>.<xyz>).

2013-05-06 11:20:50       3796 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          3796 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          3796 INF          1 DBMSrvSh Removed data of DBM Server with PID 2652.

                          3796 INF          1 DBMSrvSh Removed data of DBM Server with PID 2672.

2013-05-06 11:20:50       3796 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-08-02 15:42:56        400 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-08-02 15:42:55 (client process has process ID 2492 on computer <DB hostname>).

2013-08-02 15:42:56        400 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                           400 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                           400 INF          1 DBMSrvSh Removed data of DBM Server with PID 3364.

                           400 INF          1 DBMSrvSh Removed data of DBM Server with PID 3764.

2013-08-02 15:42:56        400 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2013-11-22 19:49:51       3884 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-11-22 19:49:51 (client process has process ID 3792 on computer <DB hostname>).

2013-11-22 19:49:51       3884 INF          2 DBMSrvSh HouseKeeping had some cleanup to do...

                          3884 INF          1 DBMSrvSh Removed data of DBM Server with PID 0.

                          3884 INF          1 DBMSrvSh Removed data of DBM Server with PID 4908.

                          3884 INF          1 DBMSrvSh Removed data of DBM Server with PID 2120.

                          3884 INF          1 DBMSrvSh Removed data of DBM Server with PID 2172.

2013-11-22 19:49:51       3884 INF          1 DBMSrvLo This DBM Server uses as of now 'C:\sapdb\<SID>\data\wrk\<SID>\dbm.prt' as its log file.

2014-03-06 10:54:53       6924 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-06 10:54:53 (client process has process ID 4648 on computer <DB hostname>).

2014-03-06 10:54:53       6924 INF        421 DBMSrv   Command 'user_system ...' was executed since 2014-03-06 10:54:53.

2014-03-06 10:54:53       6924 ERR     -24965 DBMSrv   ERR_SYSLOGON: Logon to operating system failed

                          6924 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error

                          6924 INF          0 DBMSrv   62,Logon user to the local computer failed.

2014-03-06 10:54:53       6924 ERR     -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'user_system' has ended and failed with return code -24965.

2014-03-06 10:54:53       6924 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 4648 on computer <DB hostname>).

2014-03-06 13:51:34       7012 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-06 13:51:34 (client process has process ID 6348 on computer <DB hostname>).

2014-03-06 13:51:34       7012 INF        421 DBMSrv   Command 'user_system ...' was executed since 2014-03-06 13:51:34.

2014-03-06 13:51:34       7012 ERR     -24965 DBMSrv   ERR_SYSLOGON: Logon to operating system failed

                          7012 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error

                          7012 INF          0 DBMSrv   62,Logon user to the local computer failed.

2014-03-06 13:51:34       7012 ERR     -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'user_system' has ended and failed with return code -24965.

2014-03-06 13:51:34       7012 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 6348 on computer <DB hostname>).

2014-03-06 13:52:44       7000 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-06 13:52:44 (client process has process ID 7484 on computer <DB hostname>).

2014-03-06 13:52:44       7000 INF        421 DBMSrv   Command 'user_system ...' was executed since 2014-03-06 13:52:44.

2014-03-06 13:52:44       7000 ERR     -24965 DBMSrv   ERR_SYSLOGON: Logon to operating system failed

                          7000 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error

                          7000 INF          0 DBMSrv   62,Logon user to the local computer failed.

2014-03-06 13:52:44       7000 ERR     -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'user_system' has ended and failed with return code -24965.

2014-03-06 13:52:44       7000 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 7484 on computer <DB hostname>).

2014-03-06 20:05:29       6860 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-06 20:05:29 (client process has process ID 7040 on computer <DB hostname>).

2014-03-06 20:05:29       6860 ERR     -24811 DBMSrv   ERR_CONNLOST: connection to client lost (error code 1)

2014-03-06 20:05:29       6860 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 7040 on computer <DB hostname>).

2014-03-06 20:24:48       5712 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-06 20:24:48 (client process has process ID 6480 on computer <DB hostname>).

2014-03-06 20:24:48       5712 ERR     -24811 DBMSrv   ERR_CONNLOST: connection to client lost (error code 1)

2014-03-06 20:24:48       5712 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 6480 on computer <DB hostname>).

2014-03-07 07:08:47       6264 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-07 07:08:47 (client process has process ID 1636 on computer <DB hostname>).

2014-03-07 07:08:47       6264 ERR     -24811 DBMSrv   ERR_CONNLOST: connection to client lost (error code 1)

2014-03-07 07:08:47       6264 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 1636 on computer <DB hostname>).

2014-03-07 07:09:03       6888 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-07 07:09:03 (client process has process ID 3848 on computer <DB hostname>).

2014-03-07 07:09:03       6888 ERR     -24811 DBMSrv   ERR_CONNLOST: connection to client lost (error code 1)

2014-03-07 07:09:03       6888 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 3848 on computer <DB hostname>).

former_member188883
Active Contributor
0 Kudos

Hi Harsha,


2014-03-06 13:51:34       7012 INF        421 DBMSrv   Command 'user_system ...' was executed since 2014-03-06 13:51:34.

2014-03-06 13:51:34       7012 ERR     -24965 DBMSrv   ERR_SYSLOGON: Logon to operating system failed

                          7012 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error

                          7012 INF          0 DBMSrv   62,Logon user to the local computer failed.

Refer SAP Note 1429033 - Installation fails: Unix password mismatch

Looks like some password issue.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Apologies, the error that you are pointing is older, i have fixed the issues with XUSER and now the problem "ERR_SYSLOGON: Logon to operating system failed" exist no more

Regards,

Harsha

former_member188883
Active Contributor
0 Kudos

Hi Harsha,

Good to know problem is resolved. It would be good to share the solution to the community.

As per above note solution

  • Set the SDB_PAM_NOT_USED=YES variable in the environment of the x_server.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Issue is not yet fixed, in the last post i mean that "ERR_SYSLOGON: Logon to operating system failed" issue has occured on 06/03/2014,  which has been fixed.

so you can ignore that error, other details in the log might help you.

Regards,

Harsha

former_member188883
Active Contributor
0 Kudos

Hi Harsha,

Could you execute sdbverify to check the permissions.

Secondly share the updated dbm.prt log as well as sdbverify log

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

I have attachment the logs

Cheers,

Harsha

former_member188883
Active Contributor
0 Kudos

Hi Harsha,

-24700,ERR_DBMSRV_NOSTART: Could not start DBM server.

Could you check whether DB server is running ?

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

System is running fine.

Regards,

Harsha