[Clamav-users] Re: Debian woody update: clamav-milter won't run insupervised mode

2004-10-23 Thread Robert S
Thanks.  That's exactly what I did.  When I try to stop clamav-milter in 
supervised mode, clamav-milter remains in memory.  When I try to restart it 
I get the following:

Oct 24 14:19:14 debian clamav-milter: clamav-milter: fatal: failed to become 
a daemon: Resource temporarily unavailable.

I had a similar problem with another distro and fixed it by killing each 
instance of clamav-milter (using kill xxx) when I stopped it.  I think it 
might be necessary to do this.

Here's what works in gentoo:

stop() {
ebegin "Stopping clamav-milter (supervised)"
for i in `cat /var/run/clamd/daemon-clamav-milter.pid; pgrep -u clamav 
clamav-milter`
do
kill $i
done
#start-stop-daemon --oknodo -K -q -p 
/var/run/clamd/daemon-clamav-milter.pid
eend $? "Failed to stop clamav-milter (supervised)"
}


"Stephen Gran" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> ___
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 



___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Debian woody update: clamav-milter won't run in supervised mode

2004-10-23 Thread Stephen Gran
On Sun, Oct 24, 2004 at 09:17:02AM +1000, Robert S said:
> I am using daemon-0.6.3, compiled by hand - as far as I can see its not 
> available in woody.

Try people.debian.org/~sgran for woody debs of 0.80.  They are already
set up to run supervised under daemon, so if you have daemon installed,
it should work with little intervention on your part.
-- 
 --
|  Stephen Gran  | The bureaucracy is expanding to meet|
|  [EMAIL PROTECTED] | the needs of an expanding bureaucracy.  |
|  http://www.lobefin.net/~steve | |
 --


pgpSMqjct2x22.pgp
Description: PGP signature
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Freshclam update -- no md5sum

2004-10-23 Thread Mark Adams
Damian Menscher wrote:
On Sat, 23 Oct 2004, Brian Morrison wrote:
On Sat, 23 Oct 2004 12:22:06 -0600 in [EMAIL PROTECTED] Mark
Adams <[EMAIL PROTECTED]> wrote:
 I updated to the newest version of ClamAV (ver. 0.75.1)

Don't you mean 0.80?

I think he means 0.6x.  To my knowledge, there is no viruses.md5 in 
0.7x or above.

Hint to the original poster: delete your old install, then try 
upgrading again.  You appear to still be running the older freshclam.

Damian Menscher
Thanks for the attention guys.
I deleted the old version (the directory tree indicated that I had 
version 0.75.1, but urpmi would only install ver 0.6 something) and 
struggled around until I found rpm's at neocat.org.  I got ver. 0.80 
installed and ran freshclam to see this:

# freshclam
freshclam: relocation error: freshclam: undefined symbol: cli_strtok
What means this and how do I correct it?  Google is silent on the whole 
thing.

--
Mark E. Adams
http://adamslan.shyper.com
Random Musing: 
BOFH excuse #128:

Power Company having EMP problems with their reactor

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] Debian woody update: clamav-milter won't run in supervised mode

2004-10-23 Thread Robert S
I have just clam and clamav-milter on my woody (stable) system.  I am able 
to start clamd and clamav-milter in supervised mode (by specifying 
"foreground" in /etc/clamav/clamd.conf).  If I send myself a test virus, I 
get the following in my /var/log/mail.log:

Oct 24 09:00:13 debian sm-mta[8801]: i9NMxw7W008801: Milter (clmilter): to 
error state

.. and the virus infected message gets through.

I have managed to get things working OK with clamav-milter working in 
unsupervised mode, but the supervised mode has worked very well up until 
now.

I am using daemon-0.6.3, compiled by hand - as far as I can see its not 
available in woody.

Here is my clamd.conf for your information:

# cat /etc/clamav/clamd.conf
#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket
User clamav
AllowSupplementaryGroups
ScanMail
ScanArchive
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogFile /var/log/clamav/clamav.log
LogTime
LogFileMaxSize 0
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav/
SelfCheck 3600
#Foreground
ScanOLE2
ScanPE
DetectBrokenExecutables
ScanHTML
ArchiveBlockMax



