[Clamav-users] Some Help on initial configuring clamd.conf

2006-03-12 Thread MP

Hi,
My questions would appear somehow dumb for some experts of yours but 
here they are :


Can someone tell me the differences between clamav-server and clamav ?
what's clamav-server and do I need it ?
trying to #/sbin/chkconfig --level 2345 clamav- on, idem for 
clamd.conf : what is  ?

what are the differences between clamscan and clamdscan ?

I have not find anything simple for my two little brain cells but 
relevant in clamav's docs and/or users' mailing lists...


Thank's for your help !
Marc

My distrib : Fedora Core 4 + clamav + clamav-lib + clamav-server + 
clamav-data + clamav-update (0.88.1.fc4)
(no sendmail nor postfix or other SMTP, just my poor little linux box 
with Mozilla 1.7.12-5)

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


Re: [Clamav-users] Some Help on initial configuring clamd.conf

2006-03-12 Thread MP

Matt Fretwell a écrit :


On Sun, 12 Mar 2006 11:49:41 +0100
MP <[EMAIL PROTECTED]> wrote:

 


Can someone tell me the differences between clamav-server and
clamav ? what's clamav-server and do I need it ?
trying to #/sbin/chkconfig --level 2345 clamav- on,
idem for  clamd.conf : what is  ?
what are the differences between clamscan and clamdscan ?
   



Clamscan is a commandline scanner which loads the DB's every
time it is called. Clamdscan communicates with the clamd server,
which is the more efficient method as the clamd daemon loads the
DB's once at startup, (and then just when the DB's are updated).


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

 

ok, that's fine, so when I need to scan a directory, I'll use clamdscan 
in the future.
Now, I'm trying to install clamd as a deamon, running at every linux 
startup.

Here is the output of /etc/init.d/clamd.init :

[EMAIL PROTECTED] init.d]$ more clamd.init
#!/bin/bash
#
# chkconfig: - 75 25
# description: The clamd server running for 

CLAMD_SERVICE=clamav-server
. /usr/share/clamav/clamd-wrapper
[EMAIL PROTECTED] init.d]$

Last question :
What  do I need to put into ?
If I clear the field, clamd-init complains about clamd.conf not configured.
Il I insert something like, let's say  "clamd" wich is the daemon I'd 
hope to start, here is the output :


Démarrage de clamd.clamav-server :/etc/init.d/functions: line 148: 
clamd.clamd : command not found

  [ÉCHOUÉ] (failed)

Of course clamd.clamd or clamd.whatever are not meant to be found among 
any existing executable in /usr/sbin or /usr/bin
I have the sensation that I will have to edit myself some *.conf files, 
replacing variables... which makes me feel rather inconfortable


Anyway, many thanks for your help !
Marc



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


Re: [Clamav-users] Some Help on initial configuring clamd.conf

2006-03-12 Thread MP

Matt Fretwell a écrit :


On Sun, 12 Mar 2006 14:53:21 +0100
MP <[EMAIL PROTECTED]> wrote:

 


[EMAIL PROTECTED] init.d]$ more clamd.init
#!/bin/bash
#
# chkconfig: - 75 25
# description: The clamd server running for 

CLAMD_SERVICE=clamav-server
. /usr/share/clamav/clamd-wrapper
[EMAIL PROTECTED] init.d]$

Last question :
What  do I need to put into ?
If I clear the field, clamd-init complains about clamd.conf
not configured. Il I insert something like, let's say  "clamd"
wich is the daemon I'd  hope to start, here is the output :
   




No idea. The above is specific to your distro. Type, from the
commandline:

/path/to/clamd

If it starts from that command, (shown by ps as running), the
error is in the startup script on your system. If not, you may
need to check paths/configs.


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

 


yes, something I don't know about had to be done somewhere.
I have made some little modifications to clamd.conf, clamd.init, 
clamd-wrapper (a symlink) and now, everything works fine and start as 
required.

Surely not like Fedora Extras intends to... but  it's doing good now,
Thanks,
Marc

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