Re: [Clamav-users] Clamav Install RH7.3

2005-02-28 Thread Daniel J McDonald
On Mon, 2005-02-28 at 09:05 -0500, Stoffel Bester wrote:
 hi
 
 Just having a issue installing clamav on my Redhat 7.3 box, getting some
 c compiler error
 
 configure: error: no acceptable C compiler found in $PATH.

Sounds like you either need to install a C compiler, or find some binary
RPMs of Clamav.

-- 
Daniel J McDonald, CCIE # 2495, CNX
Austin Energy

[EMAIL PROTECTED]

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Clamav Install RH7.3

2005-02-28 Thread Brian Morrison
On 28 Feb 2005 09:05:46 -0500 in [EMAIL PROTECTED]
Stoffel Bester [EMAIL PROTECTED] wrote:

 hi
 
 Just having a issue installing clamav on my Redhat 7.3 box, getting
 some c compiler error
 
 configure: error: no acceptable C compiler found in $PATH.

Try:

rpm -qa | grep gcc

and see whether you have any gcc packages installed.

-- 

Brian Morrison

bdm at fenrir dot org dot uk

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Clamav Install RH7.3

2005-02-28 Thread Stoffel Bester
hi

I get 
libgcc1-3.2.2-3
gcc-cpp-3.2.2-3


On Mon, 2005-02-28 at 08:22, Brian Morrison wrote:
 On 28 Feb 2005 09:05:46 -0500 in [EMAIL PROTECTED]
 Stoffel Bester [EMAIL PROTECTED] wrote:
 
  hi
  
  Just having a issue installing clamav on my Redhat 7.3 box, getting
  some c compiler error
  
  configure: error: no acceptable C compiler found in $PATH.
 
 Try:
 
 rpm -qa | grep gcc
 
 and see whether you have any gcc packages installed.

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Clamav Install RH7.3

2005-02-28 Thread Brian Morrison
On 28 Feb 2005 10:50:05 -0500 in [EMAIL PROTECTED]
Stoffel Bester [EMAIL PROTECTED] wrote:

  I get 
  libgcc1-3.2.2-3
  gcc-cpp-3.2.2-3

Then you need to install the gcc-3.2.2-5 package for RH 7.3, it will be
on the CDs or you can have a look at rpmfind.net or similar sites for
it.

FYI, my RH 9 box gives the following list:

gcc-c++-3.2.2-5
gcc-3.2.2-5
compat-gcc-c++-7.3-2.96.118
libgcc-3.2.2-5
gcc-g77-3.2.2-5
compat-gcc-7.3-2.96.118
gcc-objc-3.2.2-5
gcc-java-3.2.2-5

Most of the extras you may not need, but sometimes they're useful if
building source from other places.

-- 

Brian Morrison

bdm at fenrir dot org dot uk

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Clamav Install RH7.3

2005-02-28 Thread John Gallagher
On 28 Feb 2005 10:50:05 -0500 in [EMAIL PROTECTED]
Stoffel Bester [EMAIL PROTECTED] wrote:

  I get 
  libgcc1-3.2.2-3
  gcc-cpp-3.2.2-3

Then you need to install the gcc-3.2.2-5 package for RH 7.3, it will be
on the CDs or you can have a look at rpmfind.net or similar sites for
it.

FYI, my RH 9 box gives the following list:

gcc-c++-3.2.2-5
gcc-3.2.2-5
compat-gcc-c++-7.3-2.96.118
libgcc-3.2.2-5
gcc-g77-3.2.2-5
compat-gcc-7.3-2.96.118
gcc-objc-3.2.2-5
gcc-java-3.2.2-5

Most of the extras you may not need, but sometimes they're useful if
building source from other places.

-- 

Brian Morrison

You may want to try the following:

Install the apt application for the 7.3 distro from www.freshrpms.net.
(http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/apt-0.5.5cnc5-fr0.rh7
3.2.i386.rpm)

Run the following:

apt-get update

Check to see what packages are available:
apt-cache search gcc

Install the packages make sure these were listed in the output above:

apt-get install gcc gcc-c++ compat-gcc-c++ gcc-g77 compat-gcc
gcc-objc gcc-java

While your at it you may want to run the following to see what packages are
out of date on your system:

apt-get upgrade

Last you could look on this site and see if they have what you need
(http://dag.wieers.com/home-made/apt/, http://apt.sw.be/).  Edit the
/etc/apt-sources.list to include the dag repository and use the apt-cache
search command to search the packages (clamav, amavis-new...) 

John Gallagher 


___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] ClamAV Install

2005-01-24 Thread Mal Herring
 As both show, you've got an old version manually installed in
/usr/bin.  Remove this manually installed version and correct any
scripts that start freshclam/clamav.

Not sure how that got there - thanks for the help ! 
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] ClamAV Install

2005-01-24 Thread Mal Herring
 As both show, you've got an old version manually installed in 
 /usr/bin.  Remove this manually installed version and correct 
 any scripts that start freshclam/clamav.

Thanks for all the help on this - I unmerged clamav and manually deleted
the copy in /usr/local/bin

Then did a find / -name freshclam - Nothing was found.  I emerged
clamav again and now only a single instance can be found at
/usr/bin/freshclam

Freshclam --version shows ClamAV 0.80/507/Mon Sep 27 10:53:21 2004 

However running freshclam shows :

ClamAV update process started at Mon Jan 24 11:40:36 2005 Reading CVD
header (main.cvd): OK main.cvd is up to date (version: 29, sigs: 29086,
f-level: 3, builder: tomek)
WARNING: Your ClamAV installation is OUTDATED - please update
immediately!
WARNING: Current functionality level = 2, required = 3 Reading CVD
header (daily.cvd): OK daily.cvd is up to date (version: 680, sigs: 681,
f-level: 3, builder: ccordes)
WARNING: Your ClamAV installation is OUTDATED - please update
immediately!
WARNING: Current functionality level = 2, required = 3

Should I be concerned about this - do I still need to zap something or
do something to resolve this error ?

I have looked @ clamav.net but it just tells me to update to the latest
stable - which I am running right ?

Confused - if anyone can help further I would appreciate it.

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


Re: [Clamav-users] ClamAV Install

2005-01-24 Thread Craig Daters
Mal Herring wrote:
As both show, you've got an old version manually installed in 
/usr/bin.  Remove this manually installed version and correct 
any scripts that start freshclam/clamav.

Thanks for all the help on this - I unmerged clamav and manually deleted
the copy in /usr/local/bin
Then did a find / -name freshclam - Nothing was found.  I emerged
clamav again and now only a single instance can be found at
/usr/bin/freshclam
Freshclam --version shows ClamAV 0.80/507/Mon Sep 27 10:53:21 2004 

However running freshclam shows :
ClamAV update process started at Mon Jan 24 11:40:36 2005 Reading CVD
header (main.cvd): OK main.cvd is up to date (version: 29, sigs: 29086,
f-level: 3, builder: tomek)
WARNING: Your ClamAV installation is OUTDATED - please update
immediately!
WARNING: Current functionality level = 2, required = 3 Reading CVD
header (daily.cvd): OK daily.cvd is up to date (version: 680, sigs: 681,
f-level: 3, builder: ccordes)
WARNING: Your ClamAV installation is OUTDATED - please update
immediately!
WARNING: Current functionality level = 2, required = 3
Should I be concerned about this - do I still need to zap something or
do something to resolve this error ?
I have looked @ clamav.net but it just tells me to update to the latest
stable - which I am running right ?
Confused - if anyone can help further I would appreciate it.
You also need to remove the old library files that were installed with 
the older version of ClamAV before you do a 'fresh' install. This is why 
your freshclam shows that it is outdated.

I had the same problem and it took me several install and un-installs 
before I figured it out. I had initially just installed the new version 
without first un-installing the old. I'll never do that again :)

hth
--
Craig Daters ([EMAIL PROTECTED])
Systems Administrator
West Press Print Communications
1663 West Grant Road
Tucson, Arizona 85705
(520) 624-4939
(520) 624-2715 fax
www.westpress.com
--
Please note: It is the policy of West Press that all e-mail
sent to and from any @westpress.com address may be recorded
and monitored. Unless it is West Press related business,
please do not send any material of a private, personal,
or confidential nature to this or any @westpress.com
e-mail address.
This message has been scanned for UCE (spam), viruses,
and dangerous content, and is believed to be clean.
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] ClamAV Install

2005-01-24 Thread Mal Herring
 You also need to remove the old library files that were 
 installed with the older version of ClamAV before you do a 
 'fresh' install. This is why your freshclam shows that it is outdated.
 
 I had the same problem and it took me several install and 
 un-installs before I figured it out. I had initially just 
 installed the new version without first un-installing the 
 old. I'll never do that again :)

Being a little unsure - could you tell me the steps I need to take to
remove the libs ?

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


Re: [Clamav-users] ClamAV Install

2005-01-24 Thread Bob Hutchinson
On Monday 24 Jan 2005 16:49, Mal Herring wrote:
  You also need to remove the old library files that were
  installed with the older version of ClamAV before you do a
  'fresh' install. This is why your freshclam shows that it is outdated.
 
  I had the same problem and it took me several install and
  un-installs before I figured it out. I had initially just
  installed the new version without first un-installing the
  old. I'll never do that again :)

 Being a little unsure - could you tell me the steps I need to take to
 remove the libs ?

try

locate libclamav.

or if you don't have that

find / -name libclamav.*

likely in /usr/lib or /usr/local/lib


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

-- 
-
Bob Hutchinson
Midwales dot com
-
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] ClamAV Install

2005-01-22 Thread Rob MacGregor
On Fri, 21 Jan 2005 19:18:33 -, Mal Herring [EMAIL PROTECTED] wrote:
  If you do ps ax|grep freshclam what shows up?
 
  5563 ?Ss 0:00 /usr/bin/freshclam -d -c 2 -l
 /var/log/clam-update.log
  9234 pts/1S+ 0:00 grep freshclam
---SNIP--- 
 find: /var/spool/amavis/amavis-20050121T184209-09119: No such file or
 directory
 /usr/bin/freshclam
 /usr/local/bin/freshclam

As both show, you've got an old version manually installed in
/usr/bin.  Remove this manually installed version and correct any
scripts that start freshclam/clamav.

-- 
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he 
doesn't become a monster.  Friedrich Nietzsche
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] ClamAV Install

2005-01-21 Thread Samuel Benzaquen
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mal Herring
 
 
 Hello ClamAV-Users,
 I am running Clam on a Gentoo box, However the latest version is not yet
 in Portage...
 
 Does anyone know how much of a mission it would be to un-merge my
 current .80 version and install the latest from source ?
 
0.80 is the lastest release.
0.81rc1 is just a Release Candidate.
I'm guessing that's why it hasn't been updated on the portage tree.

Regards,

Samuel

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


RE: [Clamav-users] ClamAV Install

2005-01-21 Thread Mal Herring
0.80 is the lastest release.
0.81rc1 is just a Release Candidate.

---

Ok - I got confused as freshclam is telling me ClamAV install is
outdated and gives me a functionality level of 2
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] ClamAV Install

2005-01-21 Thread Rob MacGregor
On Fri, 21 Jan 2005 16:30:06 -, Mal Herring [EMAIL PROTECTED] wrote:
 Ok - I got confused as freshclam is telling me ClamAV install is
 outdated and gives me a functionality level of 2

Which suggests you've got a manually installed version in your path.

What does freshclam --version say?

-- 
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he 
doesn't become a monster.  Friedrich Nietzsche
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] ClamAV Install

2005-01-21 Thread Mal Herring
What does freshclam --version say?

-- 

ClamAV 0.80/507Mon Sep 27 10:53:21 2004

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


Re: [Clamav-users] ClamAV Install

2005-01-21 Thread Rob MacGregor
On Fri, 21 Jan 2005 17:38:55 -, Mal Herring [EMAIL PROTECTED] wrote:
 ClamAV 0.80/507Mon Sep 27 10:53:21 2004

Well, the one in your path is correct then.  Where are you seeing the
error about the functionality version?

If you do ps ax|grep freshclam what shows up?

Similarly, what does find / -name freshclam show?

Oh, and please don't separate your additions from the previous post by
using --  - that's a signature separator, not a reply separator.

-- 
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he 
doesn't become a monster.  Friedrich Nietzsche
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] ClamAV Install

2005-01-21 Thread Mal Herring
 If you do ps ax|grep freshclam what shows up?

 5563 ?Ss 0:00 /usr/bin/freshclam -d -c 2 -l
/var/log/clam-update.log
 9234 pts/1S+ 0:00 grep freshclam

 
 Similarly, what does find / -name freshclam show?

find: /var/spool/amavis/amavis-20050121T184209-09119: No such file or
directory
/usr/bin/freshclam
/usr/local/bin/freshclam

 Oh, and please don't separate your additions from the 
 previous post by using --  - that's a signature separator, 
 not a reply separator.

I hope this is preferred.  Thanks for the pointer.

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


Re: [Clamav-users] ClamAV Install

2005-01-21 Thread Todd Lyons
Mal Herring wanted us to know:

Hello ClamAV-Users,
I am running Clam on a Gentoo box, However the latest version is not yet
in Portage...
Does anyone know how much of a mission it would be to un-merge my
current .80 version and install the latest from source ?

