There is probably another clamd running. If not, try deleting /var/run/clamav/clamd.socket.
Steve On Mon, May 15, 2017 at 12:58 PM, Kishore Pawar <mkpa...@gmail.com> wrote: > Hi Steve > > Thank you very much for the reply and your suggestion. I rebuild it with > the options (--enable-llvm=no) provided by you and it seems to be ok now. > But now I am unable to stop/start the clamd and am not able to get the > status of clamd. > > > # clamd status > ERROR: LOCAL: Socket file /var/run/clamav/clamd.socket is in use by another > process. > > # ls -lrt /var/run/clamav/ > total 12 > srw-rw-rw-. 1 clamav clamav 0 May 15 11:29 clamd.socket > -rw-rw-r--. 1 clamav clamav 5 May 15 11:29 clamd.pid > -rw-rw----. 1 clamav clamav 5 May 15 11:29 freshclam.pid > srw-r--r--. 1 clamav root 0 May 15 11:46 clamav-milter.socket > -rw-rw-r--. 1 clamav clamav 5 May 15 11:46 clamav-milter.pid > > I observed that the 'clamav-milter.socket' is started by root and not > clamav user. I am not sure if that's how it is supposed to be. If it needs > to be started by clamav, where should I do the changes? > > Thanks > Kishore > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml