From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 16:30:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D76C016A420 for ; Thu, 15 Sep 2005 16:30:41 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BCE43D49 for ; Thu, 15 Sep 2005 16:30:40 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [80.192.58.55] ([80.192.58.55]) by smtp-out5.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 15 Sep 2005 17:31:29 +0100 Message-ID: <4329A1AF.7030602@dial.pipex.com> Date: Thu, 15 Sep 2005 17:30:39 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.11) Gecko/20050903 X-Accept-Language: en-us, pl MIME-Version: 1.0 To: Ashley Moran References: <43298076.7050705@codeweavers.net> <4329921F.2070006@dial.pipex.com> <43299A1B.8050406@ashleymoran.me.uk> <43299CCA.4040509@meijome.net> In-Reply-To: <43299CCA.4040509@meijome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Sep 2005 16:31:29.0093 (UTC) FILETIME=[EC8F7750:01C5BA12] Cc: freebsd-questions@freebsd.org Subject: Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 16:30:42 -0000 Norberto Meijome wrote: > Perhaps the ttyv7 isn't properly created until after all the local rc > scripts are run? That's all I can think. > > you may want to edit the syslogng.sh to add some debug lines to see if > ttyv7 is up @ that point in time. based on the result of this, you may > want to background (sleep? wait and try again?) the launch of syslogng > until after the ttyv7 is ready. > > or figure out in which order things are started and make sure the > ttyvs are launched before syslogng Given that anything in /usr/local/etc will start after anything in /etc, I would really expect a virtual tty to be available. I don't suppose that syslogng is logging an error anywhere? (Not on ttyv7, obviously :-)) --Alex