[Clamav-users] Re: ClamAV 0.90 - Failed to compile

2007-02-20 Thread Ian Abbott

On 20/02/2007 04:53, Vinyl Bne wrote:

I tried to upgrade to ClamAV 0.90 and failed while compiling.
The same configure option was fine with ClamAV 0.8x.xx

Below is the snippet of compilation message/error.

The configure line is
*./configure --enable-milter --with-dbdir=/var/clamdb --with-user=defang
--with-group=defang *
*  --localstatedir=/var/run --sysconfdir=/etc --with-zlib*

Appreciate for all help.

cheers,

VinylBNE

--8--
.
.
.
Making all in etc

Target all is up to date.

Making all in clamav-milter
.
.
.

   if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared  -I/chroot/sendmail/usr/include -I/opt/oss/include
-I/opt/oss/include  -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o
misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c;  then mv
-f .deps/misc.Tpo .deps/misc.Po; else rm -f .deps/misc.Tpo; exit 
1; fi


   if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared  -I/chroot/sendmail/usr/include -I/opt/oss/include
-I/opt/oss/include  -g -O2 -MT network.o -MD -MP -MF .deps/network.Tpo -c
-o network.o `test -f '../shared/network.c' || echo
'./'`../shared/network.c;  then mv -f .deps/network.Tpo
.deps/network.Po; else rm -f .deps/network.Tpo; exit 1; fi

../shared/network.c: In function `r_gethostbyname':

../shared/network.c:80: warning: passing arg 2 of `gethostbyname_r' from
incompatible pointer type

   if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared   -I/chroot/sendmail/usr/include -I/opt/oss/include
-I/opt/oss/include  -g -O2 -MT clamav-milter.o -MD -MP -MF .deps/clamav-
milter.Tpo -c -o clamav-milter.o clamav-milter.c;  then mv -f
.deps/clamav-milter.Tpo .deps/clamav-milter.Po; else rm -f
.deps/clamav-milter.Tpo; exit 1; fi

clamav-milter.c: In function `main':

clamav-milter.c:1120: warning: passing arg 2 of `setgroups' discards
qualifiers from pointer target type

clamav-milter.c:1263: error: `logg_syslog' undeclared (first use in this
function)

clamav-milter.c:1263: error: (Each undeclared identifier is reported only
once

clamav-milter.c:1263: error: for each function it appears in.)

clamav-milter.c: In function `clamfi_eom':

clamav-milter.c:3547: warning: passing arg 2 of `smfi_addrcpt' discards
qualifiers from pointer target type

clamav-milter.c:3588: warning: passing arg 2 of `smfi_addrcpt' discards
qualifiers from pointer target type


I'm not sure about the warnings, but the error on line 1263 needs 
fixing.  It hasn't been fixed in the latest clamav-devel, so you should 
file a bug report on the ClamAV bugtracker.


--
-=( Ian Abbott @ MEV Ltd.E-mail: [EMAIL PROTECTED])=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587 )=-
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Creation of binary .rpm package.

2007-02-20 Thread Lorenzo Ortega
hello
   
try to download some rpm from:
http://dag.wieers.com/rpm/packages/clamav/

bests

Graeme Nichols escribió:
 Bill Randle wrote:
 On Tue, 2007-02-20 at 12:58 +1100, Graeme Nichols wrote:
 Hello,

 I tried to create a binary .rpm package from the clamav-0.90.tar.gz
 tarball using the command 'rpmbuild -tb clamav-0.90.tar.gz' which
 failed with the following errors:

 Is there a .spec file available for this tarball to enable me to
 build a .rpm binary under FC6 as there is no .rpm binary on the
 clamav repositories (no '6' directory at all)

 If not, is there any other way to build an .rpm binary package?
 Installing manually is not an option. Creates too many problems at a
 later date or when upgrading the distribution.

 Have you considered downloading an SRPM file for an earlier distro (FC5,
 FC4) and build using that spec file? Chances are, it will work
 unchanged on FC6.

 -Bill

 Hi Bill, nope, I hadn't thought of that but wouldn't I need a .src.rpm
 for the 0.90 release? Do you know how to get the spec file out of the
 older .src.rpm package for, say, FC5, and use it on the latest release
 tarball? I know enough in this area to get by but no more.

 Thanks


-- 

Lorenzo Ortega
Área de Aplicaciones - Correo

T-OnlineSpain
GrupoDeutsche Telekom
Edificio Gorbea 4
Avda. Bruselas, 20 1ª planta
28108 Alcobendas - Madrid
Telf: +34 911 41 7874
 
