Server :: Kernel: Printk - 3 Messages Suppressed
Aug 12, 2010I've got this lines in /var/log/messages Server is running varnish-cache
View 1 RepliesI've got this lines in /var/log/messages Server is running varnish-cache
View 1 RepliesI've got a VPS node running 2.6.26-2-openvz-amd64 and several guest machines. My kernel keeps reporting a printk bug in syslog:
[Code].....
This is somehow being replicated on the guests machines. I've read that printk is a kernel function that prints out a message, during bootup Has anyone experienced similar problem or have a more experience with this? Does it have negative impact to the host performance?
Aug 16 21:41:14 server1 kernel: __ratelimit: 6 callbacks suppressed
Aug 16 21:41:14 server1 kernel: Out of socket memory
Aug 16 21:41:29 server1 last message repeated 21 times
KERNEL: 2.6.26.6
my sysctl.conf:
Code:
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
net.ipv4.conf.eth0.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 1
code....
I have written the Client-Server program to test my ethernet by using UDP protocol.
Server IP : 192.168.0.254
Client IP : 192.168.0.1
While Running the program I am getting some printk messages on Server machine.
What is the meaning of following statement that I am getting from debug statements
( /var/log/messages )
UDP: short packet: From 192.168.0.1:43898 418/416 to 192.168.0.254:7000
printk: 5 messages suppressed.
UDP: short packet: From 192.168.0.1:43898 556/553 to 192.168.0.254:7000
printk: 4 messages suppressed.
Only printk messages are printing in my Server console ( IP : 192.168.0.254 ).
printk: 5 messages suppressed.
printk: 5 messages suppressed.
printk: 4 messages suppressed.
printk: 2 messages suppressed.
printk: 4 messages suppressed.
where the printk messages are stored when we call a insmod? I'm using Slackware, and I think my distro can store these messages on others place.
View 3 Replies View RelatedKernel driver function was called via ioctl and returned success, but when I checked the kernel display buffer with dmesg the printk message was not there. Then when you do lsmod, the driver you were calling showed "used by zero". So it seems like the kernel driver was not accessed. In the kernel driver, I had many printk statements, but nothing printed in the buffer. if the driver get accessed and what could cause this?
View 1 Replies View Relatedon a SuSE-11.3 (xen domU) I repeatedly notice the following messages:
Dec 17 19:30:01 MTW kernel: [22484.319192] type=1503 audit(1292610601.862:84): operation="change_hat" info="unconfined" error=-1 pid=22001
Dec 17 19:30:01 MTW kernel: [22484.319222] type=1503 audit(1292610601.862:85): operation="change_hat" info="unconfined" error=-1 pid=22001
Dec 17 19:45:01 MTW kernel: [23384.365597] type=1503 audit(1292611501.910:86): operation="change_hat" info="unconfined" error=-1 pid=22702
[code]...
My /var/log/messages file is being flooded by messages like these.
Code:
is there any way to disable kernel messages on the console? The problem I have is that it is almost impossible to work on the console due to a flood of file system errors from the kernel.
I've checked /etc/syslog.conf and disabled kernel logging to the console. Even with syslog turned off the messages still flood the console.
I have just installed Fedora 11 to my laptop and it appears I am in trouble. I have received two kernel failure messages, which I post below. What are the consequences of these issues and how can I solve them ?
Message 1:
Message 2:
I need to debug a kernel panic. It prints some long log to the console, but even if i set 1920x1440 VESA framebuffer mode, i can't see it whole.
So, i would like to direct all the kernel messages to a COM port and read them on another machine. Is there any way of doing so? What are the other (maybe better/easier/etc.) ways of catching whole kernel panic messages or scrolling the ones already displayed?
When my computer shuts down, I always get a long error message from the kernel. It's the very last thing the computer does and I can't even use the keyboard, since the system is halted. I wanted to read it more carefully (it's very long and doesn't fit the screen) and file a bug report against the kernel with it. But for that, I needed to save all that text in a file.
View 1 Replies View RelatedI have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an argument separated by spaces.Example: the command /opt/asusg50oled/utils/notify.sh Hi Everybody "Hello World" displays on the oled screen:
Hi
Everybody
Hello World
If another message is sent before the old ones disappear and it reverts to status info, it pushes off the top message. Example: less than 30 seconds after the previous example, /opt/asusg50oled/utils/notify.sh "Bananas have potassium" is executed:
Everybody
Hello World
Bananas have potassium
What I want to do is have kernel messages (the kind you see by running dmesg) forwarded to this script. For example, when I insert a USB drive, the following information would show on the OLED screen as they're logged:........
Recently I am trying to install the latest Ubuntu / Xubuntu but after the kernel messages the display becomes corrupted. The machine is a Clevo laptop with the dreaded SIS 671 / 672 chipset. The Ubuntu 8.04 is working flawlessly. Any other version I get several problems and depending on the mood of the system I get a vertical running display ( not readable ) or a left horizontal displaced screen (readable) ...
I tried more tan several CDs ranging from 9.01 to 10.10 both Ubuntu or Xubuntu. What is the plainest (simpler ) VGA mode in order to install it? I have tried vga=normal and even VGA =3 with no success. With the latest Ubuntu 10.10 I get another problem it simply does not recognize the HDD / SSD. I have traced the SSD problem with the sata_sis module in kernel 2.6.35 and up... Other distros have the same problem ...
I'm having intermittent trouble with my network card.
It always makes kernel messages like the following:
Code:
I am using latest updated Fedora 13 (presently kernel-2.6.34.7-56.fc13.i686).
kernel imklog error messages fills my hard disk again and again, /var/log/messages file becomes more than 5Gb daily.
the /var/log/messages file contains following entries:
Sep 27 10:35:09 arun kernel: imklog 4.4.2, log source = /proc/kmsg started.
Sep 27 10:35:09 arun rsyslogd: [origin software="rsyslogd" swVersion="4.4.2" x-pid="1083" x-info="http://www.rsyslog.com"] (re)start
Sep 27 10:35:09 arun atd[19007]: File a0000b0145c567 is in wrong format - aborting
[Code]....
I think, I can stop kernel logging from /etc/rsyslog.conf, but I wanted to know the real problem.
What i'm trying to accomplish seems rather silly but is needed for my little project here.
I'm using OpenSuSE 11.2 as a media center PC and need it to login automatically(console not X). That one i accomplished without problems.
However, after login i can see all the info about the services that were started and that needs to "go away".
One could do a "clear" in the .bash_rc and or .bash_profile but it will still show the login prompt which i don't want to see either (i don't even want to see the blinking cursor as well).
Question: How do i accomplish that so that the login console shows only the "splash screen" without any output of the kernel,rc.status nor the "issue-file"... just a plain blank screen ?
Is there a way I can redirect messages from kernel ringbuffer to a logfile, e.g. with rsyslogd? With redirect I mean that the messages do no longer appear in dmesg, but only in the logfile.
In my case that should be iptables log messages.
I am running Fedora 10, Postfix and Dovecot I recently changed the password of a user using the 'passwd' command. The problem is that the user can no longer receive their email messages in Thunderbird (Authentication Error). However, they can still login using SquirrelMail and get their mail.
View 2 Replies View RelatedI am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build.
The output is
==23002== Memcheck, a memory error detector.
==23002== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==23002== Using LibVEX rev 1575, a library for dynamic binary translation.
[code]....
I've got a server set up with Debian. The problem is that my ISP doesn't allow usage of port 25 (as I understand a lot of ISP's don't).I have PHP scripts hat use the mail() function to send e-mails through the Sendmail application.So, my question is: How can I relay messages sent to sendmail to an external SMTP server (like Google Mail, for example)? Would this be easier to do in the PHP configuration, or on the Sendmail side of things?I've used PEAR extensions in PHP to achieve this before, but scripts downloaded from the Internet generally just use the basic mail() function, and it would be a real pain to modify them all.
View 2 Replies View RelatedMy company support a client with an old Redhead server " Linux version 2.6.9-5.ELsmp [URL] (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005" My IT department wants to move this old server to a VMware machine and I'm trying to check if this project can fly. Me my self never worked on an old Linux server there for my first question is can I upgrade the kernel with the command yum -y install kernel..... and when I'm done I'm still going to have the old kernel just in case?
View 1 Replies View RelatedI have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:
options {
flush_lines (0);
time_reopen (10);
log_fifo_size (1000);
[code]....
the last two rules show my program gnssapp. the result is all debug levels or crit or err levels I don't see any of them !
I am running RHEL EL4. i have configured vsftp , everything works fine.The thing is that the FTP log messages are going into /var/log/messages . So i changed the log location by confuguring as follows
1. In the /etc/syslog.cong,
2.Change the line in /etc/logrotate.d/syslog
3. In /etc/vsftpd/vsftpd.conf
After the changes , i restarted the service for both ftp and syslog
Evenafter the above confguration , still the ftp log messages are going to the same dir /var/log/messages.
I want to check my system general log file by
Code:
It is not showing me detail.
What is the easiest way in Linux to convert syslog messages to XML?
View 1 Replies View RelatedSince yesterday Kmail has started downloading ALL ,messages, not just the new ones, from the server. It is a real pain as the mail check takes about twenty minutes and Kmail usually freezes afterwards. Then I have to close it down and after restart it downloads several thousand messages all over again. This has only started happening since yesterdays Fedora update, which I think was anything to do with Kmail?
I am using Fedora 14.
EDIT: I have just notice it is not downloading ALL messages, just the read ones. The new messages are being left on the server but the old ones are downloaded and flagged as new. So it seems as if something has got flipped around somewhere?
How can I get log messages from the LAMP server on Ubuntu 10.04?Should I install some good program on Ubuntu for that purpose?
View 3 Replies View RelatedI'm setting up email gateway using Postfix, Amavisd-new, ClamAV and SpamAssassin on Opensuse 11.1. Everything seems okie, but I can't have messages with added spam headers, such as:
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level:
X-Spam-Status: No, score=0.233 tagged_above=-10 required=6.6
tests=[ALL_TRUSTED=-1.8, AWL=0.536, BAYES_50=0.001,]
When I try to debug amavis, I can see that SPAM-TAG, <abc@yahoo.com> -> <celeron@domain.com>, No, score=5.406 tagged_above=-999 required=6.2 tests=[LOCAL_DRUG=4, NO_DNS_FOR_FROM=1.407, NO_RELAYS=-0.001] but they don't add to email messages. I've configured amavisd-new with $sa_tag_level_deflt = -999 to add spam headers at all but not successful.
I have the following BIND messages filling up my SysLog that I'm hoping someone can explain to me:
Code:
Dec 9 09:35:44 dns2 named[30103]: client 67.130.224.5#49551: query (cache) 'www.domain.com/A/IN' denied
Dec 9 09:35:47 dns2 named[30103]: client 67.130.224.5#64561: query (cache) 'www.domain.com/A/IN' denied
[code].....
I would expect this behavior if "domain.com and anotherdomain.com" wasn't a domain that I hosted. But this is a valid domain that this server should be answering for. In my named.conf I do have the
Quote:
allow-query { any; };
option on every zone. This is my slave server and I have the primary shut off so I can test this slave server. FYI: So far queriers still seem to be working. The pages for the sites are still coming up via the internet.