Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
On 02/19/2014 09:53 PM, Jobst Schmalenbach wrote: On Wed, Feb 19, 2014 at 09:20:05PM -0600, Johnny Hughes (joh...@centos.org) wrote: On 02/19/2014 08:29 PM, Jobst Schmalenbach wrote: Hi. I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # Yes, repoforge needs to build the new version if clamav (version 0.98.1) instead of 0.98. But according to the RPM numbers (see above) it already did ... this is why it is so confusing. Jobst No, they didn't ... they built 0.98-2 ... that is their 2nd build of 0.98 If they built the new version it would be: 0.98.1-1 or 0.98.1-2 ... not 0.98-2 signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
Hi. I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # [root /tmp] #su clamav -c /usr/bin/freshclam ClamAV update process started at Thu Feb 20 12:37:52 2014 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.98 Recommended version: 0.98.1 DON'T PANIC! Read http://www.clamav.net/support/faq I have checked the following: - all configuration files point to the same database directory - there is only one binary for each of the clamav things on the system - freshclam updates with no problems - clamconf report correct databases but also: Software settings - Version: 0.98 Any ideas? It has been complaining about this one for some time. Jobst -- My software never has bugs; it just develops random features. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
On 02/19/2014 08:29 PM, Jobst Schmalenbach wrote: Hi. I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # [root /tmp] #su clamav -c /usr/bin/freshclam ClamAV update process started at Thu Feb 20 12:37:52 2014 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.98 Recommended version: 0.98.1 DON'T PANIC! Read http://www.clamav.net/support/faq I have checked the following: - all configuration files point to the same database directory - there is only one binary for each of the clamav things on the system - freshclam updates with no problems - clamconf report correct databases but also: Software settings - Version: 0.98 Any ideas? It has been complaining about this one for some time. Jobst Yes, repoforge needs to build the new version if clamav (version 0.98.1) instead of 0.98. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
On Wed, Feb 19, 2014 at 09:20:05PM -0600, Johnny Hughes (joh...@centos.org) wrote: On 02/19/2014 08:29 PM, Jobst Schmalenbach wrote: Hi. I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # Yes, repoforge needs to build the new version if clamav (version 0.98.1) instead of 0.98. But according to the RPM numbers (see above) it already did ... this is why it is so confusing. Jobst ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
On Thu, 2014-02-20 at 14:53 +1100, Jobst Schmalenbach wrote: On Wed, Feb 19, 2014 at 09:20:05PM -0600, Johnny Hughes (joh...@centos.org) wrote: On 02/19/2014 08:29 PM, Jobst Schmalenbach wrote: I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # Yes, repoforge needs to build the new version if clamav (version 0.98.1) instead of 0.98. On C6 my source is EPEL from mirrors.n-ix.net clamav.x86_64 0.98.1-1.el6 @epel clamav-db.x86_64 0.98.1-1.el6 @epel On C5 its Dag/rpmforge from ftp.nluug.nl clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_640.98-2.el5.rf installed clamav-devel.x86_64 0.98-2.el5.rf installed clamav-milter.x86_640.98-2.el5.rf installed My C5 logwatch error message is WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.98 Recommended version: 0.98.1 0.98-2 suggests revision 2 of 0.98, which is therefore older than 0.98.1 Dag, can you assist ?? Thanks / Dank je wel -- Paul. England, EU. Our systems are exclusively Centos. No Micro$oft Windoze here. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
No. 0.98-2 is a patched version of 0.98. A patched version of 0.98.1 would be eg 0.98.1-3. Cheers, Cliff On Thu, Feb 20, 2014 at 4:53 PM, Jobst Schmalenbach jo...@barrett.com.auwrote: On Wed, Feb 19, 2014 at 09:20:05PM -0600, Johnny Hughes (joh...@centos.org) wrote: On 02/19/2014 08:29 PM, Jobst Schmalenbach wrote: Hi. I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # Yes, repoforge needs to build the new version if clamav (version 0.98.1) instead of 0.98. But according to the RPM numbers (see above) it already did ... this is why it is so confusing. Jobst ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
Dne 20.2.2014 05:09, Always Learning napsal(a): On C6 my source is EPEL from mirrors.n-ix.net clamav.x86_64 0.98.1-1.el6 @epel clamav-db.x86_64 0.98.1-1.el6 @epel On C5 its Dag/rpmforge from ftp.nluug.nl clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_640.98-2.el5.rf installed clamav-devel.x86_64 0.98-2.el5.rf installed clamav-milter.x86_640.98-2.el5.rf installed My C5 logwatch error message is WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.98 Recommended version: 0.98.1 0.98-2 suggests revision 2 of 0.98, which is therefore older than 0.98.1 Dag, can you assist ?? Thanks / Dank je wel Hi, We do have some troubles with our updates (RepoForge). That's why I have created repoforge updates repo, see http://lists.repoforge.org/pipermail/users/2013-September/029387.html Regards, David Hrbáč ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CLAMAV problem: Error message outdated version although yum list installed reports correct version
I should read right to the bottom, shouldn't I? Sigh! On Thu, Feb 20, 2014 at 7:54 PM, Cliff Pratt enkiduonthe...@gmail.comwrote: No. 0.98-2 is a patched version of 0.98. A patched version of 0.98.1 would be eg 0.98.1-3. Cheers, Cliff On Thu, Feb 20, 2014 at 4:53 PM, Jobst Schmalenbach jo...@barrett.com.auwrote: On Wed, Feb 19, 2014 at 09:20:05PM -0600, Johnny Hughes ( joh...@centos.org) wrote: On 02/19/2014 08:29 PM, Jobst Schmalenbach wrote: Hi. I posted this on the clamav list as well, as I do not know whether this is a rpm issue or clamav issue. Strange problem indeed: [root /tmp] #yum list installed clamav* Loaded plugins: fastestmirror Installed Packages clamav.x86_64 0.98-2.el5.rf installed clamav-db.x86_64 0.98-2.el5.rf installed clamav-milter.x86_64 0.98-2.el5.rf installed [root /tmp] # Yes, repoforge needs to build the new version if clamav (version 0.98.1) instead of 0.98. But according to the RPM numbers (see above) it already did ... this is why it is so confusing. Jobst ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV Problem
On Mon, Sep 17, 2012 at 11:52 PM, John R. Dennison j...@gerdesas.com wrote: On Mon, Sep 17, 2012 at 11:47:47PM +0530, jiten jha wrote: Thanks for reply but I have little problem to run freshclam command here we have proxy setting so I am not able to downloand or run command it is not connect to db.local.clamav.net . Is there any other way to download file 3 files. Can you please trim your replies? freshclam supports the use of a proxy. See freshclam.conf for more information. John -- Space isn't remote at all. It's only an hour's drive away if your car could go straight upwards. -- Fred Hoyle (1915-2001), British astronomer and science fiction author, Sayings of the Week, The Observer (9 September 1979) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks Friends now it is working fine. -- Thanks Regards Jitendra Jha +91-7498370550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ClamAV Problem
Dear Friends, I have postfix mail server When I try to install amavisd-new, clamAV, SpamAssassin follow this link http://wiki.centos.org/HowTos/Amavisd;. I have done all the configuration after that when I restart clamav So It is giving my this error message Stopping Clam AntiVirus Daemon:[FAILED] Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld LibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld ERROR: Malformed database [FAILED] When I send mail to any one after that i check log so it is showing me Sep 17 16:15:20 neumann dovecot: imap-login: Login: user= j...@phys.iitb.ac.in, method=PLAIN, rip=10.112.1.2, lip=10.112.1.2, secured Sep 17 16:15:20 neumann dovecot: IMAP(j...@phys.iitb.ac.in): Disconnected: Logged out bytes=146/3849 Sep 17 16:15:25 neumann dovecot: imap-login: Login: user= j...@phys.iitb.ac.in, method=PLAIN, rip=10.112.1.2, lip=10.112.1.2, secured Sep 17 16:15:25 neumann dovecot: IMAP(j...@phys.iitb.ac.in): Disconnected: Logged out bytes=296/5756 Sep 17 16:15:37 neumann postfix/qmgr[8795]: D43259FA98: from= r...@phys.iitb.ac.in, size=427, nrcpt=1 (queue active) Sep 17 16:15:37 neumann postfix/qmgr[8795]: 29DE59FAA0: from= r...@phys.iitb.ac.in, size=943, nrcpt=1 (queue active) Sep 17 16:15:37 neumann postfix/qmgr[8795]: 9FACC9FA90: from= r...@phys.iitb.ac.in, size=427, nrcpt=1 (queue active) Sep 17 16:15:38 neumann amavis[8836]: (08836-02) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: 2, retrying (2) Sep 17 16:15:38 neumann amavis[8835]: (08835-03) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: 2, retrying (2) Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.sock (Can't connect to UNIX socket /var/run/clamav/clamd.sock: No such file or directory) at (eval 100) line 375.\n Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!!)WARN: all primary virus scanners failed, considering backups Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.sock (Can't connect to UNIX socket /var/run/clamav/clamd.sock: No such file or directory) at (eval 100) line 375.\n Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!!)WARN: all primary virus scanners failed, considering backups Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output=LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld\nLibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld\nERROR: Malformed database Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output=LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld\nLibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld\nERROR: Malformed database at (eval 100) line 596. Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20120917T161537-08836 Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output=LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld\nLibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld\nERROR: Malformed database Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output=LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld\nLibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld\nERROR: Malformed database at (eval 100) line 596. Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20120917T161537-08835 Sep 17 16:15:45 neumann postfix/lmtp[8932]: 29DE59FAA0: to= j...@phys.iitb.ac.in, relay=127.0.0.1[127.0.0.1]:10024, delay=799, delays=792/0.04/0/7.2, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08835-03, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command)) Sep 17 16:15:45 neumann postfix/lmtp[8931]: D43259FA98: to= j...@phys.iitb.ac.in, relay=127.0.0.1[127.0.0.1]:10024, delay=810, delays=803/0.02/0.01/7.2, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08836-02, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command)) Sep 17 16:15:46
Re: [CentOS] ClamAV Problem
On 9/17/12 11:45 AM, jiten jha wrote: Dear Friends, I have postfix mail server When I try to install amavisd-new, clamAV, SpamAssassin follow this link http://wiki.centos.org/HowTos/Amavisd;. I have done all the configuration after that when I restart clamav So It is giving my this error message Stopping Clam AntiVirus Daemon:[FAILED] Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld LibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld ERROR: Malformed database [FAILED] When I send mail to any one after that i check log so it is showing me unable to understand why it is giving me this error . Please help me . Hi, This is not critical error, it simply means that database of clamav that contains definition information has corrupted. there are more than one way to fix it. 1.) yum remove clam clamav-db* followed by yum install clamav-db 2.) find move the following files to temp location run freshclam. daily.cvd main.cld, mirrors.dat Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV Problem
On Mon, Sep 17, 2012, Shiv. Nath wrote: On 9/17/12 11:45 AM, jiten jha wrote: Dear Friends, I have postfix mail server When I try to install amavisd-new, clamAV, SpamAssassin follow this link http://wiki.centos.org/HowTos/Amavisd;. I have done all the configuration after that when I restart clamav So It is giving my this error message Stopping Clam AntiVirus Daemon:[FAILED] Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld LibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld ERROR: Malformed database ... This is not critical error, it simply means that database of clamav that contains definition information has corrupted. there are more than one way to fix it. 1.) yum remove clam clamav-db* followed by yum install clamav-db 2.) find move the following files to temp location run freshclam. daily.cvd main.cld, mirrors.dat One should run 'freshclam' periodically to update the clamav database. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 With Congress, every time they make a joke it's a law; and every time they make a law it's a joke. -- Will Rogers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV Problem
On Mon, Sep 17, 2012 at 10:53 PM, Bill Campbell cen...@celestial.comwrote: On Mon, Sep 17, 2012, Shiv. Nath wrote: On 9/17/12 11:45 AM, jiten jha wrote: Dear Friends, I have postfix mail server When I try to install amavisd-new, clamAV, SpamAssassin follow this link http://wiki.centos.org/HowTos/Amavisd;. I have done all the configuration after that when I restart clamav So It is giving my this error message Stopping Clam AntiVirus Daemon:[FAILED] Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld LibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld ERROR: Malformed database ... This is not critical error, it simply means that database of clamav that contains definition information has corrupted. there are more than one way to fix it. 1.) yum remove clam clamav-db* followed by yum install clamav-db 2.) find move the following files to temp location run freshclam. daily.cvd main.cld, mirrors.dat One should run 'freshclam' periodically to update the clamav database. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 With Congress, every time they make a joke it's a law; and every time they make a law it's a joke. -- Will Rogers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Dear Friends, Thanks for reply but I have little problem to run freshclam command here we have proxy setting so I am not able to downloand or run command it is not connect to db.local.clamav.net . Is there any other way to download file 3 files. -- Thanks Regards Jitendra Jha +91-7498370550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV Problem
On Mon, Sep 17, 2012 at 11:47:47PM +0530, jiten jha wrote: Thanks for reply but I have little problem to run freshclam command here we have proxy setting so I am not able to downloand or run command it is not connect to db.local.clamav.net . Is there any other way to download file 3 files. Can you please trim your replies? freshclam supports the use of a proxy. See freshclam.conf for more information. John -- Space isn't remote at all. It's only an hour's drive away if your car could go straight upwards. -- Fred Hoyle (1915-2001), British astronomer and science fiction author, Sayings of the Week, The Observer (9 September 1979) pgpRnk5442LJD.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
On Saturday 14 February 2009 17:35:32 Kai Schaetzl wrote: Anne Wilson wrote on Sat, 14 Feb 2009 16:12:47 +: that is userhomedir/tmp/clamd.socket Kai, I'm lost. That's what I touch'd, so it does exist. Read again, this is userhomedir/tmp/clamd.socket and not /tmp/clamd.socket. clamd does not use the socket userhomedir/tmp/clamd.socket unless you tell it to do so. And freshclam does not try to signal to that socket unless it cannot find the correct clamd.conf or has some other problem that you created. Find out why your freshclam is trying the wrong socket. If you installed clamav from rpmforge, it works out of the box. There is nothing needed to be touched, remove that touched file! Check your clamd.conf that the correct socket gets used, check freshclam.conf that the correct clamd.conf is read and start clamd. There's nothing else to do. And if you don't need clamd, there's no need to install it or signal to it. So, tell it not to signal. Clamd successfully notified about the update. I hate being beaten! :-) I simply removed the line that mentioned a local socket. So simple, and so easily missed. Yes, it probably wasn't enabled by default, but by misunderstanding. Thanks to all who helped. Anne Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote: Clamd successfully notified about the update. I hate being beaten! :-) I simply removed the line that mentioned a local socket. So simple, and so easily missed. Yes, it probably wasn't enabled by default, but by misunderstanding. Thanks to all who helped. Anne Anne, Just for the record, I just installed the base packages of clamav, clamav-db using the rpmforge repo on a test machine. The option ... # Send the RELOAD command to clamd. # Default: no NotifyClamd /etc/clamd.conf Is enabled by default. So you did by no means break it. That is it's expected behavior. Also please not that in /etc/cron.daily/freshclam you will have the same option enabled, as follows /usr/bin/freshclam \ --quiet \ --datadir=/var/clamav \ --log=$LOG_FILE \ --log-verbose \ --daemon-notify=/etc/clamd.conf So no you did not break it. it was turned on by default. Brian -- http://wx.Tatorz.com Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Mail List wrote on Tue, 17 Feb 2009 06:41:27 -0500: So you did by no means break it. She broke it by changing the path for the socket. ;-) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
On Tuesday 17 February 2009 12:31:18 Kai Schaetzl wrote: Mail List wrote on Tue, 17 Feb 2009 06:41:27 -0500: So you did by no means break it. She broke it by changing the path for the socket. ;-) Yes. I had understood that I had to give it a suitable place for a local socket. It was, of course, totally unnecessary. When I realised that a socket existed in /var it seemed well worth trying simply commenting the line out. Bingo! A plain misunderstanding on my part. The help I got on this list prompted me to look in the right places for clues. That's more valuable than a simple instruction that cures it :-) Thanks again, all Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
On Wednesday 11 February 2009 15:09:33 Anne Wilson wrote: On Friday 06 February 2009 10:31, Kai Schaetzl wrote: Anne Wilson wrote on Fri, 6 Feb 2009 07:50:58 +: WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket well, is it started, does the socket exist? Kai First, thanks and apologies to all who responded. I've been away a few days and there's always a lot of catching up to be done when I get back. Checking Olaf's list, I realised that clamav was installed and I had falsely believed that clamd would be installed at the same time. Since there was an old config and log file, I hadn't noticed. I've now installed it, chkconfig'd it, touched the socket, and I'll wait to see what is reported in the morning. All is still not well. Freshclam still tells me WARNING: Clamd was NOT notified: Can't connect to clamd through ~/tmp/clamd.socket Is this relative to root, or where? Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
All is still not well. Freshclam still tells me WARNING: Clamd was NOT notified: Can't connect to clamd through ~/tmp/clamd.socket Is this relative to root, or where? Anne Anne, First off you have to decide if you need clamd? If not then all you would need to do is edit freshclam.conf and tell it not to notify clamd. # Send the RELOAD command to clamd. # Default: no #NotifyClamd /path/to/clamd.conf I'm using the non rpm version for MailScanner. but your version activates it automatically. Also in the cron entry /etc/cron.daily/freshclam is -- is another entry telling freshclam to notify clamd. If you do need clamd then you can remove your touched socket, edit clamd.conf make sure it points to the right /tmp/clamd.socket. then.. service clamd start I hope that helps. Brian -- Brian http://wx.Tatorz.com Open WebMail Project (http://openwebmail.org) -- Brian http://wx.Tatorz.com Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote on Sat, 14 Feb 2009 12:39:49 +: Freshclam still tells me No, it's a new message! WARNING: Clamd was NOT notified: Can't connect to clamd through ~/tmp/clamd.socket that is userhomedir/tmp/clamd.socket Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
On Saturday 14 February 2009 13:35:19 Mail List wrote: All is still not well. Freshclam still tells me WARNING: Clamd was NOT notified: Can't connect to clamd through ~/tmp/clamd.socket Is this relative to root, or where? Anne Anne, First off you have to decide if you need clamd? If not then all you would need to do is edit freshclam.conf and tell it not to notify clamd. # Send the RELOAD command to clamd. # Default: no #NotifyClamd /path/to/clamd.conf I'm using the non rpm version for MailScanner. but your version activates it automatically. Also in the cron entry /etc/cron.daily/freshclam is -- is another entry telling freshclam to notify clamd. If you do need clamd then you can remove your touched socket, edit clamd.conf make sure it points to the right /tmp/clamd.socket. then.. service clamd start I hope that helps. That might be the best answer. If I'm going to just run scans on a cron job there's probably no reason for clamd. I'll make those changes, thanks. All the same, it's galling that this was working before the power problems :-( Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote: On Saturday 14 February 2009 15:31:34 Kai Schaetzl wrote: Anne Wilson wrote on Sat, 14 Feb 2009 12:39:49 +: Freshclam still tells me No, it's a new message! WARNING: Clamd was NOT notified: Can't connect to clamd through ~/tmp/clamd.socket that is userhomedir/tmp/clamd.socket Kai, I'm lost. That's what I touch'd, so it does exist. A socket cannot be created by touch(1), afaik. Just start clamd, which should create the socket wherever its config file said to put it. Or if there is not socket, find out why clamd did not create it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote on Sat, 14 Feb 2009 16:12:47 +: that is userhomedir/tmp/clamd.socket Kai, I'm lost. That's what I touch'd, so it does exist. Read again, this is userhomedir/tmp/clamd.socket and not /tmp/clamd.socket. clamd does not use the socket userhomedir/tmp/clamd.socket unless you tell it to do so. And freshclam does not try to signal to that socket unless it cannot find the correct clamd.conf or has some other problem that you created. Find out why your freshclam is trying the wrong socket. If you installed clamav from rpmforge, it works out of the box. There is nothing needed to be touched, remove that touched file! Check your clamd.conf that the correct socket gets used, check freshclam.conf that the correct clamd.conf is read and start clamd. There's nothing else to do. And if you don't need clamd, there's no need to install it or signal to it. So, tell it not to signal. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote on Sat, 14 Feb 2009 15:38:18 +: If I'm going to just run scans on a cron job there's probably no reason for clamd. depends on what yous can. And if you don't need it why do you install it? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
On Saturday 14 February 2009 17:35:32 Kai Schaetzl wrote: Anne Wilson wrote on Sat, 14 Feb 2009 16:12:47 +: that is userhomedir/tmp/clamd.socket Kai, I'm lost. That's what I touch'd, so it does exist. Read again, this is userhomedir/tmp/clamd.socket and not /tmp/clamd.socket. clamd does not use the socket userhomedir/tmp/clamd.socket unless you tell it to do so. And freshclam does not try to signal to that socket unless it cannot find the correct clamd.conf or has some other problem that you created. Find out why your freshclam is trying the wrong socket. If you installed clamav from rpmforge, it works out of the box. I am, and the problem is that it didn't work out of the box. It didn't when I installed it before, either, although I did eventually get it sorted. There is nothing needed to be touched, remove that touched file! Check your clamd.conf that the correct socket gets used, check freshclam.conf that the correct clamd.conf is read and start clamd. There's nothing else to do. And if you don't need clamd, there's no need to install it or signal to it. So, tell it not to signal. OK, I understand a bit more about it now, but I really don't think that I need it. Getting to grips with what you do and don't need of related packages can be quite a job. Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
On Friday 06 February 2009 10:31, Kai Schaetzl wrote: Anne Wilson wrote on Fri, 6 Feb 2009 07:50:58 +: WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket well, is it started, does the socket exist? Kai First, thanks and apologies to all who responded. I've been away a few days and there's always a lot of catching up to be done when I get back. Checking Olaf's list, I realised that clamav was installed and I had falsely believed that clamd would be installed at the same time. Since there was an old config and log file, I hadn't noticed. I've now installed it, chkconfig'd it, touched the socket, and I'll wait to see what is reported in the morning. Thanks again Anne ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote: Hello, daily.cld updated (version: 8950, sigs: 72593, f-level: 38, builder: ccordes) service clamd status clamd: unrecognized service It has to be something stupid that I've missed. Can someone kick me in the right direction? Thanks the following setup is here working. I'm using the clamav packages from RPMforge RPM Repository for Red Hat Enterprise 5. 1) # rpm -qa | grep clam clamav-0.94.2-1.el5.rf clamav-milter-0.94.2-1.el5.rf # for mail clamav-db-0.94.2-1.el5.rf clamd-0.94.2-1.el5.rf 2) /etc/clamd.conf LogFile /var/log/clamav/clamd.log LogFileMaxSize 0 PidFile /var/run/clamav/clamd.pid TemporaryDirectory /var/tmp DatabaseDirectory /var/clamav LocalSocket /var/clamav/clamd.socket FixStaleSocket yes MaxConnectionQueueLength 30 MaxThreads 50 ReadTimeout 120 SelfCheck 3600 User clamav AllowSupplementaryGroups yes ScanPE yes ScanELF yes DetectBrokenExecutables yes ScanOLE2 yes ScanPDF yes ScanMail yes PhishingSignatures yes ScanHTML yes ScanArchive yes ArchiveBlockEncrypted no 3) /var/log/clamav/clamd.log [...] Loaded ClamAV 0.94.2/8959/Fri Feb 6 06:58:05 2009 ClamAV: Protecting against 951007 viruses Database correctly reloaded (951007 signatures) Database correctly reloaded (951007 viruses) 4) /var/log/freshclam.log [...] Current working dir is /var/clamav Max retries == 3 ClamAV update process started at Fri Feb 6 10:12:01 2009 Using IPv6 aware code Querying current.cvd.clamav.net TTL: 900 Software version from DNS: 0.94.2 main.cvd version from DNS: 49 Connecting via MYSERVER main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven) daily.cvd version from DNS: 8959 Connecting via MYSERVER daily.cld is up to date (version: 8959, sigs: 75562, f-level: 38, builder: ccordes) regards Olaf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote: Since my power problems that resulted in a re-install I have a problem which I've failed to locate up to now. The logs show daily.cld updated (version: 8950, sigs: 72593, f-level: 38, builder: ccordes) Database updated (510565 signatures) from db.gb.clamav.net (IP: 163.1.3.8) WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket I've been through the config files, but obviously there is something in the setup that I've failed to do. Scans are running every night, but service clamd status clamd: unrecognized service It's possible chkconfig doesn't know about 'clamd' and fails to start on boot. The scanning of the filesystem is probably driven by scripts. As root try /sbin/chkconfig clamd on then check the service again. I know next to nothing about clamAV. -- Article. VI. Clause 3 of the constitution of the United States states: The Senators and Representatives before mentioned, and the Members of the several State Legislatures, and all executive and judicial Officers, both of the United States and of the several States, shall be bound by Oath or Affirmation, to support this Constitution; but no religious Test shall ever be required as a Qualification to any Office or public Trust under the United States. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson napsal(a): Since my power problems that resulted in a re-install I have a problem which I've failed to locate up to now. The logs show daily.cld updated (version: 8950, sigs: 72593, f-level: 38, builder: ccordes) Database updated (510565 signatures) from db.gb.clamav.net (IP: 163.1.3.8) WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket I've been through the config files, but obviously there is something in the setup that I've failed to do. Scans are running every night, but service clamd status clamd: unrecognized service It has to be something stupid that I've missed. Can someone kick me in the right direction? Thanks Anne Hi, it seems to me to misconfiguration problem. In the first email you wrote: WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket The second one reads: LocalSocket /var/clamav/clamd.socket Regards, David Hrbáč ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of David Hrbác Sent: Friday, February 06, 2009 4:59 AM To: CentOS mailing list Subject: Re: [CentOS] clamAV problem Anne Wilson napsal(a): Since my power problems that resulted in a re-install I have a problem which I've failed to locate up to now. The logs show daily.cld updated (version: 8950, sigs: 72593, f-level: 38, builder: ccordes) Database updated (510565 signatures) from db.gb.clamav.net (IP: 163.1.3.8) WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket I've been through the config files, but obviously there is something in the setup that I've failed to do. Scans are running every night, but service clamd status clamd: unrecognized service It has to be something stupid that I've missed. Can someone kick me in the right direction? Thanks Anne Hi, it seems to me to misconfiguration problem. In the first email you wrote: WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket The second one reads: LocalSocket /var/clamav/clamd.socket Regards, David Hrbáč -- And then touch /var/clamd.socket for the Socket file to get there or on restart it will get there automatically. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamAV problem
Anne Wilson wrote on Fri, 6 Feb 2009 07:50:58 +: WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket well, is it started, does the socket exist? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] clamAV problem
Since my power problems that resulted in a re-install I have a problem which I've failed to locate up to now. The logs show daily.cld updated (version: 8950, sigs: 72593, f-level: 38, builder: ccordes) Database updated (510565 signatures) from db.gb.clamav.net (IP: 163.1.3.8) WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket I've been through the config files, but obviously there is something in the setup that I've failed to do. Scans are running every night, but service clamd status clamd: unrecognized service It has to be something stupid that I've missed. Can someone kick me in the right direction? Thanks Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos