Experiencing network trouble after resize [solved]

I just resized my Fedora 13 image from 16GB down to 4GB but now I can't seem to ssh into my linode. I get a port 22 timeout when I try to ssh into my linode.

The error I get:

port 22: Operation timed out

I checked:

1) sshd is running

2) I checked that port 22 is open

3) I turned off the firewall

But still no luck.

So I tried logging in through lish and I had success. However I think there is something wrong with my linode's network connection.

I tried

 ping google.com 
 ping: unknown host google.com
 wget http://www.google.com                                                    
 --2010-07-18 23:15:18--    http://www.google.com/                                                     
Resolving www.google.com... failed: Name or service not known.                                      
 wget: unable to resolve host address `www.google.com'   

I'm wondering if the network problem on my linode is somehow preventing me from ssh(ing) into my linode from my home computer?

Have I missed some required step when resizing my image?

solved

In case someone runs into the same issue: If you have SELinux enabled, like I do, and you change the size of your disk image you have to relabel your file system.

Run the command:

 touch /.autorelabel
 reboot

as root.

0 Replies

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