Queue problem

Maxime Gaudreault mgaudreault at reference.qc.ca
Wed Mar 5 16:26:03 GMT 2008


I reinstalled razor2 v2.84 using razor-admin -create and razor-admin -register

11:19:46 [1345] dbg: razor2: razor2 is available, version 2.84
11:19:54 [1345] dbg: rules: compiled full tests
11:19:54 [1345] dbg: info: entering helper-app run mode
11:20:04 [1345] dbg: info: leaving helper-app run mode
11:20:04 [1345] dbg: razor2: razor2 check timed out after 10 seconds

razor-agent.log:

Mar 05 11:19:54.378480 check[1345]: [ 2] [bootup] Logging initiated LogDebugLevel=5 to file:/var/log/razor-agent.log
Mar 05 11:19:54.378768 check[1345]: [ 5] computed razorhome=, conf=/etc/razor/razor-agent.conf, ident=identity
Mar 05 11:19:54.379383 check[1345]: [ 5] read_file: 1 items read from /etc/razor/servers.discovery.lst
Mar 05 11:19:54.379648 check[1345]: [ 5] read_file: 4 items read from /etc/razor/servers.nomination.lst
Mar 05 11:19:54.379929 check[1345]: [ 5] read_file: 5 items read from /etc/razor/servers.catalogue.lst
Mar 05 11:19:54.381043 check[1345]: [ 5] 151679 seconds before closest server discovery
Mar 05 11:19:54.381314 check[1345]: [ 5] no razorhome, not caching server info to disk
Mar 05 11:19:54.383995 check[1345]: [ 5] Connecting to c303.cloudmark.com ...
Mar 05 11:19:57.454347 check[1345]: [ 4] c303.cloudmark.com >> 36 server greeting: sn=C&srl=5426&a=1&a=cg&ep4=7542-10^M
Mar 05 11:19:57.454748 check[1345]: [ 4] c303.cloudmark.com << 25
Mar 05 11:19:57.454976 check[1345]: [ 4] c303.cloudmark.com << 14
Mar 05 11:19:57.542496 check[1345]: [ 4] c303.cloudmark.com >> 264
Mar 05 11:19:57.543777 check[1345]: [ 5] Updated to new server state srl 5426 for server c303.cloudmark.com
Mar 05 11:19:57.544120 check[1345]: [ 5] no razorhome, not caching server info to disk
Mar 05 11:19:57.544201 check[1345]: [ 5] srl was updated, forcing discovery ...
Mar 05 11:19:57.544352 check[1345]: [ 5] 167265 seconds before closest server discovery
Mar 05 11:19:57.544427 check[1345]: [ 5] forcing discovery
Mar 05 11:19:57.544681 check[1345]: [ 5] disconnecting from server c303.cloudmark.com
Mar 05 11:19:57.544857 check[1345]: [ 4] c303.cloudmark.com << 5
Mar 05 11:19:57.545013 check[1345]: [ 5] Connecting to discovery.razor.cloudmark.com ...
Mar 05 11:19:57.581489 check[1345]: [ 4] discovery.razor.cloudmark.com >> 35 server greeting: sn=D&srl=551&a=1&a=cg&ep4=7542-10^M
Mar 05 11:19:57.581731 check[1345]: [ 4] discovery.razor.cloudmark.com << 12
Mar 05 11:19:57.632396 check[1345]: [ 4] discovery.razor.cloudmark.com >> 111
Mar 05 11:19:57.632831 check[1345]: [ 4] discovery.razor.cloudmark.com << 12
Mar 05 11:19:57.647953 check[1345]: [ 4] discovery.razor.cloudmark.com >> 91
Mar 05 11:19:57.648340 check[1345]: [ 5] disconnecting from server discovery.razor.cloudmark.com
Mar 05 11:19:57.648496 check[1345]: [ 4] discovery.razor.cloudmark.com << 5
Mar 05 11:19:57.648631 check[1345]: [ 5] no razorhome, not caching server info to disk
Mar 05 11:19:57.648957 check[1345]: [ 5] mail 1.0 e8 got no sig
Mar 05 11:19:57.649071 check[1345]: [ 5] Connecting to c303.cloudmark.com ...

It still says no razorhome but look at /etc/razor/razor-agent.conf:

debuglevel             = 5
identity               = identity
ignorelist             = 0
listfile_catalogue     = /etc/razor/servers.catalogue.lst
listfile_discovery     = /etc/razor/servers.discovery.lst
listfile_nomination    = /etc/razor/servers.nomination.lst
logfile                = /var/log/razor-agent.log
logic_method           = 4
min_cf                 = ac
razordiscovery         = discovery.razor.cloudmark.com
razorhome              = /etc/razor
rediscovery_wait       = 172800
report_headers         = 1
turn_off_discovery     = 0
use_engines            = 4,8
whitelist              = razor-whitelist



Maxime Gaudreault
Technicien
                                                  
Référence Systèmes inc.
Tél. : 418.650.0997
Téléc. : 418.650.9668
Courriel : mgaudreault at reference.qc.ca
Site Internet : http://www.reference.qc.ca/


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Scott Silva
Sent: March 4, 2008 6:08 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: Queue problem

