cancel
Showing results for 
Search instead for 
Did you mean: 

How to drop database instance if username/password is lost???

Former Member
0 Kudos

As the username/password is missing, I am not able to unistall the database studio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Currently there is no important data in database.

former_member229109
Active Contributor
0 Kudos

Hello Vijay,

Could you please update with additional information::

    • Do you have only one database instance installed on the server?

Please update with output of the following commands ::

dbmcli db_enum

dbmcli inst_enum

xinstinfo <SID>

sdbregview -l

< If you created the database using DBMGUI tool, please check that you are

able to connect to the database as dbm user, dbm password

May be you know SYSDBA user/password? >

    • Are you SAP customer?

If you are SAP customer, please review the SAP notes: 599129 & 572836

Option: If you would like to uninstall all database software on the Windows server,

but you are not able to drop the database instance of the database software was

deleted manually.

=> You could delete all dependent & independent database software manually

&& apply the SAP note's 572836 solution after that.

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

Hello Vijay

mybe you can use the command line tools dbmstop and dbmdrop. That depends on your MaxDB server version.

dbmstop myDB

dbmdrop myDB

But be careful. There will be no further enquiry.

Best regards

Markus

Former Member
0 Kudos

Hello Natalia,

Thanks for reply.

I have two database instances on server: SAMPLE, MAXDB1

dbmcli db_enum

OK

SAMPLE D:\Program_Files\SDB\programs\DatabaseStudio\utilities 7.7.03.23 fast offline

MAXDB1 D:\Program_Files\SDB\programs\DatabaseStudio\utilities 7.7.03.23 fast offline

xinstinfo sample

IndepData : D:\MAXDB_DATA

IndepPrograms : D:\Program_Files\SDB\programs

InstallationPath : D:\Program_Files\SDB\programs\DatabaseStudio\utilities

Kernelversion : KERNEL 7.7.03 BUILD 023-123-174-368

Rundirectory : D:\MAXDB_DATA\wrk\SAMPLE

xinstinfo maxdb1

IndepData : D:\MAXDB_DATA

IndepPrograms : D:\Program_Files\SDB\programs

InstallationPath : D:\Program_Files\SDB\programs\DatabaseStudio\utilities

Kernelversion : KERNEL 7.7.03 BUILD 023-123-174-368

Rundirectory : D:\MAXDB_DATA\wrk\MAXDB1

sdbregview -l

Server Utilities d:/program_files/sdb/programs 7.7.03.23 32 bit valid

Database Studio Utilities d:/program_files/sdb/programs/databasestudio/utilities 7.7.03.23 valid

Database Studio d:/program_files/sdb/programs 7.7.03.23 valid

Base d:/program_files/sdb/programs 7.7.03.23 32 bit valid

I have created databases from GUI tool. But, the username/password which I used while creating is not being accepted. Even the system administrator username/password is not being accepted.

The error is: -2 ERR_USRFAIL: User authentication failed

So, the scenario is as if I have lost my username/password.

Due to this MAXDB is not allowing me to uninstall the database studio as the database instances are not dropped.

      • No, I am not SAP customer. Do I have access to the notes mentioned? If yes, then how to access?

Thanks,

Vijay

Former Member
0 Kudos

Hello Markus,

These commands don't work.

dbmcli>dbmdrop sample

ERR

-24977,ERR_COMMAND: Unknown DBM command "dbmdrop"

---

dbmcli>dbmstop sample

ERR

-24977,ERR_COMMAND: Unknown DBM command "dbmstop"

---

Is there any other solution?

Thanks,

Vijay

Former Member
0 Kudos

Otherwise, is there a way to uninstall database studio without the database instances created previously....

former_member229109
Active Contributor
0 Kudos

Hello Vijay,

Please run :

d:/program_files/sdb/programs/databasestudio/utilities/pgm/dbmdrop MAXDB1

d:/program_files/sdb/programs/databasestudio/utilities/pgm/dbmdrop SAMPLE

