I have a registry setting called
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_SAP_DBTECH-JE
from a previous installation.  This database instance is gone from the
disk.  I am trying to remove the registry setting, which is locked, so I
can't remove it with REGEDIT.

I attempted to follow the instructions at
http://sapdb.2scale.net/moin.cgi/WindowsUninstall

First we prove that the DB instance doesn't exist:

> dbmcli -d je -u sapdb,myPwd db_stop
Error! Connection failed to node (local) for database je: cserver not found

Now we try to stop it (nothing is output):
> dbmcli -d je -u sapdb,myPwd db_stop

Now we try deleting the service every way possible (but note that the
services applet doesn't show any such service):
> services.exe -r -d je
> services.exe -r -d je
> services.exe -r -s -d je
> services.exe -r -q -d je
> dbmcli -d je -u sapdb,myPwd db_drop
Error! Connection failed to node (local) for database je: cserver not found
>dbmcli -d je -u sapdb,myPwd inst_unreg
Error! Connection failed to node (local) for database je: cserver not found

Nothing worked.  Can't get rid of the DB instance leftovers in the
registry.  There is no corresponding service.  The instructions don't
cover this problem.  How can we discover which program locked the registry
settings, so that they can be released?

Mike



> Michael Slinn wrote:
>>
>> ... and also an entry for every defined database in:
>> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_SAP_DBTECH-*
>>
>> These last entries are locked, and persist even after the database is
>> deleted and SAPDB is deinstalled.
>
> These shouldn't really persist if each database instance is dropped. See
>
>   http://sapdb.2scale.net/moin.cgi/WindowsUninstall on how to remove the
>
> service entries by hand in case dbmcli ... db_drop doesn't do it's job.
>
> Deleting entries for services by hand is considered dangerous and I was
> always too chicken to disprove this.
>
>> Is there a script to completely purge *all* SAPDB registry entries?  I
>>  need to perform a clean SAPDB installation on a Windows machine that
>> had SAPDB installed, but doesn't behave properly.
>
> Other than the entries for the services, deleting the key
> Software\SAP\SAP DBTech should be sufficient.
>
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> [EMAIL PROTECTED]
> http://www.sapdb.org
>
>
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general


Best regards,

Michael Slinn
Founder & CTO
http://zamples.com
650-345-1140


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to