CSF output to the console

Post Reply
kisonay
Junior Member
Posts: 9
Joined: 16 May 2013, 03:52

CSF output to the console

Post 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)
kisonay
Junior Member
Posts: 9
Joined: 16 May 2013, 03:52

Re: CSF output to the console

Post 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
crashed_linux
Junior Member
Posts: 0
Joined: 17 Feb 2020, 13:12

Re: CSF output to the console

Post 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
Post Reply