Este mensaje puede contener información confidencial dirigida únicamente a su 
destinatario. Si usted no es el destinatario de este mensaje, según consta en 
el mismo, por favor destruya el mensaje y advierta al remitente del error 
respondiendo a este mensaje por correo electrónico. No está autorizada la copia 
o entrega de este mensaje a quienes no son destinatarios del mismo. 

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] 0.9 update libssl and libcrypto

2007-02-20 Thread Daniele Marco Bevar
ok, thanks a lot, it works.

too bad for the automatical updates...(yum) 


Daniele Marco Bevar 
Mondo Rondo Web Factory 
http://www.mondorondo.com/ 


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Henrik Krohns
Envoyé : lundi, 19. février 2007 12:19
À : clamav-users@lists.clamav.net
Objet : Re: [Clamav-users] 0.9 update libssl and libcrypto

On Mon, Feb 19, 2007 at 10:53:34AM +0100, Dan wrote:
 Hi,
 
 I'm running clamav 0.88.7 on a FC5 for a OpenXchange mail server.
 
 Trying to update to .9 I see that it needs libssl.so.6 and
 libcrypto.so.6 (i'm working in .5)
 This means upgrading from mysql to cyrus and postfix, openssl, httpd 
 and perl, openldap and almost everything.
 OpenXchange install is so fragile...is it there any workaround to 
 leave  actual .5 libs for everything, and .6 for clamav?
 
 Thanks for your help

ClamAV does nothing with SSL. Curl does, so just compile without it (it has
no other use than the bad URL downloading feature).

configure --with-libcurl=no

Cheers,
Henrik
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] Problem with upgrade

2007-02-20 Thread ShopOnWeb

Hi, I have a problem with upgrade from 0.88.7 to 0.90 on Fedora Core 5.
My steps for upgrade are:

#cd /usr/local/src
#tar xzvf clamav-0.90.tar.gz
#service postfix stop
#service clamd stop
#rm -f /usr/local/lib/*clam*
#cd clamav-0.90
#./configure  make  make install
#service clamd start
[EMAIL PROTECTED] ~]# service clamd start
Avvio di clamd: ERROR: Parse error at line 76: Option FixStaleSocket 
requires boolean argument.

ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
[FALLITO]

Where is my error ?
Thanks.

--
Salvatore. 


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Using clamassassin with 0.90 - failed error 40!

2007-02-20 Thread Daniel Staal
--As of February 20, 2007 10:02:12 AM +0800, Richard is alleged to have 
said:



I finally found that error 40 is because of calling an unknown option.
It seems the clamassassin is calling clamscan with something wrong now.
It worked fine, and again works ok since I downgraded to 0.88.7.

Am I the only one having this problem?  I am again using 0.88.7 with 0.90
engine for now, and it is scanning properly again, and finding viruses as
usual.


--As for the rest, it is mine.


From the clamassassin-announce mailing list a couple of days ago:



There is a compatibility problem when using clamassassin 1.2.3 with
the new ClamAV 0.90 release.  The new ClamAV release has changed some of
the command line options, and one of these changes makes clamassassin
not work correctly when using clamscan.  However, using clamassassin
with clamdscan doesn't seem to have any problems.


snip /


1) Configure your system to run clamd and using clamdscan in
clamassassin.  (This will give you better performance too!)

2) If you want to remain using clamscan, edit the clamassassin script
and search for the line reading:

CLAMSCANOPT=--no-summary --stdout --mbox

Change this to:

CLAMSCANOPT=--no-summary --stdout


Daniel T. Staal


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Jan-Pieter Cornet
On Tue, Feb 20, 2007 at 02:15:56PM +0100, ShopOnWeb wrote:
 Hi, I have a problem with upgrade from 0.88.7 to 0.90 on Fedora Core 5.
 My steps for upgrade are:
 
 #cd /usr/local/src
 #tar xzvf clamav-0.90.tar.gz
 #service postfix stop
 #service clamd stop
 #rm -f /usr/local/lib/*clam*
 #cd clamav-0.90
 #./configure  make  make install
 #service clamd start
 [EMAIL PROTECTED] ~]# service clamd start
 Avvio di clamd: ERROR: Parse error at line 76: Option FixStaleSocket 
 requires boolean argument.
 ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
 [FALLITO]
 
 Where is my error ?

You forgot to look at the UPGRADE file.

-- 
Jan-Pieter Cornet [EMAIL PROTECTED]
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Perl module Mail::ClamAV not compatible with ver.0.90

