我有AWS
微實例表明,它在亞馬遜儀表板運行良好
然而,當我登錄到與SSH
的實例,並嘗試啓動或停止Apache
sudo service httpd stop
sudo service httpd start
我得到[FAILED]
EC2 LAMP實例問題
sudo apachectl start
犯規返回任何
sudo apachectl restart
給我httpd not running, trying to start
我在想什麼?它似乎是這樣做出這個問題
是否有任何command line
我可以測試,看看問題來自哪裏?
你在你的'httpd.conf'文件的錯誤。此外,這屬於ServerFault – David 2012-08-13 01:05:14
嘗試'/etc/init.d/httpd start'。之後,您可以檢查80端口是否打開:'netstat -tulpn | grep:80' – 2012-08-13 01:06:36
'sudo su'首先 - 你必須成爲根! – 2012-08-13 01:17:27