By using AWS re:Post, you agree to the Terms of Use

Cannot access SSH - operation timed out and web through ip

0

Hi,
I just installed Cpanel on Amazon, after in accessed WHM, then suddenly everything blocked me out.
When i tried to access through SSH, i get message - Connect to host xxxx port 22: connection timed out. I followed SSH troubleshooting from Amazon documents, Firewall or vpc all connected to instance.
I cannot also access WHM through ip also, it is showing the website is not reachable.

Can anyone help please? Thank you so much

asked 3 years ago6 views
3 Answers
0

Hello DerekN,

I have checked your AWS account but I don't see any EC2 instance in it. Can you please share the instance id so that we can have a look?

Regards,
awstomas

answered 3 years ago
0

Hi, thank you so much for your help and im really appreciated. I couldnt respond fast enough because the forum limit my post 1/day.

here is my instance id: i-078f1e09aef72690a

Edited by: DerekN on Jul 12, 2019 5:36 PM

answered 3 years ago
0

Hi DerekN,

Thank you. On the Console Output [1] for the instance i-078f1e09aef72690a I can see that it has experienced an internal memory exhaustion due to which kernel started to kill various processes to free the memory up. As the instance is t3.micro with 1 GiB of memory, perhaps you should consider resizing it [2] to an instance of a larger size [3] that can support your applications' requirements better.

Console Output snippet:

\[394313.341789] Out of memory: Kill process 24284 (clamd) score 156 or sacrifice child
\[394313.351543] Killed process 24284 (clamd) total-vm:278240kB, anon-rss:158496kB, file-rss:0kB, shmem-rss:0kB

Link:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html#instance-console-console-output
[2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
[3] https://aws.amazon.com/ec2/instance-types/

Regards,
awstomas

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions