From razor-users-admin@lists.sourceforge.net  Wed Jul 31 22:42:18 2002
Return-Path: <razor-users-admin@example.sourceforge.net>
Delivered-To: yyyy@localhost.netnoteinc.com
Received: from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id D946E440CD
	for <jm@localhost>; Wed, 31 Jul 2002 17:42:13 -0400 (EDT)
Received: from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Wed, 31 Jul 2002 22:42:13 +0100 (IST)
Received: from usw-sf-list2.sourceforge.net (usw-sf-fw2.sourceforge.net
    [216.136.171.252]) by dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id
    g6VLgS210416 for <jm-razor@jmason.org>; Wed, 31 Jul 2002 22:42:29 +0100
Received: from usw-sf-list1-b.sourceforge.net ([10.3.1.13]
    helo=usw-sf-list1.sourceforge.net) by usw-sf-list2.sourceforge.net with
    esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17a14c-0002wW-00; Wed,
    31 Jul 2002 14:32:02 -0700
Received: from habanero.hesketh.net ([66.45.6.196]) by
    usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id
    17a13o-0005oI-00 for <razor-users@lists.sourceforge.net>; Wed,
    31 Jul 2002 14:31:12 -0700
Received: (from schampeo@localhost) by habanero.hesketh.net
    (8.11.6/8.11.1) id g6VLV5g20168 for razor-users@lists.sourceforge.net;
    Wed, 31 Jul 2002 17:31:05 -0400
X-Received-From: schampeo
X-Delivered-To: razor-users@example.sourceforge.net
X-Originating-Ip: []
From: Steven Champeon <schampeo@hesketh.com>
To: razor-users@example.sourceforge.net
Message-Id: <20020731173105.B19323@hesketh.com>
Mail-Followup-To: razor-users@example.sourceforge.net
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
Subject: [Razor-users] can't call method "log" issue - solution
Sender: razor-users-admin@example.sourceforge.net
Errors-To: razor-users-admin@example.sourceforge.net
X-Beenthere: razor-users@example.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Help: <mailto:razor-users-request@example.sourceforge.net?subject=help>
List-Post: <mailto:razor-users@example.sourceforge.net>
List-Subscribe: <https://example.sourceforge.net/lists/listinfo/razor-users>,
    <mailto:razor-users-request@lists.sourceforge.net?subject=subscribe>
List-Id: <razor-users.example.sourceforge.net>
List-Unsubscribe: <https://example.sourceforge.net/lists/listinfo/razor-users>,
    <mailto:razor-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://www.geocrawler.com/redir-sf.php3?list=razor-users>
X-Original-Date: Wed, 31 Jul 2002 17:31:05 -0400
Date: Wed, 31 Jul 2002 17:31:05 -0400


I see that Robert S. Wojciechowski Jr. posted about this issue on 7/26,
but I don't see any responses. I get that error when calling razor-report
from a sendmail alias, but not from the command line as a different user.
The way I solved it was to run 

razor-admin -create

and

razor-admin -discover

with a -home argument set to the global /etc/razor directory, which is
explicitly specified in the args to the alias pipe.

The manual page, which suggests that /etc/razor/razor-agent.conf will be
loaded first, does not also say that razor-admin will then create a
.razor directory in the user's home directory if it does not exist
(although this /is/ pointed out in the razor-agents(1) page. This may
lead to some minor confusion if the user is trying to set the discovery
and other defaults for a default (e.g., /etc/razor) install. The
workaround is as I say above, namely, explicitly specify the path to
razorhome on the command line, e.g.

razor-admin -home=/etc/razor -create
razor-admin -home=/etc/razor -discover

hth,
Steve

-- 
hesketh.com/inc. v: (919) 834-2552 f: (919) 834-2554 w: http://hesketh.com


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users