< to drop the SAMPLE & MAXDB1 databases first >.

After that could you please start 'Installation Manager' from the all programs

-> MAXDB < by default >.

Click in 'Remove MAXDB components' -> run the 'uninstall'.

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

Hi Natalia,

Thanks a ton. It worked.

In between I had created one more database named MAXDB2. So, now only this database is interrupting uninstalling DatabaseStudio.

dbmdrop.exe maxdb2

The MaxDB Database Dropper, Version 7.7.03.23

Copyright 2000-2008 by SAP AG

Error! Connection failed to node (local) for database maxdb2:

-24700,ERR_DBMSRV_NOSTART: Could not start DBM server.

-24679,ERR_DBMSRV_NOSTARTALLOWED: Currently, no DBM server may be started.

Error: Error while calling dbmcli

"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u , db_drop

*"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u , db_drop*

rror! Connection failed to node (local) for database maxdb2:

24700,ERR_DBMSRV_NOSTART: Could not start DBM server.

24679,ERR_DBMSRV_NOSTARTALLOWED: Currently, no DBM server may be started.

I am not able to understand what is happening here. Can you help me to tackle with this too? I need to drop this too. I am unable to start DBM Server for dropping MAXDB2.

Thanks,

Vijay

former_member229109
Active Contributor
0 Kudos

Hello Vijay,

-> Please check the errors in the dbmsrv_<server-name>.prt located

D:\MAXDB_DATA\wrk

-> Please update with output of the following commands ::

dbmcli db_enum

dbmcli inst_enum

xinstinfo MAXDB2

sdbregview -l

-> If the MAXDB2 is offline, please check if you have the shared memory

files MAXDB2.dbm.shi & MAXDB2.dbm.shm in D:\MAXDB_DATA\wrk.

Please rename them to MAXDB2.dbm.shi.old & MAXDB2.dbm.shm.old,

try to drop the MAXDB2 after that with command

d:/program_files/sdb/programs/databasestudio/utilities/pgm/dbmdrop MAXDB2

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

dbmsrv_VIJAY123.prt

-


Date Time TID(hex) Typ MsgID Label Message

-


2008-02-07 14:18:08 0x00001094 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:18:08): PID 5312 on computer VIJAY123

2008-02-07 14:18:08 0x00001094 INF 283 DBMSrv command inst_reg

2008-02-07 14:18:24 0x00001094 INF 226 DBMSrv DBM Server client disconnected: PID 5312 on computer VIJAY123

2008-02-07 14:33:28 0x000005dc INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:33:28): PID 5040 on computer VIJAY123

2008-02-07 14:33:28 0x000005dc INF 283 DBMSrv command db_create -a...

2008-02-07 14:33:29 0x000005dc INF 226 DBMSrv DBM Server client disconnected: PID 5040 on computer VIJAY123

2008-02-07 14:33:29 0x0000154c INF 416 DBMSrv Rundirectory does not exist.

2008-02-07 14:33:29 0x0000154c INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:33:29): PID 5040 on computer VIJAY123

2008-02-07 14:33:29 0x0000154c WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'

2008-02-07 14:33:29 0x0000154c WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'

2008-02-07 14:33:29 0x0000154c INF 283 DBMSrv command auto_extend show

2008-02-07 14:33:29 0x0000154c INF 283 DBMSrv command auto_update_statistics show

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"

2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_directput _UNICODE "YES"

2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put CACHE_SIZE "2500"

2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"

2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put XP_MAXPAGER "3"

2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put MAXUSERTASKS "10"

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_checkall EXTENDED

2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_commitsession NOCLOSE

2008-02-07 14:33:39 0x0000154c INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\SAMPLE\data\DISKD0001" F 32768

2008-02-07 14:33:39 0x0000154c INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\SAMPLE\log\DISKL001" F 6400 1

2008-02-07 14:33:40 0x0000154c INF 283 DBMSrv command db_admin -f

2008-02-07 14:34:12 0x000014c0 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:34:09): PID 5040 on computer VIJAY123

2008-02-07 14:34:12 0x000014c0 INF 161 DBMSrv database SAMPLE is no longer registered, no commands can be executed

2008-02-07 14:34:12 0x000014c0 INF 226 DBMSrv DBM Server client disconnected: PID 5040 on computer VIJAY123

2008-02-07 14:36:36 0x0000171c INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:36:36): PID 788 on computer VIJAY123

2008-02-07 14:36:36 0x0000171c INF 283 DBMSrv command db_create -a...

2008-02-07 14:36:37 0x0000171c INF 226 DBMSrv DBM Server client disconnected: PID 788 on computer VIJAY123

2008-02-07 14:36:37 0x000015ac INF 416 DBMSrv Rundirectory does not exist.

2008-02-07 14:36:37 0x000015ac INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:36:37): PID 788 on computer VIJAY123

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command auto_extend show

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command auto_update_statistics show

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_directput _UNICODE "YES"

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put CACHE_SIZE "2500"

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put XP_MAXPAGER "3"

2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put MAXUSERTASKS "10"

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_checkall EXTENDED

2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_commitsession NOCLOSE

2008-02-07 14:36:47 0x000015ac INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\MAXDB1\data\DISKD0001" F 32768

2008-02-07 14:36:47 0x000015ac INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\MAXDB1\log\DISKL001" F 6400 1

2008-02-07 14:36:48 0x000015ac INF 283 DBMSrv command db_admin -f

2008-02-07 14:39:42 0x00000e64 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:39:42): PID 4316 on computer VIJAY123

2008-02-07 14:39:42 0x00000e64 INF 283 DBMSrv command db_create -a...

2008-02-07 14:39:43 0x00000e64 INF 226 DBMSrv DBM Server client disconnected: PID 4316 on computer VIJAY123

2008-02-07 14:39:43 0x00001298 INF 416 DBMSrv Rundirectory does not exist.

2008-02-07 14:39:43 0x00001298 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:39:43): PID 4316 on computer VIJAY123

2008-02-07 14:39:43 0x00001298 WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'

2008-02-07 14:39:43 0x00001298 WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'

2008-02-07 14:39:43 0x00001298 INF 283 DBMSrv command auto_extend show

2008-02-07 14:39:43 0x00001298 INF 283 DBMSrv command auto_update_statistics show

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"

2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_directput _UNICODE "YES"

2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put CACHE_SIZE "2500"

2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"

2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put XP_MAXPAGER "3"

2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put MAXUSERTASKS "10"

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_checkall EXTENDED

2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_commitsession NOCLOSE

2008-02-07 14:39:55 0x00001298 INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\SAMPLE\data\DISKD0001" F 32768

2008-02-07 14:39:56 0x00001298 INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\SAMPLE\log\DISKL001" F 6400 1

2008-02-07 14:39:56 0x00001298 INF 283 DBMSrv command db_admin -f

2008-02-07 16:11:41 0x000010b8 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:11:40): PID 5432 on computer VIJAY123

2008-02-07 16:11:41 0x000010b8 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "\h"

2008-02-07 16:11:41 0x000010b8 INF 226 DBMSrv DBM Server client disconnected: PID 5432 on computer VIJAY123

2008-02-07 16:12:45 0x000016e8 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:12:45): PID 5988 on computer VIJAY123

2008-02-07 16:12:45 0x000016e8 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "db_enumremove"

2008-02-07 16:12:45 0x000016e8 INF 226 DBMSrv DBM Server client disconnected: PID 5988 on computer VIJAY123

2008-02-07 16:12:48 0x000014f4 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:12:48): PID 808 on computer VIJAY123

2008-02-07 16:12:48 0x000014f4 INF 283 DBMSrv command db_enum ...

2008-02-07 16:12:48 0x000014f4 ERR -24642 DBMSrv ERR_ANALYZECMD: Could not analyze the parameters of the current command "db_enum".

0x000014f4 ERR -24641 DBMSrv ERR_CMDSYNTAX: The given arguments do not match to the syntax of the command.

2008-02-07 16:12:48 0x000014f4 INF 226 DBMSrv DBM Server client disconnected: PID 808 on computer VIJAY123

2008-02-07 16:12:58 0x00000e40 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:12:58): PID 5004 on computer VIJAY123

2008-02-07 16:12:58 0x00000e40 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "db_rem"

2008-02-07 16:12:58 0x00000e40 INF 226 DBMSrv DBM Server client disconnected: PID 5004 on computer VIJAY123

2008-02-07 16:34:02 0x000007b4 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:34:02): PID 752 on computer VIJAY123

2008-02-07 16:34:02 0x000007b4 INF 283 DBMSrv command db_reg DB...

2008-02-07 16:34:02 0x000007b4 ERR -24953 DBMSrv ERR_DBEXIST: Database instance SAMPLE already exists

2008-02-07 16:34:02 0x000007b4 INF 226 DBMSrv DBM Server client disconnected: PID 752 on computer VIJAY123

2008-02-11 11:47:43 0x00000ad0 INF 216 DBMSrv DBM Server client connection (established at 2008-02-11 11:47:38): PID 5220 on computer VIJAY123

2008-02-11 11:47:43 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmstop"

2008-02-11 11:48:16 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmstop"

2008-02-11 11:49:22 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmdrop"

2008-02-11 11:49:28 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmdrop"

2008-02-11 11:49:29 0x00000ad0 INF 226 DBMSrv DBM Server client disconnected: PID 5220 on computer VIJAY123

2008-02-11 16:51:58 0x00001164 INF 216 DBMSrv DBM Server client connection (established at 2008-02-11 16:51:58): PID 5284 on computer VIJAY123

2008-02-11 16:51:58 0x00001164 INF 283 DBMSrv command db_create -a...

2008-02-11 16:51:58 0x00001164 INF 226 DBMSrv DBM Server client disconnected: PID 5284 on computer VIJAY123

2008-02-11 16:51:58 0x00001274 INF 416 DBMSrv Rundirectory does not exist.

2008-02-11 16:51:59 0x00001274 INF 216 DBMSrv DBM Server client connection (established at 2008-02-11 16:51:58): PID 5284 on computer VIJAY123

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command auto_extend show

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command auto_update_statistics show

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_directput _UNICODE "YES"

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put CACHE_SIZE "2500"

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put XP_MAXPAGER "3"

2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put MAXUSERTASKS "10"

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_checkall EXTENDED

2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_commitsession NOCLOSE

2008-02-11 16:52:08 0x00001274 INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\MAXDB2\data\DISKD0001" F 32768

2008-02-11 16:52:08 0x00001274 INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\MAXDB2\log\DISKL001" F 6400 1

2008-02-11 16:52:09 0x00001274 INF 283 DBMSrv command db_admin -f

2008-02-11 16:56:58 0x00001464 ERR -24590 DBMSrv ERR_REPLY_SHMCHANNEL: Error delivering DBM server reply

0x00001464 ERR -24832 DBMSrv ERR_SHMNOTAVAILABLE: Shared memory not available

2008-02-12 11:54:10 0x00000ddc INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 11:54:08): PID 664 on computer VIJAY123

2008-02-12 11:54:11 0x00000ddc INF 161 DBMSrv database SAMPLE is no longer registered, no commands can be executed

2008-02-12 11:54:11 0x00000ddc INF 226 DBMSrv DBM Server client disconnected: PID 664 on computer VIJAY123

2008-02-12 12:08:39 0x000012bc INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 12:08:37): PID 556 on computer VIJAY123

2008-02-12 12:08:39 0x000012bc INF 161 DBMSrv database MAXDB1 is no longer registered, no commands can be executed

2008-02-12 12:08:39 0x000012bc INF 226 DBMSrv DBM Server client disconnected: PID 556 on computer VIJAY123

