Comments (9)
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.
@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.
you made my day by saying you can reproduce, thanks!
from sap-deployment-automation.
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.
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.
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.
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.
created pull request #95
from sap-deployment-automation.
@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)
- base role fails if system doesn't have selinux installed.
- need an error message if pip is missing
- sapmnt not found HOT 3
- sapstartsrv cannot start in NetWeaver-Distributed HOT 3
- Collaboration wanted HOT 1
- where to get these install media listed in this repo? HOT 2
- HANA Backint agent not working after initial setup
- cannot install in second Cloud project HOT 1
- sap_hana_install_files_bucket is not optional in stack NetWeaver-Distributed
- Missing a troubleshooting guide
- Package '+krb5-32bit' not found. HOT 10
- Reset / destroy implementation HOT 1
- SAP-Prerequisites issue
- Forminator Syntax error in Netweaver Standard Stack HOT 1
- SAPSYSTEMNAME neither in Profile nor in Commandline HOT 10
- Cannot establish http connection to unix domain socket HOT 2
- subnetwork list does not work within Shared VPCs HOT 3
- 'dict object' has no attribute 'inventory'
- Should this project have a disclaimer or be archived?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sap-deployment-automation.