Disable Console Messages: CSF output to the console

https://forum.configserver.com/viewtopic.php?t=7147

CSF output to the console

Post by kisonay » 06 Nov 2013, 01:53

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)

Top

kisonay

Junior Member

Posts: 9

Joined: 16 May 2013, 03:52

Re: CSF output to the console

Post by kisonay » 06 Nov 2013, 04:09

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

Top

crashed_linux

Junior Member

Posts: 1

Joined: 17 Feb 2020, 13:12

Re: CSF output to the console

Post by crashed_linux » 17 Feb 2020, 13:18

I solved this in a different way on CentOS 6 from this answer linux - How to stop kernel messages from flooding my console? - Super User

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

https://forum.configserver.com/viewtopic.php?t=7147

https://forum.configserver.com/search.php?keywords=output+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

Re: CSF output to the console

I solved this in a different way on CentOS 6 from this answer linux - How to stop kernel messages from flooding my console? - Super User

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