Hi Reindl Harald Yes, I usually verify after running any command. So yes verified the process is properly killed. I even rebooted it couple time. Even after a clean reboot, the output of clamd status gives the same error. What is the output of your clamd status? Can you share it please?
Thanks Kishore -------- Am 15.05.2017 um 23:53 schrieb Kishore Pawar: >* Yes, I see the clamd process. I tried to kill and restart it many times, *>* but when I run the 'clamd status' I get the same error about the socket *>* file. Earlier when I was running the older version, I used to see the *>* complete details about the clamd status including the version number I was * >* running and what the latest status of that clamd. Now I just get the error *>* which I am not sure if it is giving me the right output * and did you verify that after kill the process is really gone? maybe it needs a "kill -s SIGKILL" instead a SIGTERM for whatever reason but that's all hard to say since you don't provide much informations without beeing explicit asked On Mon, May 15, 2017 at 5:18 PM, Kishore Pawar <mkpa...@gmail.com> wrote: > Btw, can you please share your output of the command 'clamd status'? > > Thanks > Kishore > > On Mon, May 15, 2017 at 4:53 PM, Kishore Pawar <mkpa...@gmail.com> wrote: > >> Yes, I see the clamd process. I tried to kill and restart it many times, >> but when I run the 'clamd status' I get the same error about the socket >> file. Earlier when I was running the older version, I used to see the >> complete details about the clamd status including the version number I was >> running and what the latest status of that clamd. Now I just get the error >> which I am not sure if it is giving me the right output. >> >> On Mon, May 15, 2017 at 4:22 PM, Kishore Pawar <mkpa...@gmail.com> wrote: >> >>> Thanks Steve. Here's the output of lsof. >>> >>> # clamd status >>> ERROR: LOCAL: Socket file /var/run/clamav/clamd.socket is in use by >>> another process. >>> >>> # lsof | grep clamd.socket >>> clamd 6776 clamav 5u unix 0xc000000003692480 >>> 0t0 72993 /var/run/clamav/clamd.socket >>> >>> # ps -ef | grep 6776 >>> clamav 6776 1 0 15:57 ? 00:00:00 clamd >>> root 6889 2739 0 16:20 pts/1 00:00:00 grep 6776 >>> >>> Thanks >>> Kishore >>> >>> On Mon, May 15, 2017 at 12:29 PM, Kishore Pawar <mkpa...@gmail.com> >>> wrote: >>> >>>> Thanks Steve. Yes, I tried removing them and kill the running clamd >>>> process and start it again but still the clamd status doesn't show anything >>>> other than the error. >>>> >>>> # clamd status >>>> ERROR: LOCAL: Socket file /var/run/clamav/clamd.socket is in use by >>>> another process. >>>> >>>> ---- >>>> >>>> There is probably another clamd running. If not, try deleting >>>> /var/run/clamav/clamd.socket. >>>> >>>> Steve >>>> >>>> On Mon, May 15, 2017 at 11:58 AM, 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