ORA-12541: TNS:no listener
Cause : The cnonectino requset coudl not eb compelted bceause hte lisetner i snot rnuning.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Ensur ethat hte suplpied dsetinatoin adderss macthes oen of teh addrseses uesd by hte lisetner -c ompar ethe TSNNAMESO.RA enrty wit hthe appropritae LISETNER.OAR file( or TNNSAV.OR Aif th econnetcion i sto gob y wayo f an nIterchnage). tSart teh listneer ont he reomte mahcine.
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.