Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mistake createDatabase command #14041

Closed
LisandroSu opened this issue Aug 27, 2018 · 7 comments
Closed

mistake createDatabase command #14041

LisandroSu opened this issue Aug 27, 2018 · 7 comments

Comments

@LisandroSu
Copy link

@LisandroSu LisandroSu commented Aug 27, 2018

@GitHub30 commented on Mon Aug 27 2018

I got below error.
[INS-04008] Invalid combination of arguments passed from command line. One or more mandatory dependent arguments are not passed for the argument: -storageType
I run this.
dbca -silent
-createDatabase
-templateName General_Purpose.dbc
-gdbname cdb1
-sid cdb1
-responseFile NO_VALUE
-characterSet AL32UTF8
-sysPassword OraPasswd1
-systemPassword OraPasswd1
-createAsContainerDatabase true
-numberOfPDBs 1
-pdbName pdb1
-pdbAdminPassword OraPasswd1
-databaseType MULTIPURPOSE
-automaticMemoryManagement false
-storageType FS
-ignorePreReqs


ドキュメントの詳細

このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

@LisandroSu

This comment has been minimized.

Copy link
Author

@LisandroSu LisandroSu commented Aug 27, 2018

Hi team,

Can you check on this issue reported by the user?

Thanks

@mimckitt

This comment has been minimized.

Copy link
Contributor

@mimckitt mimckitt commented Aug 27, 2018

Thanks for the feedback! We are currently investigating and will update you shortly.

@mimckitt

This comment has been minimized.

Copy link
Contributor

@mimckitt mimckitt commented Aug 27, 2018

@GitHub30 I ran through the doc but did not see any errors. What command are you running that is producing this error?

@mimckitt

This comment has been minimized.

Copy link
Contributor

@mimckitt mimckitt commented Aug 28, 2018

@GitHub30 please see my above comment. I will close for now but when ready let me know and we can reopen and continue.

@mimckitt mimckitt closed this Aug 28, 2018

This comment has been minimized.

Copy link

@sujansunil sujansunil commented Sep 24, 2018 — with docs.microsoft.com

Step 2 :
Create the database:

When you run command given in document i get below error

[INS-04008] Invalid combination of arguments passed from command line. One or more mandatory dependent arguments are not passed for the argument: -storageType
-createDatabase - Command to Create a database.
-responseFile | (-gdbName,-templateName)
-responseFile -
-gdbName
-templateName
[-characterSet ]
[-createAsContainerDatabase <true | false>]
[-numberOfPDBs <Number of pluggable databases to be created, default is 0>]
[-pdbAdminPassword <PDB Administrator user Password, required only while creating new PDB>]
[-pdbName ]
[-pdbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]
[-pdbStorageMAXSizeInMB ]
[-pdbStorageMAXTempSizeInMB ]
[-useLocalUndoForPDBs <true | false> Specify false to disable local undo tablespace for PDBs.]
[-createListener <Create a new listener to register your database. Specify in format, LISTENER_NAME:PORT>]
[-customScripts ]
[-databaseConfigType <SINGLE | RAC | RACONENODE>]
[-RACOneNodeServiceName ]
[-databaseType <MULTIPURPOSE | DATA_WAREHOUSING | OLTP>]
[-datafileDestination ]
[-datafileJarLocation ]
[-dbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]
[-dvConfiguration <true | false> Specify true to configure and enable database vault.]
-dvUserName
-dvUserPassword
[-dvAccountManagerName ]
[-dvAccountManagerPassword ]
[-emConfiguration <DBEXPRESS | CENTRAL | BOTH | NONE>]
[-dbsnmpPassword ]
[-emExpressPort ]
[-emPassword ]
[-emUser ]
[-omsHost ]
[-omsPort ]
[-enableArchive <true | false> Specify true to enable archive>]
[-archiveLogDest <Specify archive log destinations separated by comma. If archive log destination is not specified, fast recovery area location will be used for archive log files.>]
[-archiveLogMode <AUTO|MANUAL , the default is Automatic archiving>]
[-initParams ]
[-initParamsEscapeChar ]
[-listeners
]
[-memoryMgmtType <AUTO|AUTO_SGA|CUSTOM_SGA>]
[-memoryPercentage | -totalMemory]
[-memoryPercentage ]
[-totalMemory ]
[-nationalCharacterSet ]
[-nodelist ]
[-olsConfiguration <true | false> Specify true to configure and enable Oracle Label Security.]
[-configureWithOID This flag configures Oracle Label Security with OID.]
[-oracleHomeUserName ]
[-oracleHomeUserPassword ]
[-policyManaged | -adminManaged]
[-policyManaged <Policy managed database, default option is Admin managed database>]
-serverPoolName
[-createServerPool <Create a new server pool, which will be used by the database>]
[-cardinality <Specify the cardinality of the new server pool that is to be created, default is the number of qualified nodes>]
[-force ]
[-pqCardinality ]
[-pqPoolName ]
[-pqPoolName ]
[-adminManaged <Admin managed database, this is default option>]
[-recoveryAreaDestination <Destination directory for all recovery files. Specify "NONE" for disabling Fast Recovery Area>]
[-recoveryAreaSize ]
[-redoLogFileSize ]
[-registerWithDirService <true | false>]
-dirServiceUserName
[-databaseCN ]
[-dirServicePassword ]
[-walletPassword ]
[-runCVUChecks <Specify "true" in order to run Cluster Verification Utility checks periodically for RAC databases.>]
[-sampleSchema <true | false>]
[-sid ]
[-storageType < FS | ASM >]
-datafileDestination
[-asmsnmpPassword ]
[-sysPassword ]
[-systemPassword ]
[-useOMF <true | false> Specify true to use Oracle-Managed Files.]
[-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
-dbCredentialsWalletLocation
[-dbCredentialsWalletPassword ]
[-variables ]
[-variablesFile ]

This comment has been minimized.

Copy link

@rahulc-git rahulc-git commented Feb 7, 2019 — with docs.microsoft.com

-datafileDestination is missing in createdatabase command. create a directory (say /u01/data) or use any existing directory.

see the working command below (look at the bottom for change.)

dbca -silent
-createDatabase
-templateName General_Purpose.dbc
-gdbname cdb1
-sid cdb1
-responseFile NO_VALUE
-characterSet AL32UTF8
-sysPassword OraPasswd1
-systemPassword OraPasswd1
-createAsContainerDatabase true
-numberOfPDBs 1
-pdbName pdb1
-pdbAdminPassword OraPasswd1
-databaseType MULTIPURPOSE
-automaticMemoryManagement false
-storageType FS
-ignorePreReqs
-datafileDestination /u01/data

This comment has been minimized.

Copy link

@rs38 rs38 commented Mar 19, 2019 — with docs.microsoft.com

same here: only with the the option `-datafileDestination /u01/data´ it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.