Lost my alternate consoles

Kernels & Hardware, configuring network, installing services

Lost my alternate consoles

Postby mabra » 2018-09-29 17:54

Hallo!
I have just changed the following line in "sysctl.conf"
>#kernel.printk = 3 4 1 3
and made it active (removed the "#" comment char at beginning).
The reason was: all my consoles where flooted with messages.
Rebootet.
The message flood was there again, but I am no longer able
to switch into one of the possible consoles (don't remember the
keys - but this was never the problem for me [shift/ctrl or wahtever]).
Reset the "sysctl.conf" file to its original and rebootet again.

Have no longer the other consoles.
What I originally wanted to achive: Use "dmesg -n 1" inside of one of the
other consoles to get rid of the message flood.

The main problem now is, that the consoles are no longer present.
Have no clue, where to look for this!

Thanks anyway,
Manfred
User avatar
mabra
 
Posts: 89
Joined: 2010-10-16 16:53

Re: Lost my alternate consoles

Postby debiman » 2018-09-30 10:01

mabra wrote:Hallo!
I have just changed the following line in "sysctl.conf"
>#kernel.printk = 3 4 1 3
and made it active (removed the "#" comment char at beginning).
The reason was: all my consoles where flooted with messages.

i have done the same for similar reasons and it has worked.
i suspect that you corrupted the file.
how did you edit it?
please show us the complte file.
please use code tags for that.
User avatar
debiman
 
Posts: 2927
Joined: 2013-03-12 07:18

Re: Lost my alternate consoles

Postby mabra » 2018-09-30 20:24

Hi !

Hmm, are you really asking, if I am able to use nano and add/remove a character (#)??

BTW, in the following research, I was able to set the following statement to be a comment:
Code: Select all
#net.ipv4.conf.all.log_martians = 1

The most of the message stopped then.
After getting rid of the flood, I saw, that I was able to really change the consoles (which
was my original question) - the login prompt was just not to see in the message flood.
The problem originally appears while experimenting with some new network interfaces
and their routes.

Thanks anyway,
Manfred
User avatar
mabra
 
Posts: 89
Joined: 2010-10-16 16:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable