Git Product home page Git Product logo

Comments (9)

tstaerk avatar tstaerk commented on August 16, 2024

I was now able to document the full error message, it is 143 pages long and gravitates around

|NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_HDB_DB|ind|ind|ind|ind|nw_hdb_db|0|replicateSchemaPasswordsForExistingDatabase was executed with status ERROR (Last error reported by the step: The name SAPHANADB for user SAPSID is not unique. It is already used for user DBACOCKPIT.
SOLUTION: Choose a different username. ).", "", "INFO 2022-05-25 10:08:31.474 (root/sapinst) (startInstallation)

from sap-deployment-automation.

balaguduru avatar balaguduru commented on August 16, 2024

@tstaerk . Thank you for posting the issue. I was able to replicate the issue. Currently working on a resolution and will push the fix for it soon.

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

you made my day by saying you can reproduce, thanks!

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

I could reproduce the issue on sapinst level today. I called sapinst as root like this:

pas-dev:/sapmnt/Software/SWPM1.0 # ./sapinst SAPINST_INPUT_PARAMETERS_URL=/usr/sap/inifile_db_hdb.params SAPINST_EXECUTE_PRODUCT_ID=NW_ABAP_DB:NW750.HDB.ABAP SAPINST_SKIP_DIALOGS=true SAPINST_START_GUISERVER=false

Then the error message is very short:

ERROR 2023-03-29 06:51:22.692 (root/sapinst) (startInstallation) [iaxxbjsmod.cpp:83] id=nw.usernameNotUnique errno=CJS-30207

The name SAPHANADB2 for user SAPSID is not unique. It is already used for user DBACOCKPIT.
SOLUTION: Choose a different username.

ERROR 2023-03-29 06:51:22.909 (root/sapinst) (startInstallation) [CSiStepExecute.cpp:1102] id=controller.stepExecuted errno=FCO-00011 CSiStepExecute::execute()
The step replicateSchemaPasswordsForExistingDatabase with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_HDB_DB|ind|ind|ind|ind|nw_hdb_db|0|replicateSchemaPasswordsForExistingDatabase was executed with status ERROR (Last error reported by the step: The name SAPHANADB2 for user SAPSID is not unique. It is already used for user DBACOCKPIT.
SOLUTION: Choose a different username. ).

I tried modifying the file /usr/sap/inifile_db_hdb.params, changed SAPHANADB to SAPHANADB2 as you can see from the error message.

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

Maybe the solution is not to set a different user name, but a different password. I could be that the password I am trying to use does not follow the password policy, hence the error message.

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

I un-commented
hdb.create.dbacockpit.user = false
in /usr/sap/inifile_db_hdb.params and the error disappears and the sidadm gets created

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

I found a potential fix, to un-comment
hdb.create.dbacockpit.user = false
in ansible/roles/sapinst/templates/inifile_db_hdb.params.j2

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

created pull request #95

from sap-deployment-automation.

tstaerk avatar tstaerk commented on August 16, 2024

@tstaerk . Thank you for posting the issue. I was able to replicate the issue. Currently working on a resolution and will push the fix for it soon.

Here is the fix: #95

from sap-deployment-automation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.