ClamAV-clamd av-scanner FAILED: CODE(0x2286dd0)

While working today on setting Amavisd-new,Clamav and spamassasin in Ubuntu 12.04 LTS,I got the below given error. Jul 23 12:20:47 mail postfix/qmgr[18020]: 0D1AF61F95: from=, size=739, nrcpt=1 (queue active) Jul 23 12:20:48 mail amavis[18032]: (18032-02) (!)run_av (ClamAV-clamd) FAILED – unexpected , output=”/var/lib/amavis/tmp/amavis-20130723T122047-18032-utKqe6rf/parts: lstat() failed: Permission denied. ERRORn” Jul 23 12:20:48 mail amavis[18032]: (18032-02) (!)ClamAV-clamd av-scanner FAILED: … Read more