I cannot connect via SSH

Linode Staff

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

Hey damon, I do believe this is an extraneous folder and normally doesn't impact the usage of sendmail. From my understanding, this is the result of a broken sendmail update somewhere along the way or sendmail not cleaning itself up after a removal.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct