sshd - Failed with result 'start-limit-hit'

If you experience an error starting the sshd service similar to the following after running a dist upgrade:

servicename.service - [Service description]  
Loaded: leaded (/etc/systemd/system/servicename.service; enabled; vendor preset: enabled)  
Active: failed (Result: start-limit-hit) since [timestamp] ago  
Process: 1142 ExecStart=/usr/bin/node /home/pi/Documents/server.js (code=exited, status=0/SUCCESS)  
Main PID: 1142 (code=exited, status=0/SUCCESS)  
[timestamp] hostname systemd[1]: servicename.service: Service hold-off time over, scheduling restart.  
[timestamp] hostname systemd[1]: Stopped [Service description]
[timestamp] hostname systemd[1]: servicename.service: Start request repeated too quickly.  
[timestamp] hostname systemd[1]: Failed to start [Service description]
[timestamp] hostname systemd[1]: servicename.service: Unit entered failed state.  
[timestamp] hostname systemd[1]: servicename.service: Failed with result 'start-limit-hit'.

 

Please do the following:

edit: /usr/lib/tmpfiles.d/sshd.conf to contain:

d /run/sshd 0755 root root


Then run mkdir /var/run/sshd && systemctl restart ssh.

  • OpenVZ, upgrade, ubuntu, systemctl
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

set or update rDNS/PTR record

This process is fully automated, please login to the VPS control panel:   EU:...

I cannot log in to the SolusVM Control Panel

Please make sure you are entering your actual SolusVM username not your email address or 'root'...

Network Issues

If you wish to report network issues please provide the following information in your support...

Memory / Ram is wrong

If your Ram is a little bit out and you have a KVM VPS, please check your dmesg logs, you will...

Upgrade or Downgrade

If you want to upgrade or downgrade your hosting plan or virtual server product then this has...