___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Freshclam update -- no md5sum

2004-10-23 Thread Damian Menscher
On Sat, 23 Oct 2004, Brian Morrison wrote:
On Sat, 23 Oct 2004 12:22:06 -0600 in [EMAIL PROTECTED] Mark
Adams <[EMAIL PROTECTED]> wrote:
 I updated to the newest version of ClamAV (ver. 0.75.1)
Don't you mean 0.80?
I think he means 0.6x.  To my knowledge, there is no viruses.md5 in 0.7x 
or above.

Hint to the original poster: delete your old install, then try upgrading 
again.  You appear to still be running the older freshclam.

Damian Menscher
--
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Freshclam update -- no md5sum

2004-10-23 Thread Brian Morrison
On Sat, 23 Oct 2004 12:22:06 -0600 in [EMAIL PROTECTED] Mark
Adams <[EMAIL PROTECTED]> wrote:

>  I updated to the newest version of ClamAV (ver. 0.75.1)

Don't you mean 0.80?

-- 

Brian Morrison

bdm at fenrir dot org dot uk

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] Freshclam update -- no md5sum

2004-10-23 Thread Mark Adams
I updated to the newest version of ClamAV (ver. 0.75.1) and I've noticed 
the past couple of days that my Freshclam update has reported a bad md5sum:

==
freshclam -v
Current working dir is /var/lib/clamav
Checking for a new database - started at Sat Oct 23 11:36:06 2004
Connected to clamav.sourceforge.net.
Reading md5 sum (viruses.md5): ERROR: Malformed md5 checksum detected.
ERROR: Can't get viruses.md5 sum from clamav.sourceforge.net
Checking for a new database - started at Sat Oct 23 11:36:06 2004
Connected to clamav.elektrapro.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.elektrapro.com
Checking for a new database - started at Sat Oct 23 11:36:08 2004
Connected to clamav.ozforces.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.ozforces.com
Checking for a new database - started at Sat Oct 23 11:36:09 2004
Connected to clamav.essentkabel.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.essentkabel.com
Checking for a new database - started at Sat Oct 23 11:36:09 2004
Connected to clamav.linux-sxs.org.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.linux-sxs.org
Checking for a new database - started at Sat Oct 23 11:36:10 2004
Connected to clamav.rulez.pl.
Reading md5 sum (viruses.md5): OK
viruses.db is up to date.
Reading md5 sum (viruses2.md5): OK
Downloading viruses.db2 ... done
ERROR: The checksum of viruses.db2 database isn't ok. Please check it 
yourself or try again.
Checking for a new database - started at Sat Oct 23 11:36:26 2004
Connected to clamav.org.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.org
===

I suspected there was a misconfig. and Freshclam was not looking in the 
right place. I tried to find a way to check that configuration.  The 
clamav.conf file has nothing in it related to Freshclam.  "Locate" lists 
a file called "/etc/fresclam.conf" but it does not appear to exist.

Is my configuration hosed and looking at the wrong resource to update? 
Did I somehow screw up the update and fail to pick up the right mirror? 
Why no "/etc/freshclam.conf"?

Anybody else seeing this kind of thing?
--
Mark E. Adams
http://adamslan.shyper.com
Random Musing: 
Young men want to be faithful and are not; old men want to be faithless and
cannot.
		-- Oscar Wilde


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Problems Compiling on Solaris X86 Box

2004-10-23 Thread Dennis Peterson
Ken Jones wrote:
All,
I have been having problems compiling on a Solaris 8 X86 box since the
release of 80rc series.
Undefined   first referenced
 symbol in file
BZ2_bzRead  scanners.lo
BZ2_bzReadOpen  scanners.lo
BZ2_bzReadClose scanners.lo
ld: fatal: Symbol referencing errors. No output written to
.libs/libclamav.so.1.0.4
I can unzip / untar / configure and compile 75.1 and earlier without
trouble. With the 80 series, the above error occurs. Same environment
settings 
Thanks
You probably have the SUNWbzip package installed - it is a very old version. You 
can remove it and SUNWbzipx with pkgrm, then install the newest version from 
source or as packaged at SunFreeware. You might then want to create a soft link 
from /usr/bin/bzip2 to /usr/local/bin/bzip2 (and for all other executables in 
the package). Optionally, build the source and install it with PREFIX=/usr and 
avoid the link hassle.

