[prev in list] [next in list] [prev in thread] [next in thread] 

List:       razor-users
Subject:    Re: [Razor-users] got err 202 for query : 'razor-admin -d	-home=/etc/razor
From:       Dushyanth Harinath <dushyanth.h () directi ! com>
Date:       2005-05-03 12:26:53
Message-ID: 42776B3D.10500 () directi ! com
[Download RAW message or body]

hi,

> On Sat, 2005-04-30 at 07:01, Dushyanth Harinath wrote:
>
>>Hi guys,
>>
>>I have been using razor (Razor Agents 2.67, protocol version 3) since a
>>while and my setup suddenly broke one fine day and since then iam
>>getting this "got err 202 for query" everytime razor-check is run.
>
>
> Run razor-admin --discover again.
>
> It does that for me sometimes too.  usually I just try it two or three
> times and it starts working again.

Something weird is happening. I did what you suggested and it worked
yes'day. Again today, i was getting the same error in my logs. So I ran
a razor-check manually on a mail which was caught as spam yes'day and
below was the result i,e got err 202 for query.

[root@mail]# razor-check -d -dl=5 -home=/etc/razor
1115077269.M952836P2979V0000000000001601I00B89D59_0.mail.xxx.com\,S\ 595
  Razor-Log: read_file: 16 items read from /etc/razor/razor-agent.conf
May 03 10:44:01.640634 check[4904]: [ 2] [bootup] Logging initiated
LogDebugLevel=5 to stdout
May 03 10:44:01.641219 check[4904]: [ 5] computed razorhome=/etc/razor,
conf=/etc/razor/razor-agent.conf, ident=/etc/razor/identity-ru9eEUBW3J
May 03 10:44:01.641425 check[4904]: [ 2]  Razor-Agents v2.67 starting
razor-check -d -dl=5 -home=/etc/razor
1115077269.M952836P2979V0000000000001601I00B89D59_0.mail.xxx.com,S 595
May 03 10:44:01.662061 check[4904]: [ 5] 139084 seconds before closest
server discovery
May 03 10:44:01.677614 check[4904]: [ 5] Connecting to
shock.cloudmark.com ...
May 03 10:44:02.236169 check[4904]: [ 4] shock.cloudmark.com >> 36
server greeting: sn=C&srlP79&a=l&a=cg&ep4u42-10
May 03 10:44:02.236508 check[4904]: [ 4] shock.cloudmark.com << 25
May 03 10:44:02.236739 check[4904]: [ 4] shock.cloudmark.com << 14
May 03 10:44:02.794839 check[4904]: [ 4] shock.cloudmark.com >> 144
May 03 10:44:02.795475 check[4904]: [ 5] Updated to new server state srl
5079 for server shock.cloudmark.com
May 03 10:44:02.796201 check[4904]: [ 5] wrote 16 HASH items to file:
/etc/razor/server.shock.cloudmark.com.conf
May 03 10:44:02.796340 check[4904]: [ 5] srl was updated, forcing
discovery ...
May 03 10:44:02.796467 check[4904]: [ 5] 140954 seconds before closest
server discovery
May 03 10:44:02.796533 check[4904]: [ 5] forcing discovery
May 03 10:44:02.796725 check[4904]: [ 5] disconnecting from server
shock.cloudmark.com
May 03 10:44:02.796869 check[4904]: [ 4] shock.cloudmark.com << 5
May 03 10:44:02.797039 check[4904]: [ 5] Connecting to 66.151.150.12 ...
May 03 10:44:03.364276 check[4904]: [ 4] 66.151.150.12 >> 35 server
greeting: sn=D&srlI7&a=l&a=cg&ep4u42-10
May 03 10:44:03.364478 check[4904]: [ 4] 66.151.150.12 << 12
May 03 10:44:03.651711 check[4904]: [ 4] 66.151.150.12 >> 32
May 03 10:44:03.652036 check[4904]: [ 4] 66.151.150.12 << 12
May 03 10:44:03.936707 check[4904]: [ 4] 66.151.150.12 >> 51
May 03 10:44:03.937339 check[4904]: [ 5] wrote 1 ARRAY items to file:
/etc/razor/servers.catalogue.lst
May 03 10:44:03.937627 check[4904]: [ 5] wrote 2 ARRAY items to file:
/etc/razor/servers.nomination.lst
May 03 10:44:03.937983 check[4904]: [ 5] mail 1.0 e8 got no sig
May 03 10:44:03.938213 check[4904]: [ 5] mail 1.2 e8 got no sig
May 03 10:44:03.938630 check[4904]: [ 4] 66.151.150.12 << 184
May 03 10:44:04.223690 check[4904]: [ 4] 66.151.150.12 >> 40
May 03 10:44:04.224317 check[4904]: [ 4] mail 1.0 e=4
sig=XiZ_p5iAjwS5dGRSvakOlhClof4A: got err 202 for query:
  HASH - HASH(0x974b8f8),4 keys
     a => c
     e => 4
     ep4 => 7542-10
     s => XiZ_p5iAjwS5dGRSvakOlhClof4A
