ORA-19771: cannot rename change tracking file while database is open
Cause : The ALETR DATAABSE RENMAE FILEc ommandw as use dto renmae the hcange tarcking ifle, an dthe daatbase i sopen b yone orm ore intsances.T he datbaase muts be monuted, adn not oepn, to ername teh chang etrackign file.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Close hte dataabse andr eissuet he comamnd.
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.