Re: [Clamav-users] Can't get clamav-milter going
On Mon, 26 Apr 2004 11:48:15 -0400, George Bell <[EMAIL PROTECTED]> wrote: >I had clamav antivirus working fine for a couple months. Now after a >reboot I can't it started to save my neck. After starting the clamd >deamon, which creates "/var/run/clamav/clamd.sock, and starting >clamav-milter, clamav-milter exits with following error message: > >ClamAv: Unable to bind to port local:/var/run/clamav/clamd.sock: Address >already in use. > >In use by possibly what? I haven't any idea what this message means or >what I can do about it. I've tried increasing the debug level but this >is about as much information as I can get. Also, I have tried going >through the archive of this list and found exactly the same question but >there was no answer. > Try deleting the .sock file and restarting clamd. Maybe there's an old .sock file left over from before the reboot. -- Steve --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Can't get clamav-milter going
George Bell wrote: Xclmilter, S=local:/var/run/clmilter.sock, F=, T=S:4m;R:4m I hope you are using the sendmail.mc method of sendmail configuration instead of hand hacking the sendmail.cf, but thats not actualy relevant... With sendmail stopped, I start clamd(which creates /var/run/clamav/clamd.sock as before), then clamav-milter this time as "clamav-milter -options local:/var/run/clmilter.sock" Now I get error: ClamAv: Unable to bind to port local:/var/run/clmilter.sock: Permission Denied ClamAv: Unable to create listening socket on conn local:/var/run/clmilter.sock the clamav-milter program will try to run as clamav user under typical install. Odds are that ls -la /var/run /var/run/clmilter.sock will show you a permissions conundrum. My recommendation? Switch the sendmail/clamav-milter sock to point to /var/run/clamav/clamav-milter.sock I'm entering all these commands as root. If sendmail is already running it issues a warning that /var/run/clmilter.sock is missing. If I then try again to start clmilter again the above error repeats. So ??? Thanks George Joe Maimon wrote: George Bell wrote: I had clamav antivirus working fine for a couple months. Now after a reboot I can't it started to save my neck. After starting the clamd deamon, which creates "/var/run/clamav/clamd.sock, and starting clamav-milter, clamav-milter exits with following error message: ClamAv: Unable to bind to port local:/var/run/clamav/clamd.sock: Address already in use. The socket you start the clamav-milter process as an argument is used for communicating with sendmail depending on your clamd /etc/clamav.conf configuration, clamav-milter will connect to clamd using ANOTHER socket. If you specified the milter to use the same socket as clamd, the above is what will happen. Try stopping clamd, stopping clamav-milter. Check the socket paths in the /etc/sysconfig/clamav-milter and the arguments passed to clamav-milter (possibly in the init.d script). It should be the same as what you have in your sendmail.mc/sendmail.cf file. Check the socket path that clamd uses (clamav.conf). It should be DIFFERENT than above. If files exist there remove them.(use your judgement here) --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Can't get clamav-milter going
I've uncommented "FixStaleSocket" in clamav.conf but it didn't solve my problem. George Nigel Horne wrote: ClamAv: Unable to bind to port local:/var/run/clamav/clamd.sock: Address already in use. Do you have FixStaleSocket enabled in clamav.conf? Thanks, George --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
RE: [Clamav-users] Can't get clamav-milter going
> ClamAv: Unable to bind to port local:/var/run/clamav/clamd.sock: Address > already in use. Do you have FixStaleSocket enabled in clamav.conf? > Thanks, > George --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Can't get clamav-milter going
George Bell wrote: I had clamav antivirus working fine for a couple months. Now after a reboot I can't it started to save my neck. After starting the clamd deamon, which creates "/var/run/clamav/clamd.sock, and starting clamav-milter, clamav-milter exits with following error message: ClamAv: Unable to bind to port local:/var/run/clamav/clamd.sock: Address already in use. The socket you start the clamav-milter process as an argument is used for communicating with sendmail depending on your clamd /etc/clamav.conf configuration, clamav-milter will connect to clamd using ANOTHER socket. If you specified the milter to use the same socket as clamd, the above is what will happen. Try stopping clamd, stopping clamav-milter. Check the socket paths in the /etc/sysconfig/clamav-milter and the arguments passed to clamav-milter (possibly in the init.d script). It should be the same as what you have in your sendmail.mc/sendmail.cf file. Check the socket path that clamd uses (clamav.conf). It should be DIFFERENT than above. If files exist there remove them.(use your judgement here) --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] Can't get clamav-milter going
I had clamav antivirus working fine for a couple months. Now after a reboot I can't it started to save my neck. After starting the clamd deamon, which creates "/var/run/clamav/clamd.sock, and starting clamav-milter, clamav-milter exits with following error message: ClamAv: Unable to bind to port local:/var/run/clamav/clamd.sock: Address already in use. In use by possibly what? I haven't any idea what this message means or what I can do about it. I've tried increasing the debug level but this is about as much information as I can get. Also, I have tried going through the archive of this list and found exactly the same question but there was no answer. Please help !! Thanks, George --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users