on 3-4-2008 1:16 PM Maxime Gaudreault spake the following:
> I checked in the razor logs:
> 
> /var/log/razor-agent.log
> Mar 04 16:08:38.140629 check[20110]: [ 2] [bootup] Logging initiated 
> LogDebugLevel=5 to file:/var/log/razor-agent.log Mar 04 
> 16:08:38.153913 check[20110]: [ 5] computed razorhome=, 
> conf=/etc/razor/razor-agent.conf, ident=identity Mar 04 
> 16:08:38.155358 check[20110]: [ 5] read_file: 1 items read from 
> /etc/razor/servers.discovery.lst Mar 04 16:08:38.155662 check[20110]: 
> [ 5] read_file: 4 items read from /etc/razor/servers.nomination.lst Mar 04 16:08:38.156001 check[20110]: [ 5] read_file: 5 items read from /etc/razor/servers.catalogue.lst Mar 04 16:08:38.157371 check[20110]: [ 5] server discovery overdue by 200108 seconds Mar 04 16:08:38.157633 check[20110]: [ 5] Connecting to discovery.spamnet.com ...
> Mar 04 16:08:38.640861 check[20110]: [ 4] discovery.spamnet.com >> 35 
> server greeting: sn=D&srl=551&a=1&a=cg&ep4=7542-10^M
> Mar 04 16:08:38.641150 check[20110]: [ 4] discovery.spamnet.com << 12 
> Mar 04 16:08:38.851323 check[20110]: [ 4] discovery.spamnet.com >> 111 
> Mar 04 16:08:38.851809 check[20110]: [ 4] discovery.spamnet.com << 12 
> Mar 04 16:08:38.999376 check[20110]: [ 4] discovery.spamnet.com >> 91 
> Mar 04 16:08:38.999868 check[20110]: [ 5] no razorhome, not caching 
> server info to disk Mar 04 16:08:39.000256 check[20110]: [ 5] no 
> razorhome, not caching server info to disk Mar 04 16:08:39.006854 
> check[20110]: [ 5] disconnecting from server discovery.spamnet.com Mar 
> 04 16:08:39.007095 check[20110]: [ 4] discovery.spamnet.com << 5 Mar 04 16:08:39.007266 check[20110]: [ 5] Connecting to c302.cloudmark.com ...
> Mar 04 16:08:48.313318 check[20110]: [ 4] c302.cloudmark.com >> 36 
> server greeting: sn=C&srl=5425&a=1&a=cg&ep4=7542-10^M
> Mar 04 16:08:48.313697 check[20110]: [ 4] c302.cloudmark.com << 25 Mar 
> 04 16:08:48.313904 check[20110]: [ 4] c302.cloudmark.com << 14 Mar 04 
> 16:08:48.541427 check[20110]: [ 4] c302.cloudmark.com >> 264 Mar 04 
> 16:08:48.545907 check[20110]: [ 5] Updated to new server state srl 
> 5425 for server c302.cloudmark.com Mar 04 16:08:48.546206 
> check[20110]: [ 5] no razorhome, not caching server info to disk Mar 04 16:08:48.546280 check[20110]: [ 5] srl was updated, forcing discovery ...
> Mar 04 16:08:48.546452 check[20110]: [ 5] server discovery overdue by 
> 188232 seconds Mar 04 16:08:48.546622 check[20110]: [ 5] disconnecting 
> from server c302.cloudmark.com Mar 04 16:08:48.546786 check[20110]: [ 
> 4] c302.cloudmark.com << 5 Mar 04 16:08:48.546917 check[20110]: [ 5] Connecting to discovery.spamnet.com ...
> Mar 04 16:08:48.873911 check[20110]: [ 4] discovery.spamnet.com >> 35 
> server greeting: sn=D&srl=551&a=1&a=cg&ep4=7542-10^M
> Mar 04 16:08:48.874136 check[20110]: [ 4] discovery.spamnet.com << 12
> 
> MailScanner debug output:
> 16:08:38 [20110] dbg: rules: ran eval rule __MIME_QP ======> got hit 
> (2)
> 16:08:38 [20110] dbg: rules: running full tests; score so far=17.316
> 16:08:38 [20110] dbg: info: entering helper-app run mode
> 16:08:49 [20110] dbg: info: leaving helper-app run mode
> 16:08:49 [20110] dbg: razor2: razor2 check timed out after 10 seconds
> 16:08:49 [20110] dbg: razor2: results: spam? 0
> 16:08:49 [20110] dbg: razor2: results: engine 8, highest cf score: 0
> 16:08:49 [20110] dbg: razor2: results: engine 4, highest cf score: 0
> 
> I understand there's been a delay while contacting c302.cloudmark.com but not at every tries. What could I do ?
> 
Did you complete the razor install with razor-admin -create and razor-admin -register?
Razor is having problems getting to its home directory, and not saving its discovery cache. So it looks like it is doing a server discover at every invocation. That is part of your timeout .



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!



More information about the MailScanner mailing list