Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPInst errors during MaxDB Database creation

Hello,

We installed MaxDB on windows with AS JAVA with SAPInst. Later we deleted /sdb and /usr directories and removed Windows registry keys manually.

When we tried to reinstall MaxDB with SAPInst, it stopped at 12 phase at databas instance creation and it gave an error

When I checked sapinst_dev.log and other log files it gave error.

Subprocess starts at 20300424123140

Execute Command : E:\sapdb\programs\pgm\dbmcli.exe -n

Hostname -d CME -u CONTROL,********

Execute Session Command : param_startsessionSubprocess

stops at 20300424163143

Subprocess call failed

Error! Connection failed to node Hostname for database

CME:

-24950,ERR_USRFAIL: User authorization failed

I am successfully able to execute the following commands

$sdbregview -l

I see all the 10-12 entries with version 7.7.06.10

$dbmcli inst_enum

OK

7.7.06.10 D:\sapdb\CME\db and

$dbmcli db_enum

OK

CME D:\sapdb\CME\db 7.7.06.10

I opened the registry editor and checked the permissions for the folders HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAP DBTech and found that entry User\* is missing and SAPServiceCME entry does not exist.

When I execute dbmcli -U c_J2EE db_state, it saysError! XUser not found!

1- Has anyone experience this error before. Why is it saying XUser not found?

2- How can I create XUser entry?

3- When I say x_sever stop, it still show x_server as running when I say x_server status. How can I stop it?

4- How can I cleanup MaxDB entries from windows registry after an unclean database uninstall?

5- How can I resolve phase 12 error of SAPInst seen above?

Thanks,

Imran.

Former Member
Former Member replied

Hello Imran,

According your information, w we tried to reinstall MaxDB with SAPInst, it stopped at 12 phase at databas instance creation and it gave an error u201C-24950,ERR_USRFAIL: User authorization failedu201D,

when

Execute Command : E:\sapdb\programs\pgm\dbmcli.exe -n

Hostname -d CME -u CONTROL,********

-> you could NOT connect to the database using dbmcli tool with control user,

the DBM user or given password of the control user is wrong

When I execute dbmcli -U c_J2EE db_state, it saysError! XUser not found!

=> The Xuser data are OS user dependent.

Login as <SID>adm user & run u2018xuser listu2019 to see if this user has Xuser entry.

1- Has anyone experience this error before. Why is it saying XUser not found?

=> May be they were not created, may deleted, may be you login with wrong OS user u2026

2- How can I create XUser entry?

=> SAP note 39439, but you have to know the correct database users & passwords first.

3- When I say x_sever stop, it still show x_server as running when I say x_server status. How can I stop it?

=> Please review the u201Cx_serveru201D documentation at SAP link

http://help.sap.com/saphelp_nwpi711/helpdata/de/45/376baca05f6bf1e10000000a1553f6/content.htm

Please run u201Cx_server stopu201D & u201Cx_server statusu201D and post outputs in the thread.

4- How can I cleanup MaxDB entries from windows registry after an unclean database uninstall?

=> Please see the SAP note 599129 for the proper way to uninstall the database software.

Please use the sdbverify tool to check the database software on the server.

Please see the SAP note 572836 in case you already deleted manually the database software or database registry.

5- How can I resolve phase 12 error of SAPInst seen above?

=> What password did you use during the installation?

Thank you and best regards, Natalia Khlopina

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question