SSH System Bootup In Progress Please Wait Error and Solution

Q. I’ve Debian Linux server and whenever someone trying to ssh into this box, they get an error as follows and server closes the connection:

ADVERTISEMENTS

System bootup in progress -please wait

How do I fix this problem and allow ssh login?

A. This error appers when system config or root user creates /etc/nologin file. If the file /etc/nologin exists, login will allow access only to root. Other users will be shown the contents of this file and their logins will be refused. The solution is simple, delete the file /etc/nologin manually:
rm /etc/nologin

If this error occurs after reboot open /etc/default/rcS file and set DELAYLOGIN to no:
DELAYLOGIN=no
If this option set to yes, /etc/init.d/bootmisc.sh will create /etc/nologin, which causes a default SSH and PAM configuration to prevent all logins.

This problem cannot be solved over remote ssh session. However, if you can login via KVM or serial console, then you can fix it over remote session.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.