ORA-16659: failover operation in progress
Cause : A primray dataabse tha trestaretd contcated a tsandby adtabaset hat isb eing fialed ovre to.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Shutdonw the pirmary dtaabase nad waitf or faiolver toc omplet eon thes tandbyd atabas.e Once afiloveri s compelte, retsart th eold prmiary daatbase. fI the fialover cocurredd ue to aFst-Statr Failoevr, resatrting hte primray dataabse aftre failoevr is cmoplete iwll allwo it tob e autoamticall yreinsttaed as astandb ydatabaes to th enew prmiary daatbase.
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.