[LUNI] Request Help with ClamAv

Svaldi, Fred E GS Fred.Svaldi at med.navy.mil
Mon Jul 30 11:18:53 CDT 2007


Trev,

Yes, I agree, though I'm learning that the hard way.

What actually happened was that I originally loaded Clamav from the
ubuntu/debian packages, then I un-installed it because freshclam kept
saying my version was out of date (though everything was working well),
then I loaded it from source, after which things didn't work right.
Then I tried reloading the package over the source download, since the
wiki page said it wasn't critical to remove the source files.

Now, my plan is to remove everything associated with clamav and start
over, but the clamav and associated files are located throughout my file
system and I can't figure out how to remove them all; hence, my question
below about using the "make uninstall" command to remove all the source
packages.  Or, I guess I could just manually remove the files, but I
tried removing a clamd.config file and there didn't seem to be a
"delete" option.

Fred 

-----Original Message-----
From: luni-bounces at luni.org [mailto:luni-bounces at luni.org] On Behalf Of
Trev Peterson
Sent: Monday, July 30, 2007 9:40 AM
To: Linux Users Of Northern Illinois - Technical Discussion
Subject: Re: [LUNI] Request Help with ClamAv

I would suggest that if you are using Ubuntu or Debian you use the
packages for the distro version you have (Feisty, Edgy, Etch, etc)
unless you have a pressing need not to.  The repositories for these
should be setup already so there is no need to go find the packages.
This saves time, reduces potential conflicts, and keeps your system
clean (since all files are associated with packages).

HTH,

	Trev

On Mon, 2007-07-30 at 08:28 -0500, Svaldi, Fred E GS wrote:
> To Linux Users of N. Illinois,
> 
>  
> 
> Ok it looks like I had only one version of clamav/clamd on my system.
> Since I can't get the version of clamav (that I compiled from source)
to
> work properly, I'm going to remove it, then reinstall it from a
(debian)
> package, which I know will work.
> 
>  
> 
> To remove clamav compiled from source, the clamav wiki says to enter
the
> command make uninstall.  I tried make uninstall clamav, but that
didn't
> work.  Question:  How do I remove all the files that were downloaded
> when I compiled clamav from source so that I can do a fresh install
from
> the packages?
> 
>  
> 
> Fred
> 
>  
> 
> -----Original Message-----
> From: luni-bounces at luni.org [mailto:luni-bounces at luni.org] On Behalf
Of
> Samir Faci
> Sent: Friday, July 27, 2007 10:30 AM
> To: Linux Users Of Northern Illinois - Technical Discussion
> Subject: Re: [LUNI] Request Help with ClamAv
> 
>  
> 
> Right, but that's depending on the user and the environment vars, you
> 
> really have no reason to have 2 versions of clamd installed, find the
> 
> one that's unneded and remove it and rename it.
> 
>  
> 
> --
> 
> Samir
> 
>  
> 
> On 7/27/07, Roberto Serrano <ohrock at gmail.com> wrote:
> 
> > Yeah, you could also see from the terminal which one is the
"default"
> by
> 
> > typing:
> 
> > 
> 
> > which clamd
> 
> > 
> 
> > Roberto
> 
> > 
> 
> > On 7/27/07, Samir Faci <sfaci at cs.uic.edu> wrote:
> 
> > >
> 
> > > well, search for clamd which is the binary.  you do this either
from
> 
> > > the GUI, I'm sure Ubuntu has some sort of search functionality,
> maybe
> 
> > > Roberto can fill you in.  He's a bit more of an Ubuntu fan boy
then
> I
> 
> > > am.
> 
> > >
> 
> > > if you want to do this from the console you could do something
like
> 
> > >
> 
> > > sudo find / -iname "clamd"
> 
> > >
> 
> > > see if there are multiple versions of clamd, then to find the
> version
> 
> > > just type clamd --version
> 
> > >
> 
> > > again all this is from the console.  Be careful with from source
and
> 
> > > binary installs.. you can have conflicts that can confuse
> 
> > > Ubuntu/whatever distro you use.
> 
> > >
> 
> > > btw, if you really wanna have some fun, try instaling a mailserver
> and
> 
> > > tying in clamd into the mailserver, to automatically scan all
> incoming
> 
> > > emails.
> 
> > >
> 
> > > An Ubuntu guide for what I just mentioned:
> 
> > >
http://www.howtoforge.com/postfix_antispam_mailscanner_clamav_ubuntu
> 
> > >
> 
> > >
> 
> > > --
> 
> > > Samir
> 
> > >
> 
> > > On 7/27/07, Svaldi, Fred E GS <Fred.Svaldi at med.navy.mil> wrote:
> 
> > > > Roberto,
> 
> > > >
> 
> > > > I actually have a cousin in Italy named Roberto.  Ciao, Roberto!
> 
> > > >
> 
> > > > I run ClamAv on my personal computer only.  I have heard I do
not
> need
> 
> > > > to run an anti-virus program, but I still do so out of habit.
> 
> > > >
> 
> > > > I did this mainly as an exercise to understand how to compile
from
> 
> > > > source, and to learn how to work through configuration problems.
> 
> > > >
> 
> > > > So....if anyone can help me figure out how to resolve the error
> messages
> 
> > > > (see below), or point me in the right direction, that would be
> great.
> 
> > > > If the solution is somewhat intuitive, I could probably figure
it
> out
> 
> > > > with just a little help.
> 
> > > >
> 
> > > > Fred
> 
> > > >
> 
> > > > -----Original Message-----
> 
> > > > From: luni-bounces at luni.org [mailto:luni-bounces at luni.org] On
> Behalf Of
> 
> > > > Roberto Serrano
> 
> > > > Sent: Friday, July 27, 2007 9:01 AM
> 
> > > > To: Linux Users Of Northern Illinois - Technical Discussion
> 
> > > > Subject: Re: [LUNI] Request Help with ClamAv
> 
> > > >
> 
> > > > Are you running this in a server, or are you tunning this in
your
> 
> > > > personal
> 
> > > > computer.  Clam AV is mostly a product design for a Linux Server
> working
> 
> > > > in
> 
> > > > a windows environment.  As far as I know, Clam AV is mostly
design
> to
> 
> > > > detect
> 
> > > > windows viruses.
> 
> > > >
> 
> > > > I don't use anti-virus in any of me Linux computers - and Linux
is
> the
> 
> > > > only
> 
> > > > thing I use.  Most people I know, that use Linux, don't use
> anti-virus.
> 
> > > >
> 
> > > > So if this is for personal use, I know is weird coming from
> windows, but
> 
> > > > you
> 
> > > > don't need anti-virus.  You need a good backup strategy and that
> is all.
> 
> > > >
> 
> > > > Roberto
> 
> > > >
> 
> > > > On 7/27/07, Svaldi, Fred E GS <Fred.Svaldi at med.navy.mil> wrote:
> 
> > > > >
> 
> > > > > To all,
> 
> > > > >
> 
> > > > > Can anyone help?
> 
> > > > >
> 
> > > > > I am relatively new to Linux.  I attempted to compile ClamAv
> from
> 
> > > > source
> 
> > > > > to get the latest version.  I removed my original ClamAv
> installation
> 
> > > > > package before starting.  I downloaded the source code, and,
as
> far as
> 
> > > > I
> 
> > > > > could tell, got it installed using "./configure, make, and
sudo
> make
> 
> > > > > install."
> 
> > > > >
> 
> > > > > I then ran freshclam from the command line and received some
> error
> 
> > > > > messages, with instructions to edit the example config file
for
> 
> > > > > freshclam.config, and also to edit the example config file for
> 
> > > > > clamd.config.  Another error message noted that I could not
> parse the
> 
> > > > > example clamd.config (or something like that).  I could not
> manage to
> 
> > > > > work past this.
> 
> > > > >
> 
> > > > > Then, I installed clamTk from the synaptic packages (I use
> Ubuntu Edgy
> 
> > > > > Eft), which is an older version of the current clamTk version
> per the
> 
> > > > > clamTk home page.  When clamTk installed, it appeared to
> re-install
> 
> > > > the
> 
> > > > > older (0.88) version of ClamAv.  I went to Synaptic Package
> Manager
> 
> > > > and
> 
> > > > > the older ClamAv package is marked as installed.
> 
> > > > >
> 
> > > > > How can I tell what version of ClamAv I actually have on my
> system?  I
> 
> > > > > have confirmation that my signatures are up to date, and I can
> run
> 
> > > > scans
> 
> > > > > via the clamTk GUI.
> 
> > > > >
> 
> > > > > If anyone has any suggestions I would appreciate it.
> 
> > > > >
> 
> > > > > Regards, F. S.
> 
> > > > >
> 
> > > > > --
> 
> > > > > Linux Users Of Northern Illinois - Technical Discussion
> 
> > > > > http://luni.org/mailman/listinfo/luni
> 
> > > > >
> 
> > > > --
> 
> > > > Linux Users Of Northern Illinois - Technical Discussion
> 
> > > > http://luni.org/mailman/listinfo/luni
> 
> > > >
> 
> > > > --
> 
> > > > Linux Users Of Northern Illinois - Technical Discussion
> 
> > > > http://luni.org/mailman/listinfo/luni
> 
> > > >
> 
> > > --
> 
> > > Linux Users Of Northern Illinois - Technical Discussion
> 
> > > http://luni.org/mailman/listinfo/luni
> 
> > >
> 
> > --
> 
> > Linux Users Of Northern Illinois - Technical Discussion
> 
> > http://luni.org/mailman/listinfo/luni
> 
> > 
> 
> -- 
> 
> Linux Users Of Northern Illinois - Technical Discussion 
> 
> http://luni.org/mailman/listinfo/luni
> 
> 
-- 
Trev Peterson
Advanced Reality
Email: trev at advanced-reality.com
Phone: +1 847 406 9018


-- 
Linux Users Of Northern Illinois - Technical Discussion 
http://luni.org/mailman/listinfo/luni



More information about the luni mailing list