s_p
s_p

Reputation: 4693

ec2 LAMP instance issue

I have a micro instance on AWS that shows that it is running fine on Amazons dashboard
However when i log into the instance with SSH and try to start or stop apache
sudo service httpd stop
sudo service httpd start
I get [FAILED]

sudo apachectl start
doesnt return anything

sudo apachectl restart gives me httpd not running, trying to start

What am i missing? it seems to be doing this out of the blue
is there any command line i can test to see where the issue is coming from?

Upvotes: 1

Views: 330

Answers (1)

user1505370
user1505370

Reputation: 26

Have you changed anything in the configuration file?

/etc/init.d/httpd configtest

Is there something else listening on port 80?

fuser -n tcp 80

Upvotes: 1

Related Questions