Queue problem
Glenn Steen
glenn.steen at gmail.com
Wed Mar 5 09:24:27 GMT 2008
On 05/03/2008, Scott Silva <ssilva at sgvwater.com> wrote:
> 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 .
>
Ah... Spot on Scott... Might be taht it is the usual thing... Postfix
home-dir isn't writable (and should NOT be), so either create&chown
$HOME/.razor accordingly, or ... do as the wiki tells you, to handle
this:-).
Cheers
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list