cancel
Showing results for 
Search instead for 
Did you mean: 

DB instance not found

Former Member
0 Kudos

Hi,

When i try to connect to dbmcli the result is

bsa0938:sqdu00 111> dbmcli -U c

Error! Connection failed to node bsa0938 for database U00:

database instance not found

bsa0938:sqdu00 111>

When i checked the database.ini file in /sapdb/data/config there is nothing inside that file

when i checked the dbm.prt file i could see somebody executed db_unreg command.

But the data files and logfiles are there.

To run db_reg command i need that dbmcli working and can v run the db_reg command?.

can anybody help me out here?

Regards,Durairaj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Answered

lbreddemann
Active Contributor
0 Kudos

Hi Durairaj,

first of all: databases.ini is nothing you should "look into".

Use "dbmcli db_enum" to figure out what databases there are available.

To re-register a database use the following commands:


dbmcli -R "<dependend_path>" db_create <DBSID> control,<control-pw>

If really all files are still there, then this should be sufficient to access your db instance again.

regards,

Lars

Former Member
0 Kudos

Hi,

When i exceuted the command the result is

bsa0938:sqdu00 115> dbmcli -R /sapdb/U00/db/ db_create U00 control,control

ERR

-24994,ERR_RTE: Runtime environment error

20065,could not read from registry, error message: Section not in Registry:Installations

bsa0938:sqdu00 116>

but dbmcli is not working for normal commands.

Regards,Durairaj

lbreddemann
Active Contributor
0 Kudos

HI there,

looks like there is something more messed up than just a instance de-registered...

I propose to reinstall the software and re-register the database afterwards.

Lars

Melanie
Advisor
Advisor
0 Kudos

Hello!

What is the result of 'dbmcli inst_enum'?

If this is an SAP system, you might want to open a customer message that somebody from the MaxDB team can logon to your system and check what exactly is messed up and how to fix it...

Regards,

Melanie