From owner-freebsd-questions Sun Feb 9 7:23:49 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8902E37B401 for ; Sun, 9 Feb 2003 07:23:48 -0800 (PST) Received: from as9-2-1.bi.s.bonet.se (as9-2-1.bi.s.bonet.se [217.215.7.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACC6A43FBD for ; Sun, 9 Feb 2003 07:23:47 -0800 (PST) (envelope-from peo@intersonic.se) Received: by as9-2-1.bi.s.bonet.se (Postfix, from userid 1003) id 8C92949697C; Sun, 9 Feb 2003 16:23:46 +0100 (CET) Message-ID: <3E46727C.5040508@intersonic.se> Date: Sun, 09 Feb 2003 16:23:40 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030126 X-Accept-Language: en-us, en, sv MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: OT: razor-agent.log vanishing References: <3E465D6A.4030405@intersonic.se> <20030209144225.GA71721@keyslapper.org> <3E466BEB.4010201@intersonic.se> <20030209151033.GC71721@keyslapper.org> In-Reply-To: <20030209151033.GC71721@keyslapper.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-104.1 required=5.7 tests=EMAIL_ATTRIBUTION,IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT, REFERENCES,SPAM_PHRASE_03_05,USER_AGENT, USER_AGENT_MOZILLA_UA,USER_IN_WHITELIST,X_ACCEPT_LANG version=2.44 X-Spam-Level: X-Sanitizer: Advosys mail filter Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Louis LeBlanc wrote: >>No, it's not there, in fact it is nowhere. is in >>/var/spool/filter/.razor/ where everything else *except* the log (which >>is clearly defined in razor-agent.conf) shows up proper. It used to >>work, then vanished, then after running razor-admin it came back only to >>dissappear again, and I'm clueless :-( > > > What do you have in razor-agent.conf for the log filename? It > defaults to 'razor-agent.conf', with no path. I changed this to > /var/log/razor-agent.log and that's where it shows up now. Keep in > mind, though, that you will be running on the config of the latest > user you ran razor-admin as. If you did it as root, look in > /root/.razor/ for the config. If it's not there, copy the good one > you have from /usr/local/etc/razor/ into it - until you can get it > sorted at least. This is one of two smtp-relay servers we use so there are no local users. I have tried both with and without the full path in razor-agent.conf but it makes no difference. Using /var/log/razor-agent.log would not work because /var/log is not writable by the "filter" user. "filter" is the user that SA/Razor runs under with /var/spool/filter as home. Even more curious, the other server is OpenBSD and it exhibits identical behaviour. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message