Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8121651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:33:43+00:00 2026-06-06T05:33:43+00:00

I created an ec2 instance for use as a web server. I installed LAMP

  • 0

I created an ec2 instance for use as a web server.
I installed LAMP using taskkel once i SSHed in.

After disconnecting and trying to reconnect I get “connection refused.”
After doing some research, it would seem that installing LAMP has made it so that the SSH daemon does not start.

All the advice says to detach the volume and attach it to another instance to correct the problem.
This is all well and good, but I cant work out how to find what the issue is. The research I did indicated that there was some output from some command that would indicate what the issue is that prevents the SSH daemon from starting.

So, how do I find the issue so I can fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:33:44+00:00Added an answer on June 6, 2026 at 5:33 am

    If you attach the EBS to some other instance then you should be able to look at the log files (/mnt/wherever/var/log/messages) or wherever your system was storing them when it was up.

    Another approach would be to use the chroot command to start a shell from within the directory on which you’ve mounted up this EBS. From there you can attempt to run all of the commands that should be run during the start-up sequence … and find out why your sshd is failing … or if the remote system somehow messed up the networking or the keys such that it’s preventing your access.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created two EC2 instances for web server and one EC2 instance for
I have created an Amazon EC2 Instance that provides Windows Server 2008 with SQL
I am trying to access an ec2 instance using a different (mac) computer. In
I created an EBS volume, attached and mounted it on an EC2 instance. Created
I have created three EC2 instances, two of instances are web servers and one
Ok, so I've read the tutorial here: http://www.powercram.com/2009/07/connecting-to-aws-ec2-instance-linux.html I created a keypair on Ec2,
I have strange JRUN issue. I have installed ColdFusion 9.0 on Amazon EC2 instance
I use libcloud to create a new node instance Amazon EC2. conn.create_node returns me
I'm trying to understand conceptually how to use Amazon EC2 to speed up the
I created a small Amazon EC2 instance like this: ec2-run-instances --group default --block-device-mapping /dev/sda1=:16:off

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.