2007-02-20 Thread Reinhard Hainz

hi,

we had the same problems with Mail::ClamAV (version 0.17) and clamav 
0.90. Attached you will find a simple patch for Mail::Clamav (no 
modification in clamav). Please note, that I have not realy verified 
this patch (some deprecated functions and definitions).


Reinhard

René Berber wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Is anybody working on upgrading perl module Mail::ClamAV?

Current version 0.17 does not build under clamav version 0.90, there's at least
2 defined constants that don't exist anymore, maybe other problems.

The real problem will show for users of MailScanner, without a re-build MS spins
creating processes and killing them with no mail being scanned.  I guess there
is the option of using clamscan (or clamdscan with patches to MS).
- --
René Berber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0qoAL3NNweKTRgwRAvsuAKCCAA1fR72HpuOEz9FxOs/SpYjJxQCggVrH
kzX2ecImmLRhe3FjzEv2Ze0=
=K5Hl
-END PGP SIGNATURE-

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


  


diff -urNp Mail-ClamAV-0.17.orig/ClamAV.pm Mail-ClamAV-0.17/ClamAV.pm
--- Mail-ClamAV-0.17.orig/ClamAV.pm 2005-03-08 11:07:54.0 +0100
+++ Mail-ClamAV-0.17/ClamAV.pm  2007-02-20 14:03:46.0 +0100
@@ -26,7 +26,6 @@ our @ISA = qw(Exporter);
 sub CL_RAW() { CL_SCAN_RAW() }
 sub CL_ARCHIVE() { CL_SCAN_ARCHIVE() }
 sub CL_MAIL   () { CL_SCAN_MAIL() }
-sub CL_DISABLERAR () { CL_SCAN_DISABLERAR() }
 sub CL_OLE2   () { CL_SCAN_OLE2() }
 sub CL_ENCRYPTED  () { CL_SCAN_BLOCKENCRYPTED() }
 sub CL_BLOCKENCRYPTED () { CL_SCAN_BLOCKENCRYPTED() }
