Re: [Clamav-users] error can't create lock file database directory

2007-06-05 Thread Paul Griffith
On Sat, 02 Jun 2007 03:38:55 -0400, night duke <[EMAIL PROTECTED]>  
wrote:

> how can i fix this? does anyone know when will be released the rpm files  
> of version 0.90.3?
>  Thanks
>   freshclam --debug
> ClamAV update process started at Sat Jun  2 03:24:50 2007
> LibClamAV debug: Can't create Lock file for Database Directory:  
> /usr/  
> local/share/clamav
> main.inc is up to date (version: 43, sigs: 104500, f-level: 14,  
> build er: sven)
> daily.inc is up to date (version: 3337, sigs: 16524, f-level: 15,  
> bui lder: sven)
> LibClamAV Error: Database Directory: /usr/local/share/clamav not  
> lock ed
>
>
> -
Are you sure 90.3 will fix this problem, I didn't see anything in the  
Changlog? I have had this problem since .90 came out, and also with .90.1  
and .90.2. I run freshclam out of cron, and I just might wrap freshclam  
with a shell script to remove the .dbLock  file, before I call the real  
freshclam.

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


[Clamav-users] Handling mail surges

2007-09-12 Thread Paul Griffith
Greetings,

Does any one have any suggestions for handling spam surges? We had a spam  
mail surge and exim was getting connection timeout errors from the clamd  
socket, for spamassassin we can increase the number of child processes to  
handle more connections.

Any best of practices out there ?

A search of the mailing lists didn't find anything.

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


Re: [Clamav-users] Handling mail surges

2007-09-12 Thread Paul Griffith
On Wed, 12 Sep 2007 10:57:33 -0400, Paul Griffith <[EMAIL PROTECTED]>  
wrote:

> Greetings,
>
> Does any one have any suggestions for handling spam surges? We had a spam
> mail surge and exim was getting connection timeout errors from the clamd
> socket, for spamassassin we can increase the number of child processes to
> handle more connections.
>
> Any best of practices out there ?
>
> A search of the mailing lists didn't find anything.
>
> Thanks
> Paul
> --

I found some info...

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


Re: [Clamav-users] Lame mirror at [67.15.61.160]

2008-09-29 Thread Paul Griffith
On Thu, 25 Sep 2008 16:39:30 -0400, Michael Deutschmann  
<[EMAIL PROTECTED]> wrote:

> Lately I've noticed that freshclam is always running slowly for me.
>
> The problem appears to be that it is always first trying to use a mirror
> at [67.15.61.160], and there seems to be a blackhole between myself (at a
> static IP of [208.181.210.223]) and that mirror.  Freshclam always pauses
> for a while and then reports a timeout.  (Afterwards it moves on to a
> working mirror, so I do get my updates eventually.)
>
> I'm in Canada and have set freshclam.conf appropriately, so this problem
> mirror is under the db.ca.clamav.net name.
>
> Could someone look into this?  Is anyone else getting actual service
> from that IP?
>
>  Michael Deutschmann <[EMAIL PROTECTED]>
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml


I have nothing but problems with (67.15.61.160).

67.15.61.160 error from the freshclam logs.

Sat Sep 27 20:28:01 2008 -> --
Sat Sep 27 20:28:01 2008 -> ClamAV update process started at Sat Sep 27  
20:28:01 2008
Sat Sep 27 20:28:01 2008 -> main.cld is up to date (version: 48, sigs:  
399264, f-level: 35, builder: sven)
Sat Sep 27 20:28:02 2008 -> Trying host db.ca.clamav.net (67.15.61.160)...
Sat Sep 27 20:28:32 2008 -> nonblock_connect: connect timing out (30 secs)
Sat Sep 27 20:28:32 2008 -> Can't connect to port 80 of host  
db.ca.clamav.net (IP: 67.15.61.160)
Sat Sep 27 20:28:32 2008 -> Trying host db.ca.clamav.net (24.215.0.24)...
Sat Sep 27 20:28:32 2008 -> Downloading daily-8347.cdiff [100%]
Sat Sep 27 20:28:32 2008 -> daily.cld updated (version: 8347, sigs: 35676,  
f-level: 35, builder: guitar)
Sat Sep 27 20:28:32 2008 -> Database updated (434940 signatures) from  
db.ca.clamav.net (IP: 24.215.0.24)
Sat Sep 27 20:28:32 2008 -> Clamd successfully notified about the update.
Sat Sep 27 21:28:01 2008 -> --


-- 
Paul Griffith
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


[Clamav-users] freshclam - ERROR: Can't lock database directory: - stale .dbLock file

2007-02-22 Thread Paul Griffith

Greetings,

Has anyone encountered the following problem:

Somehow there was a stale .dbLock file in the database directory, and the  
log file was full of

'ERROR: Can't lock database directory: /cs/local/share/clamav'
I did a strace and saw the freashclam was trying to create a new .dbLock  
file, but it kept failing due to the existing .dbLock file. I am going to  
assume that a previous freshclam didn't exit cleanly and left a .dbLock  
around, is there a FixStaleDBLock file option similar to the  
FixStaleSocket option?


We normally run freshclam out of cron, ClamAv version 0.90 and we are  
using ScriptedUpdates.



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


Re: [Clamav-users] freshclam - ERROR: Can't lock database directory: - stale .dbLock file

2007-02-22 Thread Paul Griffith

On Thu, 22 Feb 2007 11:52:08 -0500, aCaB <[EMAIL PROTECTED]> wrote:


Paul Griffith wrote:

Greetings,

Has anyone encountered the following problem:

Somehow there was a stale .dbLock file in the database directory, and
the  log file was full of
'ERROR: Can't lock database directory: /cs/local/share/clamav'
I did a strace and saw the freashclam was trying to create a new
.dbLock  file, but it kept failing due to the existing .dbLock file. I
am going to  assume that a previous freshclam didn't exit cleanly and
left a .dbLock  around, is there a FixStaleDBLock file option similar to
the  FixStaleSocket option?

We normally run freshclam out of cron, ClamAv version 0.90 and we are
using ScriptedUpdates.


Hi Paul,
This happened to me a couple of times when I killed (TERM) freshclam
while a download was in progress...
Unfortunately I'm unable to reproduce the problem.

Could you please provide some hints?

-aCaB


I will see what happens today, I didn't do anything special in my setup.
 The only unique thing in my setup is that my database sits on a NFS share.

Here is what the stale .dbLock file looks like:

#ls -lait
total 8962
545006030 -rwxrwxr-- 1 clamav clamav 0 Feb 22 02:28 .dbLock*

The million dollar question is what happened between Feb 21 17:28 and Feb  
22 02:28.


Here are some log snippets...

--from /var/log/freshclam.0

ClamAV update process started at Wed Feb 21 15:28:06 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder:  
tkojm)
daily.inc is up to date (version: 2622, sigs: 9581, f-level: 13, builder:  
ccordes)

--
ClamAV update process started at Wed Feb 21 16:28:02 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder:  
tkojm)
daily.inc is up to date (version: 2622, sigs: 9581, f-level: 13, builder:  
ccordes)

--
ClamAV update process started at Wed Feb 21 17:28:01 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder:  
tkojm)

Downloading daily-2623.cdiff [0%]
daily.inc updated (version: 2623, sigs: 9598, f-level: 13, builder:  
ccordes)

Database updated (93549 signatures) from db.ca.clamav.net (IP: 24.215.0.24)
--
ERROR: Can't lock database directory: /cs/local/share/clamav
--
ERROR: Can't lock database directory: /cs/local/share/clamav
--

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