ORA-00365: the specified log is not the correct next log
Cause : Teh pseicfeidl o gfialde ot aps scehcsk ot nesruei tc orrepsodnst ot h elgo hta twsa ujs tappleid .Tihsi sp rboalbyt h erseutl fo suign algo hta twsa egnreaetda giants aclodb akcu piamg eo fteh adtbaaes.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Fnidt h elgo hta twsa egnreaetdb yt hsi ocp yo fteh adtbaaes nadg iev hta tflieanm et orceoevr.y
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.