Hello,
I'm having the same problem a few others on this list seem to have. Razor won't connect to any servers (output is pasted below). I'm running FreeBSD with Postfix and amavisd-new, but I get the same error when I run via the command line utilities. I applied the patch here:
http://www.niazi.net/computers/14/vipuls-razors-invalid-argument-error-in-razor-agentlog
It displays the correct IP addresses after applying this (manually), so DNS is working, but it still doesn't work and gives me the same error. I removed the patch afterwards. The setup is not chrooted currently, and resolv.conf is set up correctly. I have an identity and .conf and all that...I'm running as the vscan user (the user that created the identity and amavisd-new uses). If I try to connect to the servers manually via a simple "telnet server 2703" I get a connection refused error, though I'm not sure if the port is correct, or if it's even TCP.
If anyone has any ideas, please let me know. This is a test system and I'm perfectly willing to break it. :)
Thanks, Josh
$ cat /usr/local/share/doc/p5-Mail-SpamAssassin/sample-spam.txt | razor-check -d
Razor-Log: Computed razorhome from env: /var/amavis/.razor
Razor-Log: Found razorhome: /var/amavis/.razor
Razor-Log: read_file: 16 items read from /var/amavis/.razor/razor-agent.conf
Oct 07 11:36:23.035580 check[11458]: [ 2] [bootup] Logging initiated LogDebugLevel=9 to stdout
Oct 07 11:36:23.038145 check[11458]: [ 5] computed razorhome=/var/amavis/.razor, conf=/var/amavis/.razor/razor-agent.conf, ident=/var/amavis/.razor/identity-ru8mqrFvnu
Oct 07 11:36:23.039035 check[11458]: [ 2] Razor-Agents v2.61 starting razor-check -d
Oct 07 11:36:23.051121 check[11458]: [ 9] uname -a: FreeBSD chrysalis.elm.pragmeta.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Aug 27 15:19:32 EDT 2004 root@:/usr/obj/usr/src/sys/GENERIC i386
Oct 07 11:36:23.053499 check[11458]: [ 8] reading straight RFC822 mail from <stdin>
Oct 07 11:36:23.055308 check[11458]: [ 6] read 1 mail
Oct 07 11:36:23.056920 check[11458]: [ 8] Client supported_engines: 4 8
Oct 07 11:36:23.060035 check[11458]: [ 8] prep_mail done: mail 1 headers=293, mime0=616
Oct 07 11:36:23.061633 check[11458]: [ 6] skipping whitelist file (empty?): /var/amavis/.razor/razor-whitelist
Oct 07 11:36:23.063423 check[11458]: [ 5] read_file: 1 items read from /var/amavis/.razor/servers.discovery.lst
Oct 07 11:36:23.065199 check[11458]: [ 5] read_file: 2 items read from /var/amavis/.razor/servers.nomination.lst
Oct 07 11:36:23.067089 check[11458]: [ 5] read_file: 3 items read from /var/amavis/.razor/servers.catalogue.lst
Oct 07 11:36:23.069432 check[11458]: [ 9] Assigning defaults to joy.cloudmark.com
Oct 07 11:36:23.071922 check[11458]: [ 9] Assigning defaults to folly.cloudmark.com
Oct 07 11:36:23.073435 check[11458]: [ 9] Assigning defaults to pride.cloudmark.com
Oct 07 11:36:23.074971 check[11458]: [ 9] Assigning defaults to wonder.cloudmark.com
Oct 07 11:36:23.076429 check[11458]: [ 9] Assigning defaults to thrill.cloudmark.com
Oct 07 11:36:23.081174 check[11458]: [ 5] read_file: 14 items read from /var/amavis/.razor/server.joy.cloudmark.com.conf
Oct 07 11:36:23.084426 check[11458]: [ 5] read_file: 14 items read from /var/amavis/.razor/server.joy.cloudmark.com.conf
Oct 07 11:36:23.087971 check[11458]: [ 5] read_file: 16 items read from /var/amavis/.razor/server.thrill.cloudmark.com.conf
Oct 07 11:36:23.091409 check[11458]: [ 5] read_file: 16 items read from /var/amavis/.razor/server.thrill.cloudmark.com.conf
Oct 07 11:36:23.094915 check[11458]: [ 5] read_file: 16 items read from /var/amavis/.razor/server.pride.cloudmark.com.conf
Oct 07 11:36:23.098332 check[11458]: [ 5] read_file: 16 items read from /var/amavis/.razor/server.pride.cloudmark.com.conf
Oct 07 11:36:23.101907 check[11458]: [ 5] read_file: 16 items read from /var/amavis/.razor/server.wonder.cloudmark.com.conf
Oct 07 11:36:23.105331 check[11458]: [ 5] read_file: 16 items read from /var/amavis/.razor/server.wonder.cloudmark.com.conf
Oct 07 11:36:23.108658 check[11458]: [ 5] read_file: 14 items read from /var/amavis/.razor/server.folly.cloudmark.com.conf
Oct 07 11:36:23.111836 check[11458]: [ 5] read_file: 14 items read from /var/amavis/.razor/server.folly.cloudmark.com.conf
Oct 07 11:36:23.113637 check[11458]: [ 5] 156265 seconds before closest server discovery
Oct 07 11:36:23.114952 check[11458]: [ 6] pride.cloudmark.com is a Catalogue Server srl 5047; computed min_cf=6, Server se: C8
Oct 07 11:36:23.116315 check[11458]: [ 8] Computed supported_engines: 4 8
Oct 07 11:36:23.117576 check[11458]: [ 8] Using next closest server pride.cloudmark.com:2703, cached info srl 5047
Oct 07 11:36:23.118523 check[11458]: [ 8] mail 1 has no subject
Oct 07 11:36:23.120594 check[11458]: [ 6] preproc: mail 1.0 went from 616 bytes to 503
Oct 07 11:36:23.121773 check[11458]: [ 6] computing sigs for mail 1.0, len 503
Oct 07 11:36:23.131610 check[11458]: [ 6] Engine (8) didn't produce a signature for mail 1.0
Oct 07 11:36:23.133104 check[11458]: [ 5] Connecting to pride.cloudmark.com ...
Oct 07 11:36:23.309862 check[11458]: [ 3] Unable to connect to pride.cloudmark.com:2703; Reason: Invalid argument.
Oct 07 11:36:23.313954 check[11458]: [ 5] 168011 seconds before closest server discovery
Oct 07 11:36:23.320587 check[11458]: [ 6] wonder.cloudmark.com is a Catalogue Server srl 5042; computed min_cf=6, Server se: C8
Oct 07 11:36:23.324307 check[11458]: [ 8] Computed supported_engines: 4 8
Oct 07 11:36:23.326201 check[11458]: [ 8] Using next closest server wonder.cloudmark.com:2703, cached info srl 5042
Oct 07 11:36:23.327846 check[11458]: [ 5] Connecting to wonder.cloudmark.com ...
Oct 07 11:36:23.501374 check[11458]: [ 3] Unable to connect to wonder.cloudmark.com:2703; Reason: Invalid argument.
Oct 07 11:36:23.506868 check[11458]: [ 5] 155234 seconds before closest server discovery
Oct 07 11:36:23.514963 check[11458]: [ 6] thrill.cloudmark.com is a Catalogue Server srl 5047; computed min_cf=6, Server se: C8
Oct 07 11:36:23.517026 check[11458]: [ 8] Computed supported_engines: 4 8
Oct 07 11:36:23.518709 check[11458]: [ 8] Using next closest server thrill.cloudmark.com:2703, cached info srl 5047
Oct 07 11:36:23.520400 check[11458]: [ 5] Connecting to thrill.cloudmark.com ...
Oct 07 11:36:23.759088 check[11458]: [ 3] Unable to connect to thrill.cloudmark.com:2703; Reason: Invalid argument.
Oct 07 11:36:23.764001 check[11458]: [ 5] 153035 seconds before closest server discovery
Oct 07 11:36:23.770872 check[11458]: [ 5] 157578 seconds before closest server discovery
Oct 07 11:36:23.775287 check[11458]: [ 5] forcing discovery
Oct 07 11:36:23.777118 check[11458]: [ 8] already have 1 discovery servers
Oct 07 11:36:23.778508 check[11458]: [ 8] Checking with Razor Discovery Server 66.151.150.12
Oct 07 11:36:23.782068 check[11458]: [ 5] Connecting to 66.151.150.12 ...
Oct 07 11:36:24.004720 check[11458]: [ 8] Connection established
Oct 07 11:36:24.009383 check[11458]: [ 4] 66.151.150.12 >> 35 server greeting: sn=D&srl=459&a=l&a=cg&ep4=7542-10
Oct 07 11:36:24.016374 check[11458]: [ 4] 66.151.150.12 << 12
Oct 07 11:36:24.020870 check[11458]: [ 6] a=g&pm=csl
Oct 07 11:36:24.127278 check[11458]: [ 4] 66.151.150.12 >> 76
Oct 07 11:36:24.129083 check[11458]: [ 6] response to sent.1
-csl=?
thrill.cloudmark.com
pride.cloudmark.com
wonder.cloudmark.com
.
Oct 07 11:36:24.145802 check[11458]: [ 8] Discovery Server 66.151.150.12 replying with csl=thrill.cloudmark.com
Oct 07 11:36:24.149092 check[11458]: [ 8] Discovery Server 66.151.150.12 replying with csl=pride.cloudmark.com
Oct 07 11:36:24.152726 check[11458]: [ 8] Discovery Server 66.151.150.12 replying with csl=wonder.cloudmark.com
Oct 07 11:36:24.154242 check[11458]: [ 4] 66.151.150.12 << 12
Oct 07 11:36:24.155030 check[11458]: [ 6] a=g&pm=nsl
Oct 07 11:36:24.258699 check[11458]: [ 4] 66.151.150.12 >> 51
Oct 07 11:36:24.259689 check[11458]: [ 6] response to sent.2
-nsl=?
folly.cloudmark.com
joy.cloudmark.com
.
Oct 07 11:36:24.262211 check[11458]: [ 8] Discovery Server 66.151.150.12 replying with nsl=folly.cloudmark.com
Oct 07 11:36:24.263039 check[11458]: [ 8] Discovery Server 66.151.150.12 replying with nsl=joy.cloudmark.com
Oct 07 11:36:24.266275 check[11458]: [ 5] wrote 3 ARRAY items to file: /var/amavis/.razor/servers.catalogue.lst
Oct 07 11:36:24.268311 check[11458]: [ 5] wrote 2 ARRAY items to file: /var/amavis/.razor/servers.nomination.lst
Oct 07 11:36:24.269778 check[11458]: [ 6] pride.cloudmark.com is a Catalogue Server srl 5047; computed min_cf=6, Server se: C8
Oct 07 11:36:24.271022 check[11458]: [ 8] Computed supported_engines: 4 8
Oct 07 11:36:24.272120 check[11458]: [ 8] Using next closest server pride.cloudmark.com:2703, cached info srl 5047
Oct 07 11:36:24.273070 check[11458]: [ 6] losing old server connection, 66.151.150.12, for new server, pride.cloudmark.com
Oct 07 11:36:24.273919 check[11458]: [ 5] disconnecting from server 66.151.150.12
Oct 07 11:36:24.275148 check[11458]: [ 4] 66.151.150.12 << 5
Oct 07 11:36:24.275919 check[11458]: [ 6] a=q
Oct 07 11:36:24.277020 check[11458]: [ 5] Connecting to pride.cloudmark.com ...
Oct 07 11:36:24.505809 check[11458]: [ 3] Unable to connect to pride.cloudmark.com:2703; Reason: Invalid argument.
Oct 07 11:36:24.507866 check[11458]: [ 1] razor-check error: connect1: nextserver: No Razor servers available at this time
connect1: nextserver: No Razor servers available at this time
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users