| 1 |
From: [email protected] Mon Sep 2 12:20:32 2002 |
| 2 |
Return-Path: <[email protected]> |
| 3 |
Delivered-To: [email protected] |
| 4 |
Received: from localhost (localhost [127.0.0.1]) |
| 5 |
by phobos.labs.netnoteinc.com (Postfix) with ESMTP id D8F2643F9B |
| 6 |
for <zzzz@localhost>; Mon, 2 Sep 2002 07:20:28 -0400 (EDT) |
| 7 |
Received: from phobos [127.0.0.1] |
| 8 |
by localhost with IMAP (fetchmail-5.9.0) |
| 9 |
for zzzz@localhost (single-drop); Mon, 02 Sep 2002 12:20:30 +0100 (IST) |
| 10 |
Received: from usw-sf-list2.sourceforge.net (usw-sf-fw2.sourceforge.net |
| 11 |
[216.136.171.252]) by dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id |
| 12 |
g7TJQgZ25729 for <[email protected]>; Thu, 29 Aug 2002 20:26:42 +0100 |
| 13 |
Received: from usw-sf-list1-b.sourceforge.net ([10.3.1.13] |
| 14 |
helo=usw-sf-list1.sourceforge.net) by usw-sf-list2.sourceforge.net with |
| 15 |
esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kUmz-0004JX-00; Thu, |
| 16 |
29 Aug 2002 12:17:09 -0700 |
| 17 |
Received: from mailgate.sri.com ([128.18.243.11]) by |
| 18 |
usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id |
| 19 |
17kUmC-0008At-00 for <[email protected]>; Thu, |
| 20 |
29 Aug 2002 12:16:20 -0700 |
| 21 |
Received: (qmail 23083 invoked from network); 29 Aug 2002 19:15:48 -0000 |
| 22 |
Received: from localhost (HELO mailgate.SRI.COM) (127.0.0.1) by |
| 23 |
mailgate.sri.com with SMTP; 29 Aug 2002 19:15:48 -0000 |
| 24 |
Received: from newmail.sri.com ([128.18.30.43]) by mailgate.SRI.COM (NAVGW |
| 25 |
2.5.1.18) with SMTP id M2002082912154827439 for |
| 26 |
<[email protected]>; Thu, 29 Aug 2002 12:15:48 -0700 |
| 27 |
Received: from sri.com ([128.18.28.107]) by newmail.sri.com (Netscape |
| 28 |
Messaging Server 4.15) with ESMTP id H1MDJE00.QC6 for |
| 29 |
<[email protected]>; Thu, 29 Aug 2002 12:16:26 -0700 |
| 30 |
Message-Id: <[email protected]> |
| 31 |
From: "Michael Duff" <[email protected]> |
| 32 |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) |
| 33 |
Gecko/20020826 |
| 34 |
X-Accept-Language: en-us, en |
| 35 |
MIME-Version: 1.0 |
| 36 |
To: [email protected] |
| 37 |
Content-Type: text/plain; charset=us-ascii; format=flowed |
| 38 |
Content-Transfer-Encoding: 7bit |
| 39 |
Subject: [Razor-users] Re: Can't call method "log" with SA/Razor2 |
| 40 |
Sender: [email protected] |
| 41 |
Errors-To: [email protected] |
| 42 |
X-Beenthere: [email protected] |
| 43 |
X-Mailman-Version: 2.0.9-sf.net |
| 44 |
Precedence: bulk |
| 45 |
List-Help: <mailto:[email protected]?subject=help> |
| 46 |
List-Post: <mailto:[email protected]> |
| 47 |
List-Subscribe: <https://example.sourceforge.net/lists/listinfo/razor-users>, |
| 48 |
<mailto:[email protected]?subject=subscribe> |
| 49 |
List-Id: <razor-users.example.sourceforge.net> |
| 50 |
List-Unsubscribe: <https://example.sourceforge.net/lists/listinfo/razor-users>, |
| 51 |
<mailto:[email protected]?subject=unsubscribe> |
| 52 |
List-Archive: <http://www.geocrawler.com/redir-sf.php3?list=razor-users> |
| 53 |
X-Original-Date: Thu, 29 Aug 2002 12:17:27 -0700 |
| 54 |
Date: Thu, 29 Aug 2002 12:17:27 -0700 |
| 55 |
|
| 56 |
This is happening due to insufficient write access to the |
| 57 |
"razor-agent.log" file. I was getting the same error, but |
| 58 |
only as a non-root user. As a quick workaround, you can do |
| 59 |
"chmod go+w razor-agent.log". |
| 60 |
|
| 61 |
In Agent.pm, when then the Logger object is created, it |
| 62 |
doesn't check whether the logfile is writable by the current |
| 63 |
user. Then, when a write attempt is made, it bails out with |
| 64 |
the "unblessed reference" error. |
| 65 |
|
| 66 |
Hope that helps, |
| 67 |
Michael |
| 68 |
|
| 69 |
> I just noticed the following log entries in my syslog with the latest |
| 70 |
> Spamassassin CVS (set up using spamc/spamd) and razor-agents 2.14: |
| 71 |
> |
| 72 |
> Jul 26 17:30:09 timmy spamd[54928]: razor2 check skipped: No such file or |
| 73 |
> directory Can't call method "log" on unblessed reference at |
| 74 |
> /usr/local/lib/perl5/site_perl/5.6.1/Razor2/Client/Agent.pm line 211, |
| 75 |
> <STDIN> line 25. |
| 76 |
> |
| 77 |
> I saw this after checking if my upgrade from razor-agents 2.12 to 2.14 went |
| 78 |
> okay, but the problem is still there after downgrading back to 2.12. I |
| 79 |
> don't really know when this started happening, :-/ |
| 80 |
> |
| 81 |
> Any ideas on the problem? |
| 82 |
> |
| 83 |
> - Robert |
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
------------------------------------------------------- |
| 90 |
This sf.net email is sponsored by:ThinkGeek |
| 91 |
Welcome to geek heaven. |
| 92 |
http://thinkgeek.com/sf |
| 93 |
_______________________________________________ |
| 94 |
Razor-users mailing list |
| 95 |
[email protected] |
| 96 |
https://lists.sourceforge.net/lists/listinfo/razor-users |
| 97 |
|