jamesromeongmail.com
2010-04-07 22:46:51 UTC
I think I set apache up properly (I have done so in the past). But it
is not working. It claims that the ports are in use, but they are not:
jarfx:/var/log/apache2 # netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 0.0.0.0:9090 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:9092 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:901 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:9000 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:6010 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:3483 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:17500 0.0.0.0:*
LISTEN
tcp 38 0 192.168.1.9:43503 208.43.223.179:443
CLOSE_WAIT
tcp 0 0 127.0.0.1:9092 127.0.0.1:43189
ESTABLISHED
tcp 0 0 192.168.1.9:22 192.168.1.11:50218
ESTABLISHED
tcp 0 0 192.168.1.9:36559 174.36.30.48:80
ESTABLISHED
tcp 38 0 192.168.1.9:57342 204.236.220.71:443
CLOSE_WAIT
tcp 0 0 192.168.1.9:3483 192.168.1.20:45622
ESTABLISHED
tcp 0 0 127.0.0.1:43189 127.0.0.1:9092
ESTABLISHED
tcp 38 0 192.168.1.9:59716 174.36.30.90:443
CLOSE_WAIT
tcp 0 0 192.168.1.9:3483 192.168.1.6:23337
ESTABLISHED
tcp 0 0 192.168.1.9:58324 174.36.30.70:443
ESTABLISHED
tcp 0 0 :::139 :::*
LISTEN
tcp 0 0 :::111 :::*
LISTEN
tcp 0 0 :::22 :::*
LISTEN
tcp 0 0 ::1:631 :::*
LISTEN
tcp 0 0 ::1:25 :::*
LISTEN
tcp 0 0 ::1:6010 :::*
LISTEN
tcp 0 0 :::445 :::*
LISTEN
tcp 0 0 192.168.1.9:445 192.168.1.11:50132
ESTABLISHED
And then
jarfx:/var/log/apache2 # rcapache2 start
Starting httpd2 (prefork) (98)Address already in use: make_sock: could
not bind to address [::]:443
(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
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
The unable to open logs points to a permissions issue.
I uninstalled apache, deleted /etc/apache2, and /etc/sysconfig/
apache2, and reinstalled and reconfigured, and it still will not work.
I would love some sugestions.
Thanks,
Jim
is not working. It claims that the ports are in use, but they are not:
jarfx:/var/log/apache2 # netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 0.0.0.0:9090 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:9092 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:901 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:9000 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:6010 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:3483 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:17500 0.0.0.0:*
LISTEN
tcp 38 0 192.168.1.9:43503 208.43.223.179:443
CLOSE_WAIT
tcp 0 0 127.0.0.1:9092 127.0.0.1:43189
ESTABLISHED
tcp 0 0 192.168.1.9:22 192.168.1.11:50218
ESTABLISHED
tcp 0 0 192.168.1.9:36559 174.36.30.48:80
ESTABLISHED
tcp 38 0 192.168.1.9:57342 204.236.220.71:443
CLOSE_WAIT
tcp 0 0 192.168.1.9:3483 192.168.1.20:45622
ESTABLISHED
tcp 0 0 127.0.0.1:43189 127.0.0.1:9092
ESTABLISHED
tcp 38 0 192.168.1.9:59716 174.36.30.90:443
CLOSE_WAIT
tcp 0 0 192.168.1.9:3483 192.168.1.6:23337
ESTABLISHED
tcp 0 0 192.168.1.9:58324 174.36.30.70:443
ESTABLISHED
tcp 0 0 :::139 :::*
LISTEN
tcp 0 0 :::111 :::*
LISTEN
tcp 0 0 :::22 :::*
LISTEN
tcp 0 0 ::1:631 :::*
LISTEN
tcp 0 0 ::1:25 :::*
LISTEN
tcp 0 0 ::1:6010 :::*
LISTEN
tcp 0 0 :::445 :::*
LISTEN
tcp 0 0 192.168.1.9:445 192.168.1.11:50132
ESTABLISHED
And then
jarfx:/var/log/apache2 # rcapache2 start
Starting httpd2 (prefork) (98)Address already in use: make_sock: could
not bind to address [::]:443
(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
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
The unable to open logs points to a permissions issue.
I uninstalled apache, deleted /etc/apache2, and /etc/sysconfig/
apache2, and reinstalled and reconfigured, and it still will not work.
I would love some sugestions.
Thanks,
Jim