When attempting to restart httpd, we get the following:
Note: When submitting and looking at the listing, I noticed that httpd does have port 80.
We still get this:
Code: Select all
[root@testserver~]# service httpd restart
Stopping httpd: [ OK ]
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]
[root@testserver~]#
Code: Select all
[root@testserver~]# service httpd 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]Code: Select all
[root@testserver~]# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:7002 0.0.0.0:* LISTEN 1438/python
tcp 0 0 127.0.0.1:42300 0.0.0.0:* LISTEN 1560/tcl
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 2153/java
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN 1326/rsyslogd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 9841/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1380/rpcbind
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1531/lighttpd
tcp 0 0 0.0.0.0:2003 0.0.0.0:* LISTEN 1438/python
tcp 0 0 0.0.0.0:2004 0.0.0.0:* LISTEN 1438/python
tcp 0 0 127.0.0.1:8022 0.0.0.0:* LISTEN 2260/python
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1767/sshd
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 9936/postmaster
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2023/master
tcp 0 0 :::443 :::* LISTEN 9527/httpd
tcp 0 0 :::5666 :::* LISTEN 1778/xinetd
tcp 0 0 :::514 :::* LISTEN 1326/rsyslogd
tcp 0 0 :::5667 :::* LISTEN 1778/xinetd
tcp 0 0 :::111 :::* LISTEN 1380/rpcbind
tcp 0 0 :::80 :::* LISTEN 9527/httpd
tcp 0 0 :::22 :::* LISTEN 1767/sshd
tcp 0 0 :::23 :::* LISTEN 1778/xinetd
tcp 0 0 ::1:25 :::* LISTEN 2023/master
udp 0 0 0.0.0.0:707 0.0.0.0:* 1380/rpcbind
udp 0 0 0.0.0.0:111 0.0.0.0:* 1380/rpcbind
udp 4320 0 0.0.0.0:631 0.0.0.0:* 1316/portreserve
udp 0 0 10.10.83.94:123 0.0.0.0:* 13626/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 13626/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 13626/ntpd
udp 0 0 0.0.0.0:514 0.0.0.0:* 1326/rsyslogd
udp 0 0 0.0.0.0:514 0.0.0.0:* 1326/rsyslogd
udp 0 0 :::707 :::* 1380/rpcbind
udp 0 0 :::111 :::* 1380/rpcbind
udp 0 0 fe80::250:56ff:feb8:788f:123 :::* 13626/ntpd
udp 0 0 ::1:123 :::* 13626/ntpd
udp 0 0 :::123 :::* 13626/ntpd
udp 0 0 :::514 :::* 1326/rsyslogd
udp 0 0 :::514 :::* 1326/rsyslogd
Thanks!