dp
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] Mail::ClamAV on FC2

2004-10-23 Thread Rick Cooper


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gerry Doris
> Sent: Saturday, October 23, 2004 9:06 AM
> To: ClamAV users ML
> Subject: Re: [Clamav-users] Mail::ClamAV on FC2
>
>
> On Sat, 2004-10-23 at 09:03, Ralf Hildebrandt wrote:
> > * Gerry Doris <[EMAIL PROTECTED]>:
> >
> > > I have been unable to install the perl module Mail::ClamAV on
> either of my
> > > Fedora Core 2 boxes.
> >
> > Why?
>
> I've attached a file showing the errors I'm getting.  I checked for
> libclamav.so.1 and it is a symlink in /usr/local/lib to
> libclamav.so.1.0.4.
>
>

Check /etc/ld.so.conf and I believe you will find /usr/local/lib is missing.
I had the same problem with all my Fedora Core 2 boxes. Add /usr/local/lib
to /etc/ld.so.conf then run ldconfig and then do your Mail::ClamAV install
and all should be right with the world

Rick


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Mail::ClamAV on FC2

2004-10-23 Thread Gerry Doris
On Sat, 2004-10-23 at 09:03, Ralf Hildebrandt wrote:
> * Gerry Doris <[EMAIL PROTECTED]>:
> 
> > I have been unable to install the perl module Mail::ClamAV on either of my
> > Fedora Core 2 boxes.
> 
> Why?

I've attached a file showing the errors I'm getting.  I checked for
libclamav.so.1 and it is a symlink in /usr/local/lib to
libclamav.so.1.0.4.


-- 
Gerry Doris <[EMAIL PROTECTED]>
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/Mail-ClamAVNOK 1# Failed test (t/Mail-ClamAV.t at line 9)
# Tried to use 'Mail::ClamAV'.
# Error:  Had problems bootstrapping Inline module 'Mail::ClamAV'
#
# Can't load '/root/.cpan/build/Mail-ClamAV-0.12/blib/arch/auto/Mail/ClamAV/ClamAV.so' 
for module Mail::ClamAV: libclamav.so.1: cannot open shared object file:
No such file or directory at 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
#  at /usr/lib/perl5/vendor_perl/5.8.3/Inline.pm line 500
#
#
#  at /root/.cpan/build/Mail-ClamAV-0.12/blib/lib/Mail/ClamAV.pm line 159
# BEGIN failed--compilation aborted at 
/root/.cpan/build/Mail-ClamAV-0.12/blib/lib/Mail/ClamAV.pm line 498.
# Compilation failed in require at (eval 1) line 2.
"all" is not defined in %Mail::ClamAV::EXPORT_TAGS at t/Mail-ClamAV.t line 11
Can't continue after import errors at t/Mail-ClamAV.t line 11
# Looks like you planned 13 tests but only ran 1.
t/Mail-ClamAVdubious
Test returned status 13 (wstat 3328, 0xd00)
Scalar found where operator expected at (eval 152) line 1, near "'int'  $__val"
(Missing operator before   $__val?)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
t/Mail-ClamAV.t   13  332813   25 192.31%  1-13
Failed 1/1 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Mail::ClamAV on FC2

2004-10-23 Thread Ralf Hildebrandt
* Gerry Doris <[EMAIL PROTECTED]>:

> I have been unable to install the perl module Mail::ClamAV on either of my
> Fedora Core 2 boxes.

Why?
-- 
Ralf Hildebrandt (i.A. des IT-Zentrum)  [EMAIL PROTECTED]
Charite - Universitätsmedizin BerlinTel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-BerlinFax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF   AIM.  ralfpostfix
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] Mail::ClamAV on FC2

2004-10-23 Thread Gerry Doris
I have been unable to install the perl module Mail::ClamAV on either of my
Fedora Core 2 boxes.  Has anyone been able to get this to install on a FC2
system?  Is there some kind of work around?

Gerry


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users