<br><tt><font size=2>Stefan Reitz wrote:</font></tt>
<br><tt><font size=2>> Dansguardian complains:<br>
> Starting Web Content Filter (dansguardian): Error binding server socket
</font></tt>
<br><tt><font size=2>> (is something else running on the filter port?
[8080])<br>
> Exiting with error [FAILED]</font></tt>
<br>
<br><font size=2 face="sans-serif">Stefan, I think I figured out your problem.</font>
<br>
<br><font size=2 face="sans-serif">==> First, I did an "nmap -v
192.168.0.29" on my eth0 machine for XF, and it shows 8080 also:</font>
<br>
<br><font size=2 face="sans-serif">[root@squid ~]# nmap -v 192.168.0.29</font>
<br>
<br><font size=2 face="sans-serif">Starting Nmap 4.20 ( http://insecure.org
) at 2008-02-27 06:50 MST</font>
<br><font size=2 face="sans-serif">Initiating SYN Stealth Scan at 06:50</font>
<br><font size=2 face="sans-serif">Scanning squid.school.pinewood.net (192.168.0.29)
[1697 ports]</font>
<br><font size=2 face="sans-serif">Discovered open port 22/tcp on 192.168.0.29</font>
<br><font size=2 face="sans-serif">Discovered open port 443/tcp on 192.168.0.29</font>
<br><font size=2 face="sans-serif">Discovered open port 80/tcp on 192.168.0.29</font>
<br><font size=2 face="sans-serif">Discovered open port 53/tcp on 192.168.0.29</font>
<br><font size=2 face="sans-serif">Discovered open port 8080/tcp on 192.168.0.29</font>
<br><font size=2 face="sans-serif">Discovered open port 3128/tcp on 192.168.0.29</font>
<br><font size=2 face="sans-serif">Completed SYN Stealth Scan at 06:50,
0.18s elapsed (1697 total ports)</font>
<br><font size=2 face="sans-serif">Host squid.school.pinewood.net (192.168.0.29)
appears to be up ... good.</font>
<br><font size=2 face="sans-serif">Interesting ports on squid.school.pinewood.net
(192.168.0.29):</font>
<br><font size=2 face="sans-serif">Not shown: 1691 closed ports</font>
<br><font size=2 face="sans-serif">PORT STATE SERVICE</font>
<br><font size=2 face="sans-serif">22/tcp open ssh</font>
<br><font size=2 face="sans-serif">53/tcp open domain</font>
<br><font size=2 face="sans-serif">80/tcp open http</font>
<br><font size=2 face="sans-serif">443/tcp open https</font>
<br><font size=2 face="sans-serif">3128/tcp open squid-http</font>
<br><font size=2 face="sans-serif">8080/tcp open http-proxy</font>
<br>
<br><font size=2 face="sans-serif">==> Then, I did a grep to look for
8080 in my /etc files</font>
<br>
<br><font size=2 face="sans-serif">[root@squid ~]# grep -r "8080"
/etc/*</font>
<br><font size=2 face="sans-serif">/etc/gconf/schemas/system_http_proxy.schemas:
<default>8080</default></font>
<br><font size=2 face="sans-serif">/etc/gconf/gconf.xml.defaults/%gconf-tree.xml:</font>
<br><font size=2 face="sans-serif">
<default type="int" value="8080"></font>
<br><font size=2 face="sans-serif">grep: /etc/httpd/run/dbus/system_bus_socket:
No such device or address</font>
<br><font size=2 face="sans-serif">grep: /etc/httpd/run/avahi-daemon/socket:
No such device or address</font>
<br><font size=2 face="sans-serif">/etc/lighttpd/lighttpd.conf:server.port
= 8080</font>
<br><font size=2 face="sans-serif">/etc/services:webcache 8080/tcp
# WWW caching service</font>
<br><font size=2 face="sans-serif">/etc/services:webcache 8080/udp
# WWW caching service</font>
<br>
<br><font size=2 face="sans-serif">I don't know what gconf is, but I do
recognize "lighty" (lighttpd) as a "Apache Lite",</font>
<br><font size=2 face="sans-serif">but given that we are already using
"Apache" itself, no need for it. I am not sure why</font>
<br><font size=2 face="sans-serif">we have Lighty active at all. </font>
<br>
<br><font size=2 face="sans-serif">* * * * * Wad? Can you shed
some light on this? (pun intended.)</font>
<br>
<br><font size=2 face="sans-serif">==> Then, I checked if ligthttpd
was running. It was</font>
<br>
<br><font size=2 face="sans-serif">[root@squid ~]# chkconfig --list | grep
light</font>
<br><font size=2 face="sans-serif">lighttpd 0:off
1:off 2:off 3:on 4:off 5:on
6:off</font>
<br>
<br><font size=2 face="sans-serif">==> Then I stopped it</font>
<br>
<br><font size=2 face="sans-serif">[root@squid ~]# service lighttpd stop</font>
<br><font size=2 face="sans-serif">Stopping lighttpd:
[ OK ]</font>
<br>
<br><font size=2 face="sans-serif">==> Then I ran nmap again:</font>
<br>
<br><font size=2 face="sans-serif">[root@squid ~]# nmap -r 192.168.0.29</font>
<br>
<br><font size=2 face="sans-serif">Starting Nmap 4.20 ( http://insecure.org
) at 2008-02-27 07:06 MST</font>
<br><font size=2 face="sans-serif">Interesting ports on squid.school.pinewood.net
(192.168.0.29):</font>
<br><font size=2 face="sans-serif">Not shown: 1692 closed ports</font>
<br><font size=2 face="sans-serif">PORT STATE SERVICE</font>
<br><font size=2 face="sans-serif">22/tcp open ssh</font>
<br><font size=2 face="sans-serif">53/tcp open domain</font>
<br><font size=2 face="sans-serif">80/tcp open http</font>
<br><font size=2 face="sans-serif">443/tcp open https</font>
<br><font size=2 face="sans-serif">3128/tcp open squid-http</font>
<br>
<br><font size=2 face="sans-serif">Nmap finished: 1 IP address (1 host
up) scanned in 0.178 seconds</font>
<br>
<br><font size=2 face="sans-serif">==> So shutting down lighttpd eliminated
the 8080 port listening. Now to make</font>
<br><font size=2 face="sans-serif">it permanent so that it doesn't start
backup up again during boot time.</font>
<br>
<br><font size=2 face="sans-serif">[root@squid ~]# chkconfig --level 345
lighttpd off</font>
<br><font size=2 face="sans-serif">[root@squid ~]# chkconfig --list lighttpd</font>
<br><font size=2 face="sans-serif">lighttpd 0:off
1:off 2:off 3:off 4:off 5:off
6:off</font>
<br>
<br><font size=2 face="sans-serif">==> This is probably what is happening
in your situation, or at least shows</font>
<br><font size=2 face="sans-serif">you the diagnostic process for figuring
things out like this.</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps, Tony</font>
<br><font size=2 face="sans-serif"><br>
</font>
<table>
<tr>
<td bgcolor=#006699>
<td bgcolor=#006699>
<tr>
<td>
<td><font size=1 color=#0060a0 face="Microsoft Sans Serif"><b>Tony Pearson</b></font><font size=1 face="Microsoft Sans Serif"><br>
Senior Storage Consultant, IBM System Storage™<br>
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669<br>
email: tpearson@us.ibm.com | GSA: http://tucgsa.ibm.com/~tpearson<br>
Blog: </font><a href=http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage><font size=1 color=blue face="Microsoft Sans Serif"><u>http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage</u></font></a><font size=1 face="Microsoft Sans Serif"><br>
AKA: 990tony Paravane, eightbar specialist </font>
<tr>
<td bgcolor=#006699>
<td bgcolor=#006699></table>
<br>