1. I use netconsole on almost all of my machines.
2. When I reboot one of them, it sends the kernel messages to the console
logging server.
3. However, whenever I reboot it spams the console and every xterm open
with the following:
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sdb3>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sda3>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sdb2>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sda2>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sdb1>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sda1>
I also tried:
# Send p34 messages to their own file.
@192.168.0.1 /var/log/p34.log
But no luck here either.
Do I need to be running some sort of special netconsole server and send to
a different port to avoid this spam?
Justin.
On Wed, Jun 06, 2007 at 06:00:10PM -0400, Justin Piszcz wrote:
> 1. I use netconsole on almost all of my machines.
> 2. When I reboot one of them, it sends the kernel messages to the console
> logging server.
> 3. However, whenever I reboot it spams the console and every xterm open
> with the following:
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sdb3>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sda3>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sdb2>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sda2>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sdb1>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sda1>
>
> I also tried:
>
> # Send p34 messages to their own file.
> @192.168.0.1 /var/log/p34.log
Your syslogd is probably getting confused by messages of the form
<foo> (and it rightly should be) and deciding they're maximal
priority. You probably have a separate clause somewhere that directs
all emergency messages to the console.
> Do I need to be running some sort of special netconsole server and send to
> a different port to avoid this spam?
A lot of people simply run netcat.
--
Mathematics is the supreme nostalgia of our time.
On Thu, June 7, 2007 15:57, Matt Mackall wrote:
>> Do I need to be running some sort of special netconsole server and send to
>> a different port to avoid this spam?
>
> A lot of people simply run netcat.
There's cancd; syslogd isn't really appropriate because printks aren't always whole lines and each one is
sent as a separate packet.
--
Simon Arlott