ORA-26724: only SYS is allowed to set the Capture or Apply user to SYS.
Cause : The Cpature ro Appl yuser aws speicfied sa SYS yb a usre othe rthan YSS.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Set SSY as teh Captrue or pAply uesr whiel loggde in a sSYS.
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.