#/usr/local/apache2/bin/apachectl Start
starting httpd: (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]
1.netstat-lnp|grep 80
TCP 0 0 192.168.180.68:61027 0.0.0.0:* LISTEN 6289/oproxyd
TCP 0 0::: +:::* LISTEN 846/httpd
TCP 0 0:: ffff:192.168.180.68:7001:::* LISTEN 32015/java
Find PID 846
#ps 846
View
#kill-9 846
Kill
#./apachectl start
Startup success
*****************************************************************************
Treatment methods:
# Ps-aux | grep http
Warning:bad syntax, perhaps a bogus '-'? See/usr/share/doc/procps-3.2.7/faq
Root 12079 0.0 0.0 61164 720 pts/1 s+ 16:06 0:00 grep http
# Ps-aux | grep Apache
Warning:bad syntax, perhaps a bogus '-'? See/usr/share/doc/procps-3.2.7/faq
Apache 10820 0.0 0.0 2044 600? Ss Jan01 0:04 Bash
Root 12081 0.0 0.0 61160 716 pts/1 s+ 16:06 0:00 grep Apache
# kill-9 10820
#/ETC/INIT.D/HTTPD Start
Starting httpd: [OK]
#/etc/init.d/httpd Restart
stopping httpd: [OK]
Starting httpd: [OK]
**********************************************************
The main reason is because httpd already has a running process, just kill these processes and restart them.
This article is from the "Zzfeng" blog, make sure to keep this source http://zzfeng.blog.51cto.com/8155140/1618846
Apache Boot error (98) address already in use:make_sock:could not bind to address [::]:80