@@ -50,7 +49,6 @@ our %EXPORT_TAGS = ( 'all' = [ qw(
 CL_EMAXFILES
 CL_ERAR
 CL_EZIP
-CL_EMALFZIP
 CL_EGZIP
 CL_EBZIP
 CL_EOLE2
@@ -76,7 +74,6 @@ our %EXPORT_TAGS = ( 'all' = [ qw(
 CL_SCAN_RAW
 CL_SCAN_ARCHIVE
 CL_SCAN_MAIL
-CL_SCAN_DISABLERAR
 CL_SCAN_OLE2
 CL_SCAN_BLOCKENCRYPTED
 CL_SCAN_HTML
@@ -276,7 +273,7 @@ char *clamav_perl_retdbdir()
 void clamav_perl_buildtrie(SV *self)
 {
 struct clamav_perl *c = SvClam(self);
-cl_buildtrie(c-root);
+cl_build(c-root);
 }
 
 int clamav_perl_maxreclevel(SV *self, ...)
@@ -344,44 +341,10 @@ int clamav_perl_archivememlim(SV *self, 
 return SvClam(self)-limits.archivememlim;
 }
 
-void clamav_perl__scanbuff(SV *self, SV *buff)
-{
-struct clamav_perl *c = SvClam(self);
-STRLEN len;
-int status;
-char *b;
-const char *msg;
-SV *smsg;
-Inline_Stack_Vars;
-
-Inline_Stack_Reset;
-
-if (SvTAINTED(buff))
-croak(buff argument specified to scanbuff() is tainted);
-
-b = SvPV(buff, len);
-status = cl_scanbuff(b, len, msg, c-root);
-
-smsg = sv_newmortal();
-sv_setiv(smsg, (IV)status);
-
-/* msg is some random memory if no virus was found */
-if (status == CL_VIRUS)
-sv_setpv(smsg, msg);
-else if (status == CL_CLEAN)
-sv_setpv(smsg, Clean);
-else
-sv_setpv(smsg, cl_perror(status));
-
-SvIOK_on(smsg);
-Inline_Stack_Push(smsg);
-Inline_Stack_Done;
-}
-
 void DESTROY(SV *self)
 {
 struct clamav_perl *c = SvClam(self);
-cl_freetrie(c-root);
+cl_free(c-root);
 if (c-is_dir == 1)
 cl_statfree(c-st);
 Safefree(c-path);
@@ -415,7 +378,7 @@ void clamav_perl__scanfd(SV *self, int f
 else if (status == CL_CLEAN)
 sv_setpv(smsg, Clean);
 else
-sv_setpv(smsg, cl_perror(status));
+sv_setpv(smsg, cl_strerror(status));
 
 SvIOK_on(smsg);
 Inline_Stack_Push(smsg);
@@ -456,7 +419,7 @@ void clamav_perl__scanfile(SV *self, SV 
 else if (status == CL_CLEAN)
 sv_setpv(smsg, Clean);
 else
-sv_setpv(smsg, cl_perror(status));
+sv_setpv(smsg, cl_strerror(status));
 
 SvIOK_on(smsg);
 Inline_Stack_Push(smsg);
@@ -479,7 +442,7 @@ static void error(int errcode)
 SV *err = get_sv(Mail::ClamAV::Error, TRUE);
 
 sv_setiv(err, (IV)errcode);
-e = cl_perror(errcode);
+e = cl_strerror(errcode);
 sv_setpv(err, e);
 SvIOK_on(err);
 }
@@ -494,7 +457,6 @@ int clamav_perl_constant(char *name)
 if (strEQ(CL_EMAXFILES, name)) return CL_EMAXFILES;
 if (strEQ(CL_ERAR, name)) return CL_ERAR;
 if (strEQ(CL_EZIP, name)) return CL_EZIP;
-if (strEQ(CL_EMALFZIP, name)) return CL_EMALFZIP;
 if (strEQ(CL_EGZIP, name)) return CL_EGZIP;
 if (strEQ(CL_EBZIP, name)) return CL_EBZIP;
 if (strEQ(CL_EOLE2, name)) return CL_EOLE2;
@@ -520,7 +482,6 @@ int clamav_perl_constant(char *name)
 if (strEQ(CL_SCAN_RAW, name)) return CL_SCAN_RAW;
 if (strEQ(CL_SCAN_ARCHIVE, name)) return CL_SCAN_ARCHIVE;
 if (strEQ(CL_SCAN_MAIL, name)) return CL_SCAN_MAIL;
-if (strEQ(CL_SCAN_DISABLERAR, name)) 

[Clamav-users] Update fail in clamav-0.90

2007-02-20 Thread Miguel Rois

Hi all

When I write the command freshclam as root, the file main.cvd don't updated,
your date is 31 Dic with 83.951 viruses.

The file daily.inc is OK in your version.

When I run clamscan say OK, and your database have 93.275 viruses known
¿¿¿

Someone idea

Miguel
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Is clamav 0.88.7-1 Vulnerable

2007-02-20 Thread Antonio Storni
I am using this FreeBSD package.

File: clamav-0.88.7_1.tgz   744 KB  12/30/2006  12:49:00 PM

My question now is:
Is this clamav Vulnerable?

Thanks for your information.



--- Stephen Gran [EMAIL PROTECTED] wrote:

 On Mon, Feb 19, 2007 at 01:25:30PM -0800, Antonio Storni said:
  Hi,
  
  I have recieved news of the recent vulnerabilities of clamav, and all the
  public advisories suggest upgrade to version 0.9
  
  iDefense has confirmed this vulnerability affects Clam AntiVirus ClamAV
  v0.88.6. All versions prior to the 0.90 stable release are suspected to
 be
  vulnerable.
  
  My question is:
  Is clamav 0.88.7-1 Vulnerable?
 
 There is no clamav official version 0.88.7-1, only 0.88.7.  I assume the
 -1 is a standard distro version marker, but without knowing what distro,
 I can't guess the answer.  In Debian, 0.88.7-1 is vulnerable, 0.88.7-2
 is not.
 -- 
  --
 |  Stephen Gran  | Hindsight is always 20:20.   -- Billy   |
 |  [EMAIL PROTECTED] | Wilder  |
 |  http://www.lobefin.net/~steve | |
  --
  ___
 Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
 http://lurker.clamav.net/list/clamav-users.html
 



 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Is clamav 0.88.7-1 Vulnerable

2007-02-20 Thread Gerard Seibert
On Tue, 20 Feb 2007 06:51:40 -0800 (PST)
Antonio Storni [EMAIL PROTECTED] wrote:

 I am using this FreeBSD package.
 
 File: clamav-0.88.7_1.tgz 744 KB  12/30/2006
   12:49:00 PM
 
 My question now is:
 Is this clamav Vulnerable?
 
 Thanks for your information.

I am not sure about the vulnerability factor; however, these are the
ports for clamav presently available in the ports system.

Port:   clamav-0.90_2
Path:   /usr/ports/security/clamav
Info:   Command line virus scanner written entirely in C
Maint:  [EMAIL PROTECTED]
B-deps: libgmp-4.2.1_2 libtool-1.5.22_3
R-deps: arc-5.21o_1 arj-3.10.22 lha-1.14i_6 libgmp-4.2.1_2 unzoo-4.4_2
WWW:http://www.clamav.net/

Port:   clamav-devel-20070218
Path:   /usr/ports/security/clamav-devel
Info:   Command line virus scanner written entirely in C
Maint:  [EMAIL PROTECTED]
B-deps: libgmp-4.2.1_2 libtool-1.5.22_3
R-deps: arc-5.21o_1 arj-3.10.22 lha-1.14i_6 libgmp-4.2.1_2 unzoo-4.4_2
WWW:http://www.clamav.net/

I have the clamav-devel one installed myself and it works fine. You
might want to consider updating.


-- 
Gerard

Elegance and truth are inversely related.

Becker's Razor


signature.asc
Description: PGP signature
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Update fail in clamav-0.90

2007-02-20 Thread Antonio Storni
From http://www.clamav.net/

Latest ClamAV™ stable release is: 0.90
Total number of signatures: 93275
ClamAV Virus Databases:
main.cvd ver. 42 released on 31 Dec 2006 13:09 +0100
daily.cvd ver. 2612 released on 20 Feb 2007 12:28 +


--- Miguel Rois [EMAIL PROTECTED] wrote:

 Hi all
 
 When I write the command freshclam as root, the file main.cvd don't updated,
 your date is 31 Dic with 83.951 viruses.
 
 The file daily.inc is OK in your version.
 
 When I run clamscan say OK, and your database have 93.275 viruses known
 ¿¿¿
 
 Someone idea
 
 Miguel
 ___
 Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
 http://lurker.clamav.net/list/clamav-users.html
 



 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problems with version 0.90 amd webmin

2007-02-20 Thread guenther
On Tue, 2007-02-20 at 11:09 +0100, smc-oper wrote:

 I need help about clamav and webmin.We made the update to version
 090.rc2.Now we have the problem when we want to use webmin.

Why are you using an old release candidate? You should update to the
officially released version 0.90 instead.


 We get the message Bitte geben Sie im Konfigurationsmodul den Ort der
 zweiten Unterschriftsdatenbank an (das sollte daily.cvd sein)
 
 Because we only have now an daily.inc, not an daily.cvd.
 
 What can we do now?

Note: I never used webmin for ClamAV. Also, I did not have my coffee
yet. ;)

Such issues happen rather frequently. That is, every time the software
changes some behavior or configuration settings (as in this case). The
ClamAV configuration changed, and the webmin module will be out-of-date
and most likely dysfunctional, until they caught up and support the 0.90
configuration style.

You will need an updated webmin to use it with ClamAV 0.90.


Btw, that translated (German) webmin warning sounds pretty poor. Indeed,
a Signature can be translated with Unterschrift (as in your name, hand
written), but a translation of Signatur would make so much more
sense... Maybe someone wanna tell the webmin team?

  guenther


-- 
char *t=[EMAIL PROTECTED];
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Brian Morrison
On Tue, 20 Feb 2007 14:15:56 +0100
ShopOnWeb [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] ~]# service clamd start
 Avvio di clamd: ERROR: Parse error at line 76: Option FixStaleSocket 
 requires boolean argument.
 ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
 [FALLITO]
 
 Where is my error ?

So what do you see at line 76 of clamd.conf?

-- 

Brian Morrison

bdm at fenrir dot org dot uk

   Arguing with an engineer is like wrestling with a pig in the mud;
after a while you realize you are muddy and the pig is enjoying it.

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Salvatore

Brian Morrison wrote:

So what do you see at line 76 of clamd.conf?


In clamd.conf at line 76 I have:

FixStaleSocket

Thanks.

--
Salvatore.



___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Brian Morrison
On Tue, 20 Feb 2007 21:53:04 +0100
Salvatore [EMAIL PROTECTED] wrote:

 Brian Morrison wrote:
  So what do you see at line 76 of clamd.conf?
 
 In clamd.conf at line 76 I have:
 
 FixStaleSocket
 
The error message tells you that it:

requires boolean argument.

-- 

Brian Morrison

bdm at fenrir dot org dot uk

   Arguing with an engineer is like wrestling with a pig in the mud;
after a while you realize you are muddy and the pig is enjoying it.

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Jonathan Armitage

Salvatore wrote:

  In clamd.conf at line 76 I have:


FixStaleSocket

0.9x introduces a new configuration syntax: you can now turn single 
options on and off, the old crude hack of DisableDefaultScanOptions is 
no longer required.


Please have a look at the examples: clamav-0.9*/etc/clamd.conf and 
clamav-0.9*/etc/freshclam.conf


(from the install instructions)

You have to say

FixStaleSocket yes (or no or true or false or 1 or 0, I think)

That's what your error message mean by missing Boolean argument

Of course, there are several more to alter as well :)

Jon
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Richard Feldmann
Salvatore spake thusly on Tue, Feb 20, 2007 at 09:53:04PM +0100:
 Brian Morrison wrote:
 So what do you see at line 76 of clamd.conf?
 
 In clamd.conf at line 76 I have:
 
 FixStaleSocket
 
 Thanks.
 
 --
 Salvatore.

--- end quoted text ---

Read the error a little more closely and you'll see that it expects a boolean 
option to FixStaleSocket (e.g. yes|no,true|false,1|0).  The most recent version 
of clamav has changed the configuration file format.  Go back and read the 
current clamav documentation.

-- 
Regards,
Richard
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco
Have the courage to take your own thoughts
seriously, for they will shape you.
-- Albert Einstein


pgpHZTFVTN4Vk.pgp
Description: PGP signature
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Steve Basford


Salvatore wrote:
 FixStaleSocket

How about:

**FixStaleSocket yes
FixStaleSocket no

In other words, the format for .conf files changed in 0.90... you need yes/no 
after the option.

Example:
http://svn.clamav.net/websvn/filedetails.php?repname=clamav-develpath=%2Ftrunk%2Fetc%2Fclamd.confrev=0sc=0
 
http://svn.clamav.net/websvn/filedetails.php?repname=clamav-develpath=%2Ftrunk%2Fetc%2Fclamd.confrev=0sc=0http://svn.clamav.net/websvn/filedetails.php?repname=clamav-develpath=%2Ftrunk%2Fetc%2Ffreshclam.confrev=0sc=0
 
http://svn.clamav.net/websvn/filedetails.php?repname=clamav-develpath=%2Ftrunk%2Fetc%2Ffreshclam.confrev=0sc=0

Cheers,

Steve



___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] Clamd is dying silently after about an hour

2007-02-20 Thread Jonathan Armitage
This morning I installed clamav-0.90 on our main mail server at work, a 
V210 running Solaris 10.


I enabled the experimental code, and there was no problem building 
(except for the previously discussed LDFLAGS problem, which resurfaced).


After about an hour, or maybe at busy times, clamd disappears without a 
trace. No core dump, nothing in the logs.


I re-installed without the experimental code, and so far, it seems to be 
working happily.


I realise this is not enough information for anyone to help, so the 
question is, what more information would you like, and how do I go about 
getting it?


gdb is not installed on the machine, only the Sun debuggers.

Jon
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem with upgrade

2007-02-20 Thread Rob Munsch

Salvatore wrote:

Brian Morrison wrote:

So what do you see at line 76 of clamd.conf?


In clamd.conf at line 76 I have:

FixStaleSocket


Avvio di clamd: ERROR: Parse error at line 76: Option FixStaleSocket
 requires boolean argument.
   ^^^



Thanks.

--
Salvatore.



___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Clamd is dying silently after about an hour

2007-02-20 Thread Dennis Peterson
 
 After about an hour, or maybe at busy times, clamd disappears without a 
 trace. No core dump, nothing in the logs.
 

This happens on every Solaris instance I've built. It does not matter if it
is Sol8, Sol9, or Sol10. I've not had time to go back in and rebuild it without
the experimental code.

dp
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Clamd is dying silently after about an hour

2007-02-20 Thread Jonathan Armitage

Dennis Peterson wrote:

This happens on every Solaris instance I've built.


Ah. Well perhaps you will be pleased to hear that the Solaris x86 
version you helped me with the other day is still going strong, although 
admittedly on a very lightly loaded machine (40-60 messages a day).


Jon
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Upgrade to .90?

2007-02-20 Thread Kevin Way
Dennis Peterson wrote:
 So, its been a few days. How is everyone feeling about the new version?
 I've hesitated to upgrade just yet. I've seen alot of feedback indicating
 problems and very little about smooth and great upgrades.

 What's the general concensous - You can't upgrade fast enough or Stay where
 you are?


 

 I just had to back it out of production. It would not run more than a couple
 minutes under a normal load that 88.7 shrugs off. It dies without any error
 messages.
   

Same here.  Tried to roll it into production in an exim/clamav setup. 
Had to back it out because it just got slower, and slower and then it
stopped.  No errors, just no more action.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Upgrade to .90?

2007-02-20 Thread Kevin Way
Tomasz Kojm wrote:
 On Thu, 15 Feb 2007 15:13:38 -0800
 Bill Landry [EMAIL PROTECTED] wrote:

   
 Tomasz Kojm wrote the following on 2/15/2007 3:00 PM -0800:
 
 On Thu, 15 Feb 2007 13:51:54 -0800
 Bill Landry [EMAIL PROTECTED] wrote:

   
   
 I just had to back it out of production. It would not run more than a
 couple minutes under a normal load that 88.7 shrugs off. It dies without
 any error messages.

 dp
   
   
 Yep, I observed the same behavior on Fedora Core 3, where clamd 0.90 
 dies without any indication as to why in any log files.  Not good...
 
 
 You didn't provide _any_ information that could be useful to us for
 debugging those issues. 
   
   
 What kind of info would you want me to provide when there were no 
 indications anywhere as to why clamd dies?  I have not reverted back 
 

 At least some basic information, eg. how you compiled ClamAV, did you use
 --enable-experimental, platform details, etc.

   

I had the same problems.  FreeBSD/i386 6.2p1 and 6.2p0.  Compiled
directly from the ports collection, without --experimental.

As far as we could tell, it just scanned slower and slower and then
stopped scanning.

If there's anything I can do to help get the info required to fix this,
let me know.

Kevin Way
InsideSystems, Inc.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Creation of binary .rpm package.

2007-02-20 Thread Graeme Nichols

Lorenzo Ortega wrote:

hello
   
try to download some rpm from:

http://dag.wieers.com/rpm/packages/clamav/

bests


Hello Lorenzo, thank you very much for that information. I'll go look.

Regards,

Graeme.



Graeme Nichols escribió:

Bill Randle wrote:

On Tue, 2007-02-20 at 12:58 +1100, Graeme Nichols wrote:

Hello,

I tried to create a binary .rpm package from the clamav-0.90.tar.gz
tarball using the command 'rpmbuild -tb clamav-0.90.tar.gz' which
failed with the following errors:

Is there a .spec file available for this tarball to enable me to
build a .rpm binary under FC6 as there is no .rpm binary on the
clamav repositories (no '6' directory at all)

If not, is there any other way to build an .rpm binary package?
Installing manually is not an option. Creates too many problems at a
later date or when upgrading the distribution.

Have you considered downloading an SRPM file for an earlier distro (FC5,
FC4) and build using that spec file? Chances are, it will work
unchanged on FC6.

-Bill

Hi Bill, nope, I hadn't thought of that but wouldn't I need a .src.rpm
for the 0.90 release? Do you know how to get the spec file out of the
older .src.rpm package for, say, FC5, and use it on the latest release
tarball? I know enough in this area to get by but no more.

Thanks






--

--
Kind regards,

Graeme.
--
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
--

Reality is just a crutch for people who can't handle science fiction.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Creation of binary .rpm package.

2007-02-20 Thread Graeme Nichols

Eric Hoeve wrote:

Graeme Nichols wrote:

Hello,

I tried to create a binary .rpm package from the clamav-0.90.tar.gz
tarball using the command 'rpmbuild -tb clamav-0.90.tar.gz' which failed
with the following errors:

[EMAIL PROTECTED] download]# rpmbuild -tb clamav-0.90.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
[EMAIL PROTECTED] download]#

Previous experience tells me this error is because there is no .spec
file in the tarball and I couldn't find one in the tarball.

Is there a .spec file available for this tarball to enable me to build a
.rpm binary under FC6 as there is no .rpm binary on the clamav
repositories (no '6' directory at all)

If not, is there any other way to build an .rpm binary package?
Installing manually is not an option. Creates too many problems at a
later date or when upgrading the distribution.

It would be very nice to have a .spec file included in the tarball
because distributions that use the RedHat Package Manager can create
their own .rpm binary obviating the need for the developers or whoever
to create one for each distribution.

Thanks.



You might want to take a look at:
http://atrpms.net/dist/fc6/clamav/


-Eric


Hello Eric, Thank you for that info. I didn't find that repository when 
I went searching on the net. I have bookmarked it.


Thanks again.

--

--
Kind regards,

Graeme.
--
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
--

Reality is just a crutch for people who can't handle science fiction.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Perl module Mail::ClamAV not compatible with ver.0.90

2007-02-20 Thread Juan David Hoyos
At CPAN there's a new version of Mail::ClamAV (0.20), but it doesn't
show any test and isn't packaged yet. Looks like is still in dev process.

See: http://search.cpan.org/~sabeck/Mail-ClamAV/

And: http://search.cpan.org/src/SABECK/Mail-ClamAV-0.20/

Worked fine for me.

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Re: clamav 0.90 -- Debian packages?

2007-02-20 Thread Lutz Petersen

 Can anybody explain what to write into /etc/apt/sources.list for Debian-Etch ?

 I tried to use the entry published in the Wiki, but this doesn't work..


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Re: clamav 0.90 -- Debian packages?

2007-02-20 Thread Stephen Gran
On Wed, Feb 21, 2007 at 01:56:20AM +0100, Lutz Petersen said:
 
  Can anybody explain what to write into /etc/apt/sources.list for Debian-Etch 
 ?
 
  I tried to use the entry published in the Wiki, but this doesn't work..

The packages for 0.90 have not yet made it to etch.  They are going to
take a coordinated push to make sure the update breaks nothing else.  If
you want, you can just grab the packages from unstable and install
directly on etch - nothing much should have changed, so they should
install without any problems right now.
-- 
 --
|  Stephen Gran  | If only God would give me some clear|
|  [EMAIL PROTECTED] | sign!  Like making a large deposit in   |
|  http://www.lobefin.net/~steve | my name at a Swiss Bank. - Woody Allen  |
 --


signature.asc
Description: Digital signature
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] Error compiling 0.90_2 on FreeBSD

2007-02-20 Thread Nicki de Wet
Hi,

I'm trying to upgrade to the latest version, however it gets an error in 
building libclamav. It seems that libpthread is required now, but it does not 
exist on the system I'm compiling on. It has never had a problem with this in 
the past.

Here is the compiler output:

bsd-ns2# make all
===  Building for clamav-0.90_2
make  all-recursive
Making all in libclamav
/bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc  -O -pipe   
-L/usr/local/lib  -pthread -o libclamav.la -rpath /usr/local/lib -thread-safe 
-version-info 1:40:0 -no-undefined matcher-ac.lo matcher-bm.lo matcher-ncore.lo 
 matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo  scanners.lo 
filetypes.lo rtf.lo blob.lo mbox.lo message.lo  snprintf.lo table.lo text.lo 
ole2_extract.lo vba_extract.lo  msexpand.lo pe.lo upx.lo htmlnorm.lo 
chmunpack.lo rebuildpe.lo  petite.lo wwunpack.lo suecrypt.lo unsp.lo 
packlibs.lo fsg.lo  mew.lo upack.lo line.lo untar.lo unzip.lo special.lo 
binhex.lo  is_tar.lo tnef.lo unrar15.lo unrarvm.lo unrar.lo  unrarfilter.lo 
unrarppm.lo unrar20.lo unrarcmd.lo pdf.lo  spin.lo yc.lo elf.lo sis.lo 
uuencode.lo phishcheck.lo  phish_domaincheck_db.lo phish_whitelist.lo 
regex_list.lo  sha256.lo mspack.lo cab.lo entconv.lo hashtab.lo dconf.lo  
lockdb.lo -liconv -lz -lbz2 -lgmp -lpthread -lc_r
cc -shared  .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher-ncore.o 
.libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o 
.libs/dsig.o .libs/str.o .libs/scanners.o .libs/filetypes.o .libs/rtf.o 
.libs/blob.o .libs/mbox.o .libs/message.o .libs/snprintf.o .libs/table.o 
.libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o 
.libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o 
.libs/petite.o .libs/wwunpack.o .libs/suecrypt.o .libs/unsp.o .libs/packlibs.o 
.libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o 
.libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/unrar15.o 
.libs/unrarvm.o .libs/unrar.o .libs/unrarfilter.o .libs/unrarppm.o 
.libs/unrar20.o .libs/unrarcmd.o .libs/pdf.o .libs/spin.o .libs/yc.o 
.libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o 
.libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o 
.libs/sha256.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o 
.libs/dconf.o .libs/lockdb.o  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath 
-Wl,/usr/local/lib -L/usr/local/lib -pthread -liconv -lz -lbz2 
/usr/local/lib/libgmp.so -lpthread  -pthread -pthread -pthread -Wl,-soname 
-Wl,libclamav.so.1 -o .libs/libclamav.so.1
/usr/libexec/elf/ld: cannot find -lpthread
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.90/libclamav.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.90.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.90.
*** Error code 1

Stop in /usr/ports/security/clamav.
bsd-ns2#

Regards,
Nicki
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html