emerge --unmerge clamav
tar -zxvf *.tar.gz
./configure (with a few extra settings that match your local needs)
-- 
Regards...  Todd
OS X: We've been fighting the It's a mac syndrome with upper management
for  years  now.  Lately  we've  taken  to  just  referring  to  new  mac 
installations  as  Unix  installations  when  presenting proposals  and 
updates.  For some reason, they have no problem with that.  -- /.
Linux kernel 2.6.8.1-12mdkenterprise   2 users,  load average: 1.81, 1.58, 1.31
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [clamav-users] clamav install

2003-06-10 Thread Diego d'Ambra









I use Clam with
qmail-scanner and the setup is quite simple.



Just download and install
the Clamav with the default options (configure, make, make install). You can run
configure with the option --disable-clamuko if you dont need this. Depending
on mail load I can highly recommend that you use the Clam daemon. Just
configure Clam to run as user qmailq (User qmailq) and socket (LocalSocket
/var/spool/qmailscan/clamd if you want qmail-scanner to communicate with Clam
via a socket).



After this, just run the
qmail-scanner install. It should detect the av-scanner automatically, but you
will have to change qmail-scanner to let it use either clamdscan or the socket
created through the conf-file. Attached you will find a subroutine you can use
in qmail-scanner to let it use socket (I havent tested it with RH8.0 but
it should work)  you will need some Perl understanding to implement this.
If this seems too difficult, I suggest you go with clamdscan.



Best regards,

Diego d'Ambra











-Original
Message-
From: Daniel Arjona
[mailto:[EMAIL PROTECTED] 
Sent: 10. juni 2003 22:20
To: [EMAIL PROTECTED]
Subject: [clamav-users] clamav
install





Hi, from Panama!!!











I'm a newbie using Linux and i got a
server with RH8.0, Qmail and Squid.











I need to install a Antivirus and
many users invitedme to use qmail-scanner, but to install qmail-scanner i must
install first clamav.











I'm using the tutorial publicated in
the home page of Clam AV and i need donĀ“t wanna run clamscan in superuser mode.











Can anybody help me?











Sorry, butmy english is
little.























DANIEL A. ARJONA V.
email: [EMAIL PROTECTED]














sub clamscan_scanner {
  #Clam scanner modification
  use IO::Socket;
  my($start_clam_time)=[gettimeofday];
  my($keep_scanning, $response, $virus_name, $stop_clam_time, $clam_time,
$path);

  debug(clam: starting scan of directory \$scandir/$file_id\...);

  $keep_scanning = 1;

  if(!(socket(\*sock, AF_UNIX, SOCK_STREAM, 0))) {
debug(Couldn\'t create clam socket\($!\)\n);
tempfail(Couldn\'t create clam socket\($!\)\n);
  }

  if(!(connect(\*sock, pack_sockaddr_un $clam_socket))) {
debug(Couldn\'t connect\(\) to the clam socket TSOCKET \($!\)\n);
tempfail(Couldn\'t connect\(\) to the clam socket TSOCKET \($!\)\n);
  }

  # Scan directory
  $path = SCAN $scandir/$file_id\n;
  syswrite(\*sock, $path, length($path));
  sysread(\*sock, $response, 256);

  if($response =~ /OK$/) {
debug(STATUS: $scandir/$file_id is clean! - response = $response\n);
  } elsif($response =~ /FOUND$/) {
# Virus found, find out what it is
if ($response =~ m/: .* FOUND$/) {
  ($quarantine_description) = ($response =~ m/: (.*) FOUND$/);
  $quarantine_description=~s/\0//g;
}
debug(There be a virus! ($quarantine_description));
($quarantine_event=$quarantine_description)=~s/\s/_/g;
$quarantine_event=Clam:.substr($quarantine_event,0,$QE_LEN);
};
$description .= \n---Clam daemon results ---\n;
$description .= FILE/DIR INFECTED : $scandir/$file_id\n;
$description .= VIRUS FOUND   : $quarantine_description\n;
  } else {
#This implies a corrupt set of files or resource problems...
tempfail(corrupt or unknown Clam scanner/resource problems);
  }
  $stop_clam_time=[gettimeofday];
  $clam_time = tv_interval ($start_clam_time, $stop_clam_time);
  debug(clam: finished scan of dir \$scandir/$file_id\ in $clam_time s
ecs);
}

###Comment###
Please note this subrutine uses a new variabel $clam_socket=/pathto/socket (see 
below). Add this to top of the qmail-scanner script.
Clamd config file (clamav.conf) should contain LocalSocket 
/var/spool/qmailscan/clamd (or path to qmail-scanner $scandir) and User qmailq (or 
user used by qmail-scanner). -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]