Restarting sshd Service Fails With Error "Bind to port 22 on 0.0.0.0 failed: Address already in use"
(Doc ID 2244307.1)
Last updated on AUGUST 04, 2018
Applies to:Linux OS - Version Oracle Linux 7.0 and later
Information in this document applies to any platform.
On Oracle Linux 7 starting sshd service reports following message, but the sshd access would be accessible.
systemd: sshd.service holdoff time over, scheduling restart.
sshd: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
sshd: error: Bind to port 22 on :: failed: Address already in use.
systemd: PID file /var/run/sshd.pid not readable (yet?) after start.
sshd: fatal: Cannot bind any address.
systemd: sshd.service start operation timed out. Terminating.
systemd: Unit sshd.service entered failed state.
systemd: sshd.service failed.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document