Date: Fri, 16 Sep 2005 02:09:46 +1000 From: Norberto Meijome <freebsd@meijome.net> To: Ashley Moran <work@ashleymoran.me.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot Message-ID: <43299CCA.4040509@meijome.net> In-Reply-To: <43299A1B.8050406@ashleymoran.me.uk> References: <43298076.7050705@codeweavers.net> <4329921F.2070006@dial.pipex.com> <43299A1B.8050406@ashleymoran.me.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43299CCA.4040509>