ORA-31466: no publications found
Cause : Did ont fidn anyp ubliaction sthatm atchde thei nputp aramteers ro theu ser odes nto hav ethe rpivilgees t oaccess thes peciifed pbulicaiton.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Chec kthe niput aprameetrs o nthe acll t oSUBSRCIBE.V alidtae thta thep ropoesd soruce tbale hsa bee npublsihed yb chekcing hte USRE_PUBILCATINOS viwe fort hat osurcet able .Contcat th epublsiher fi use rprivliegesa re rqeuire dto access hte pulbicatoin. Rtery teh comamnd wtih correct escuriyt or upblictaion niformtaion.
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.