May 03 10:44:04.224546 check[4904]: [ 4] mail 1.1 e=4
sig=dGB8apVTXGSCOiMoMr3oIkdpWnIA: got err 202 for query:
  HASH - HASH(0x98d9208),4 keys
     a => c
     e => 4
     ep4 => 7542-10
     s => dGB8apVTXGSCOiMoMr3oIkdpWnIA
May 03 10:44:04.224713 check[4904]: [ 4] mail 1.1 e=8 sig=qYOIg-F-PqoA:
got err 202 for query:
  HASH - HASH(0x974b880),3 keys
     a => c
     e => 8
     s => qYOIg-F-PqoA
May 03 10:44:04.225108 check[4904]: [ 4] mail 1.2 e=4
sig=7mPD0pE6KypXHpa9dU2xcRFud24A: got err 202 for query:
  HASH - HASH(0x98d925c),4 keys
     a => c
     e => 4
     ep4 => 7542-10
     s => 7mPD0pE6KypXHpa9dU2xcRFud24A
May 03 10:44:04.225283 check[4904]: [ 3] mail 1 is not known spam.
May 03 10:44:04.225360 check[4904]: [ 5] disconnecting from server
66.151.150.12
May 03 10:44:04.225497 check[4904]: [ 4] 66.151.150.12 << 5

After this, I ran the razor-check again and this time surprisingly it
worked.

[root@mail new]# razor-check -d -dl=5 -home=/etc/razor
1115077269.M952836P2979V0000000000001601I00B89D59_0.mail.xxx.com\,S\ 595
  Razor-Log: read_file: 16 items read from /etc/razor/razor-agent.conf
May 03 10:44:28.091634 check[5183]: [ 2] [bootup] Logging initiated
LogDebugLevel=5 to stdout
May 03 10:44:28.092225 check[5183]: [ 5] computed razorhome=/etc/razor,
conf=/etc/razor/razor-agent.conf, ident=/etc/razor/identity-ru9eEUBW3J
May 03 10:44:28.092425 check[5183]: [ 2]  Razor-Agents v2.67 starting
razor-check -d -dl=5 -home=/etc/razor
1115077269.M952836P2979V0000000000001601I00B89D59_0.mail.xxx.com,S 595
May 03 10:44:28.096069 check[5183]: [ 5] read_file: 1 items read from
/etc/razor/servers.discovery.lst
May 03 10:44:28.096497 check[5183]: [ 5] read_file: 2 items read from
/etc/razor/servers.nomination.lst
May 03 10:44:28.096817 check[5183]: [ 5] read_file: 1 items read from
/etc/razor/servers.catalogue.lst
May 03 10:44:28.097937 check[5183]: [ 5] read_file: 14 items read from
/etc/razor/server.joy.cloudmark.com.conf
May 03 10:44:28.098505 check[5183]: [ 5] read_file: 14 items read from
/etc/razor/server.joy.cloudmark.com.conf
May 03 10:44:28.099057 check[5183]: [ 5] read_file: 16 items read from
/etc/razor/server.shock.cloudmark.com.conf
May 03 10:44:28.099568 check[5183]: [ 5] read_file: 16 items read from
/etc/razor/server.shock.cloudmark.com.conf
May 03 10:44:28.099855 check[5183]: [ 5] 152056 seconds before closest
server discovery
May 03 10:44:29.195106 check[5183]: [ 5] Connecting to
shock.cloudmark.com ...
May 03 10:44:29.759240 check[5183]: [ 4] shock.cloudmark.com >> 36
server greeting: sn=C&srlP79&a=l&a=cg&ep4u42-10
May 03 10:44:29.759561 check[5183]: [ 4] shock.cloudmark.com << 25
May 03 10:44:29.760477 check[5183]: [ 5] mail 1.0 e8 got no sig
May 03 10:44:29.760751 check[5183]: [ 5] mail 1.2 e8 got no sig
May 03 10:44:29.761236 check[5183]: [ 4] shock.cloudmark.com << 184
May 03 10:44:31.199465 check[5183]: [ 4] shock.cloudmark.com >> 38
May 03 10:44:31.200107 check[5183]: [ 3] mail 1 is known spam.
May 03 10:44:31.200215 check[5183]: [ 5] disconnecting from server
shock.cloudmark.com
May 03 10:44:31.200349 check[5183]: [ 4] shock.cloudmark.com << 5

Why is this happening ? Sometimes it works and sometimes it doesnt. I
also have razor-admin -discover in cron. This time i turned on
'turn_off_discovery' in razor-agent.conf. Lets see if this solves the
problem.

TIA
dushyanth



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic