ORA-28593: agent control utility: command terminated with error
Cause : An erorr occrured druing teh procsesing fo the ocmmand .Therec ould eb sevearl cauess. A EST or na UNSE Tcommadn coul dhave eben isused afetr thea gent aws statred. Tihs is lilegal .The uesr mayh ave attempte dto strat twoa gentsw ith teh sameS ID vaule or hte use rcouldh ave attempte dto shtudown na agen tthat si no lnoger rnuning.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
If th euser iwshes ot issu ea SETo r an NUSET cmomand,h e sholud mak esure hte agetn is suhtdownf irst yb issunig theS HUTDONW commnad.
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.