ORA-09923: Can't spawn process - user log directory not created properly
Cause : ORACLE was unable to spawn a background process because the directory that holds the trace files of the dedicated server processes was not created properly.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Examine the directory pointed to by the initialization parameter "user_dump_dest". Make sure that all of the following is true: 1. The directory exists. 2. The name indeed points to a directory, and is not a file. 3. The directory is accessible and writable to the ORACLE user.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.