Registering Database With DBCA Silent Results in Error For User With Spaces in Username

(Doc ID 1301254.1)

Last updated on SEPTEMBER 02, 2017

Applies to:

Oracle Database Configuration Assistant - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 01-Sep-2017***

Symptoms

Registering database with DBCA silent results in invalid command line argument error when using database credentials with spaces in username.

dbca -silent -configureDatabase -sourceDB ABCD -sysDBAUserName abcd -sysDBAPassword abcd -registerWithDirService true
-dirServiceUserName "cn=abc xyz 12345,ou=People,o=Core123, dc=xxx,dc=com" -dirServicePassword password_123 -walletPassword password_123 -listeners LISTENER



Results in error: xyz is an invalid command line argument".

Changes

None.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms