I cannot connect via SSH
I am not able to connect to my Linode via SSH. I used the Lish console to access my Linode and came across the following error.
[FAILED] Failed to start Raise network interfaces.^M
See 'systemctl status networking.service' for details.^M
What can I do to resolve this?
5 Replies
Running the following commands from your Linode will give you some more information about the problem:
systemctl status networking.service -l
sudo ifdown -a && sudo ifup -a
Recently, we’ve seen a large number of these issues caused by a broken Sendmail update. If you use Sendmail, you will likely come across an output similar to the following:
/etc/network/if-up.d/sendmail: 44: .: Can't open /usr/share/sendmail/dynamic
run-parts: /etc/network/if-up.d/sendmail exited with return code 2
The sendmail issue can usually be resolved by running the following two commands:
sudo mv /etc/network/if-up.d/sendmail ~
ifdown -a && ifup -a
Thanks for this. I also just ran into this same issue and moving the /etc/network/if-up.d/sendmail directory worked for me.
Sendmail appears to still be working even with this entire directory removed…is it entirely extraneous?
Damon