Monday, July 29, 2013

What happen if I can't start my apache web server on Amazon aws ec2 ?

$ sudo service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using puppet.katdc.com for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[ec2-user@puppet init.d]$ sudo !!
sudo sudo service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using puppet.katdc.com for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[ec2-user@puppet init.d]$ sudo service nginx stop
Stopping nginx:                                            [  OK  ]
[ec2-user@puppet init.d]$ sudo sudo service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using puppet.katdc.com for ServerName
                                                           [  OK  ]

No comments:

Post a Comment