From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 16:09:54 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 24D5416A420 for ; Thu, 15 Sep 2005 16:09:54 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 713B443D53 for ; Thu, 15 Sep 2005 16:09:53 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 5257 invoked from network); 16 Sep 2005 02:09:53 +1000 Received: from 203-166-227-62.dyn.iinet.net.au (HELO ?192.168.13.8?) (203.166.227.62) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Sep 2005 02:09:52 +1000 Message-ID: <43299CCA.4040509@meijome.net> Date: Fri, 16 Sep 2005 02:09:46 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ashley Moran References: <43298076.7050705@codeweavers.net> <4329921F.2070006@dial.pipex.com> <43299A1B.8050406@ashleymoran.me.uk> In-Reply-To: <43299A1B.8050406@ashleymoran.me.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:09:54 -0000 Ashley Moran wrote: > > Yes, syslog-ng is running fine (I'd already configured rc.conf like you > say). The problem is that it has a destination set up to pipe to the > program ccze, and that pipe doesn't work unless I restart syslog-ng > after boot time. > > I've also tried moving the script into /etc/rc.d and renaming it > syslogng. After removing the devfs requirement it boots ok, but still > requires a syslog-ng restart. Ashley, before the restart of syslog-ng, is there any output to ttyv7 at all? > 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 good luck, B