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)
CSF output to the console
Re: CSF output to the console
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
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
-
- Junior Member
- Posts: 0
- Joined: 17 Feb 2020, 13:12
Re: CSF output to the console
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.
Activate without rebooting:
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
Code: Select all
sysctl --system