LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   strange eth* devices related messages appear/are logged > why? > fix? (https://www.linuxquestions.org/questions/linux-networking-3/strange-eth%2A-devices-related-messages-appear-are-logged-why-fix-756045/)

cocchiararo 09-17-2009 06:31 PM

strange eth* devices related messages appear/are logged > why? > fix?
 
2 Attachment(s)
I finally made the problems i explan here:

http://www.linuxquestions.org/questi...oblems-753966/

go away (dunno really how, this time the pppoeconf internet connection didnt stop working after reboot).

now i have a "problem", if im not using a GUI, i noticed there were WIERD messages flooding my screen, messages that are logged in 2 diferent files, and im attaching both as examples (with just a few messages, both files were 16++ mb in size, and rapidly growing)

the more ETH* interfaces i have enabled, the more messages appear, and more frequently.

Any idea why i get those ? how to fix the reason for they to appear, or at least, to prevent them from appearing ?

thx

GrapefruiTgirl 09-17-2009 07:40 PM

Without having looked at these "weird" messages, I'd venture a guess that your syslogger is configured to log some/all messages to the console, in addition to logging them to the messages.log and kernel.log files.

Examine your syslog.conf file to see what's being logged where, and adjust accordingly.

Then, restart syslogd.

I believe there's another setting also, in the kernel, which can be controlled via the kernel boot line and maybe other means, which tells the kernel what device to use as the default console. If adjusting your syslogger hasn't solved your issue to your liking, then hopefully by the time you need further help, someone will have provided a bit more info about this 'other setting' to which I refer.

Best of luck,
Sasha

MQMan 09-18-2009 01:13 AM

Do you have a firewall running, that includes any logging.

Cheers.

GrapefruiTgirl 09-18-2009 07:59 AM

Quote:

Originally Posted by MQMan (Post 3688120)
Do you have a firewall running, that includes any logging.

Cheers.

Excellent point! iptables (among others) will log such data too. Nice catch @ MQMan.

Sasha

cocchiararo 09-18-2009 12:49 PM

I have iptables, yes (i didnt explain it here cause i left a link :P )

i didnt set loggin in iptables tho.

for now i commented the lines in rsyslog.conf that mentioned the files that were used for loggin this stuff (syslog, kern.log and messages)

but this prevents loggin of some other stuff.

GrapefruiTgirl 09-18-2009 01:11 PM

Quote:

Originally Posted by cocchiararo (Post 3688801)
for now i commented the lines in rsyslog.conf that mentioned the files that were used for loggin this stuff (syslog, kern.log and messages)

And did that stop the stuff going onto the console?
If so....
Quote:

but this prevents loggin of some other stuff.
...then you need to break up the sections of the syslog.conf file, and log individual items to where you want them to go. Or edit the file such that nothing gets logged to consoles, only to files.

Sasha

cocchiararo 09-18-2009 01:58 PM

i dont know about the console, i was able to confirm that the files stoped getting the messages, but i had to leave and was unable to do anymore, until later today that i get back home again.


All times are GMT -5. The time now is 09:45 AM.