Page 1 of 1

CSF output to the console

Posted: 06 Nov 2013, 01:53
by kisonay
I came across viewtopic.php?t=222 byt its over 5 years old.

Is there anyway to stop CSF from outputting to the console? It spits out so much it prevents me from logging on to my server (CentOS 6.4 with WHM 11.40.16)

Re: CSF output to the console

Posted: 06 Nov 2013, 04:09
by kisonay
for anyone else looking to fix this.

The following command will suppress the messages.

dmesg -n 1

to suppress all messages from the kernel (and its drivers) except panic messages from appearing on the console.

To fix at each boot, add the command to:
/etc/rc.local

Re: CSF output to the console

Posted: 17 Feb 2020, 13:18
by crashed_linux
I solved this in a different way on CentOS 6 from this answer https://superuser.com/a/351402

In /etc/sysctl.conf

Tweak the kernel.printk line.

Code: Select all

# Uncomment the following to stop low-level messages on console
kernel.printk = 3 4 1 3
Activate without rebooting:

Code: Select all

sysctl --system