Disable console messages

dmcken

Active Member
Jun 10, 2019
6
0
41
Good Day,

Is there any way to disable ALL console messages, even if its temporary.

I was moving some servers and am constantly getting the attached message, even when switching to other ttys (ALT-FX)

Bash:
dmesg -n 1
got rid of most other console messages.

Where is this message coming from (I believe its some function of systemd) so I can have a usable console to actually fix the problem? To say this was annoying while in an iDRAC / iLo is a major understatement.
 

Attachments

  • Annoying-CEPH-Messages.png
    Annoying-CEPH-Messages.png
    42.2 KB · Views: 36
I ran into this issue as well. Also found no answer. Just this lonely forum post, with no replies.

Very difficult to troubleshoot an issue on a server, connected via a BMC console. I *know* the service can't start, and I know why. It's the network issue I'm actively trying to troubleshoot, and can't, because I keep getting interrupted by the output.
 
Last edited:
I did the former, didn't work. Even manually echoed to `/proc/sys/kernel/printk`.

Not sure how screen or tmux would work, since you'd be launching them from the console still - they would still be attached to the stdout that is being printed to. But regardless, the issue was that there was no network connection, and neither `screen` not `tmux` are installed on Proxmox VE by default.
 
Last edited:
With screen at least, you can hit ^Ac (create another pane) and then ^Aa to "refresh" and get rid of the console messages cuz they're overlaid and not part of the "screen" buffer. Read the man page, you can also copypasta without a mouse
 
With screen at least, you can hit ^Ac (create another pane) and then ^Aa to "refresh" and get rid of the console messages cuz they're overlaid and not part of the "screen" buffer. Read the man page, you can also copypasta without a mouse
and I can just press "CTRL+L" to refresh the screen too. Irrelevant. The issue is that there are constantly more messages, Refreshing doesn't help at all. Making them *stop* is the solution.