Messages log flooded with Getty restarts

Issues related to applications and software problems and general support
Post Reply
optikab
Posts: 27
Joined: 2014/01/19 18:04:15

Messages log flooded with Getty restarts

Post by optikab » 2020/03/23 20:11:48

Code: Select all

Mar 21 14:12:34 server systemd[1]: getty@getty.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Mar 21 14:12:34 server  systemd[1]: getty@getty.service: Scheduled restart job, restart counter is at 7166.
Mar 21 14:12:34 server systemd[1]: Stopped Getty on getty.
Mar 21 14:12:34 server systemd[1]: Started Getty on getty.
This is happening every 10 seconds on a new Centos 8 server.

optikab
Posts: 27
Joined: 2014/01/19 18:04:15

Re: Messages log flooded with Getty restarts

Post by optikab » 2020/03/30 16:30:11

I have just setup another server and the same thing is happening, any idea how to stop this?

User avatar
TrevorH
Forum Moderator
Posts: 29171
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Messages log flooded with Getty restarts

Post by TrevorH » 2020/03/30 16:49:48

Do your servers have keyboard/mouse/monitor attached? Or a KVM over IP console of some description? Did they at some point in the past, say at install time which has now been removed?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

optikab
Posts: 27
Joined: 2014/01/19 18:04:15

Re: Messages log flooded with Getty restarts

Post by optikab » 2020/03/31 07:28:03

I don't know, it is a VPS through a hosting company so not likely.

User avatar
TrevorH
Forum Moderator
Posts: 29171
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Messages log flooded with Getty restarts

Post by TrevorH » 2020/03/31 08:58:11

You could use systemctl to disable the service but if you ever need to access the console via whatever tty that is trying to use then you won't get a login prompt.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 8 - General Support”