This is on an Amazon Linux instance (apparently based on CentOS 6)
# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:8080 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080 no listening sockets available, shutting down Unable to open logs [FAILED]
Obviously it won't start since the stop failed. But, why wouldn't it stop in the first place? I can type "service httpd stop" over and over again and it just keeps printing [FAILED]. "killall httpd" works fine.
After doing a kill and a service httpd start, stop works normally again for a while. Most disconcerting.
Server version: Apache/2.2.24 (Unix) Server built: May 20 2013 21:12:45