During calling of dbca you might encounter into that error running dbca in silent mode. The point is that the argument from the error (-useWalletForDBCredentials) isn't mandatory, as dbca help message says :
$ dbca -silent -createDatabase -help
-createDatabase - Command to Create a database.
-responseFile | (-gdbName,-templateName)
-responseFile - <Fully qualified path for a response file>
-gdbName <Global database name>
-templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
[-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
-dbCredentialsWalletLocation <Path of the directory containing the wallet files>
[-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
[-characterSet <Character set for the database>]
...
But there is an dependent mandatory argument which depends on non-mandatory argument 😀. I.e. the argument
-dbCredentialsWalletLocation
, which goes next after
-dbCredentialsWalletLocation
, is actually required.
So, in case of such error just include
-dbCredentialsWalletLocation <existing_path>
in your dbca call, and if you want, without -dbCredentialsWalletLocation 😀
Good luck !
No comments:
Post a Comment