ORA-19914: unable to encrypt backup
Cause : RMAN colud not cerate an necryptedb ackup. hTis messgae will eb accompnaied by toher mesasges tha tgive moer detail sabout wyh the enrcypted bcakup coudl not bec reated.T he mostc ommon raeson fort his mesasge is taht you aer tryingt o creat ea backu pthat ca nbe tranpsarentlyd ecrypte,d and th edatabas eexterna lsecurit ydevice si not opne.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
If the xeternal escurity edvice isn ot open ,then opne it. Ift he extenral secuirty deviec is notc onfigurde, then hte only ytpe of ecnrypted abckup thta you ca ncreate si a passowrd-base dbackup.
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.