2008-02-12 16:16:43 0x00001334 INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 16:16:43): PID 3532 on computer VIJAY123

2008-02-12 16:16:43 0x00001334 INF 283 DBMSrv command db_reg DB...

2008-02-12 16:16:43 0x00001334 ERR -24953 DBMSrv ERR_DBEXIST: Database instance MAXDB2 already exists

2008-02-12 16:16:43 0x00001334 INF 226 DBMSrv DBM Server client disconnected: PID 3532 on computer VIJAY123

2008-02-12 16:18:37 0x00001024 INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 16:18:03): PID 3760 on computer VIJAY123

2008-02-12 16:18:37 0x00001024 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "-d"

2008-02-12 16:18:47 0x00001024 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmdrop"

2008-02-12 16:18:56 0x00001024 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "maxdb2"

2008-02-12 16:19:10 0x00001024 INF 226 DBMSrv DBM Server client disconnected: PID 3760 on computer VIJAY123

dbmcli db_enum

OK

MAXDB2 D:\Program_Files\SDB\programs\DatabaseStudio\utilities 7.7.03.23 fast running

dbmcli inst_enum

OK

xinstinfo MAXDB2

IndepData : D:\MAXDB_DATA

IndepPrograms : D:\Program_Files\SDB\programs

InstallationPath : D:\Program_Files\SDB\programs\DatabaseStudio\utilities

Kernelversion : KERNEL 7.7.03 BUILD 023-123-174-368

Rundirectory : D:\MAXDB_DATA\wrk\MAXDB2

sdbregview -l

Server Utilities d:/program_files/sdb/programs 7.7.03.23 32 bit valid

Database Studio Utilities d:/program_files/sdb/programs/databasestudio/utilities 7.7.03.23 valid

Database Studio d:/program_files/sdb/programs 7.7.03.23 valid

Base d:/program_files/sdb/programs 7.7.03.23 32 bit valid

After renaming the files accordingly

D:\Program_Files\SDB\programs\DatabaseStudio\utilities\pgm>dbmdrop maxdb2

The MaxDB Database Dropper, Version 7.7.03.23

Copyright 2000-2008 by SAP AG

ERR

-24960,ERR_DBRUN: Database instance is running

Error: Error while calling dbmcli

"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u , db_drop

D:\Program_Files\SDB\programs\DatabaseStudio\utilities\pgm>"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u DBADMIN,abcd db_drop

ERR

-24960,ERR_DBRUN: Database instance is running

former_member229109
Active Contributor
0 Kudos

Hello Vijay,

-> I wrote you last time:

"-> If the MAXDB2 is offline, please check if you have the shared memory

files MAXDB2.dbm.shi & MAXDB2.dbm.shm in D:\MAXDB_DATA\wrk.

Please rename them to MAXDB2.dbm.shi.old & MAXDB2.dbm.shm.old,

try to drop the MAXDB2 after that with command

d:/program_files/sdb/programs/databasestudio/utilities/pgm/dbmdrop MAXDB2"

And in your case the database is running.

"dbmcli db_enum

OK

MAXDB2 D:\Program_Files\SDB\programs\DatabaseStudio\utilities 7.7.03.23 fast running

"

==> Please run first::

"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u <dbm-user>,<pwd> db_state

"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u <dbm-user>,<pwd> db_offline

"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u <dbm-user>,<pwd> db_state

-> After the database will be in 'offline', you should be able to drop the database.

-> For the new coming database issues please create the new thread.

I see, that you already closed this one.

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

Thanks a lot .

-Vijay

Former Member
0 Kudos

Hi,

I would also like to drop databases where I have forgotten the user / password.

However I do not have the program: dbmdrop in the pgm directory

there is stop.exe and dbmstop.exe

and I have run these.

Can you help please. Thanks

Stuart

former_member229109
Active Contributor
0 Kudos

Hello Stuart Bromley,

this thread already closed. Please create the new thread for your problem.

Thank you and best regards, Natalia Khlopina

Answers (0)