<font color="#000099">Hi Tony,<br>The directory /etc/httpd/conf.d stores apache module specific files. <br>/etc/httpd/conf.d/squid.conf gives apache access to cache manager<br><br>I think /etc/squid/squid.conf is the main configuration file for squid. I am not sure what /etc/squid.conf does.<br>
<br>Also, if you do netstat and you see that apache is using port 3182, then i guess you can always take it out or use squid with a different port. I think if you run squid as a stand alone then you give it more ports like say 8080 or something. or maybe apache is working as proxy as Adrian said. what port is squid listening to?<br>
<br>Hope this helps.<br>-Sulochan<br></font><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><font face="sans-serif" size="2">/etc/httpd/conf.d/squid.conf</font>
<br><font face="sans-serif" size="2">/etc/squid.conf</font>
<br><font face="sans-serif" size="2">/etc/squid/squid.conf</font>
<br>
<br><font face="sans-serif" size="2">The first two are regular files, the
last one is a symbolic link:</font>
<br>
<br><font face="sans-serif" size="2">[root@schoolserver conf.d]# ls -l /etc/squid/squid.conf</font>
<br><font face="sans-serif" size="2">lrwxrwxrwx 1 root root 34 2008-01-17
23:26 /etc/squid/squid.conf -> //fsroot.olpc/etc/squid/squid.conf</font>
<br>
<br><font face="sans-serif" size="2">I am not sure which one is being used.</font>
<br>
<br><font face="sans-serif" size="2">==>Second, here is /var/log/squid/cache.log</font>
<br>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Starting Squid
Cache version 2.6.STABLE16 for i386-redhat-l</font>
<br><font face="sans-serif" size="2">inux-gnu...</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Process ID 3425</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| With 1024 file
descriptors available</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Using epoll for
the IO loop</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| DNS Socket created
at <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>, port 32768, FD 5</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Adding nameserver
<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> from squid.conf</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| User-Agent logging
is disabled.</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Referer logging
is disabled.</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Unlinkd pipe opened
on FD 10</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Swap maxSize 20480000
KB, estimated 1575384 objects</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Target number of
buckets: 78769</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Using 131072 Store
buckets</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Max Mem size:
32768 KB</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Max Swap size:
20480000 KB</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Local cache digest
enabled; rebuild/rewrite every 3600/3600</font>
<br><font face="sans-serif" size="2"> sec</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Rebuilding storage
in /library/cache (DIRTY)</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Using Least Load
store dir selection</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Current Directory
is /</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:33| Loaded Icons.</font>
<br><font face="sans-serif" size="2">2008/02/05 11:24:34| commBind: Cannot
bind socket FD 13 to *:3128: (98) Address</font>
<br><font face="sans-serif" size="2">already in use</font>
<br><font face="sans-serif" size="2">FATAL: Cannot open HTTP Port</font>
<br><font face="sans-serif" size="2">Squid Cache (Version 2.6.STABLE16):
Terminated abnormally.</font>
<br><font face="sans-serif" size="2">CPU Usage: 0.071 seconds = 0.042 user
+ 0.029 sys</font>
<br><font face="sans-serif" size="2">Maximum Resident Size: 0 KB</font>
<br><font face="sans-serif" size="2">Page faults with physical i/o: 1</font>
<br><font face="sans-serif" size="2">Memory usage for squid via mallinfo():</font>
<br><font face="sans-serif" size="2"> total space
in arena: 2508 KB</font>
<br><font face="sans-serif" size="2"> Ordinary
blocks: 2379 KB 2 blks</font>
<br><font face="sans-serif" size="2"> Small blocks:
0 KB 1
blks</font>
<br><font face="sans-serif" size="2"> Holding
blocks: 1724 KB 3
blks</font>
<br><font face="sans-serif" size="2"> Free Small
blocks: 0 KB</font>
<br><font face="sans-serif" size="2"> Free Ordinary
blocks: 128 KB</font>
<br><font face="sans-serif" size="2"> Total in
use: 4103 KB 97%</font>
<br><font face="sans-serif" size="2"> Total free:
128 KB 3%</font>
<br>
<br><font face="sans-serif" size="2">When I checked, I see that "port
3128" is being listened to in the "/etc/httpd/conf/httpd.conf"
file for Apache.</font>
<br><font face="sans-serif" size="2">Should I remove that from Apache, so
that squid can have it, or should I try to get squid to use a different
port?</font>
<br>
<br><font face="sans-serif" size="2">Thanks</font>
<br><font color="#888888"><font face="sans-serif" size="2"><br>
</font>
<table>
<tbody><tr>
<td><img src="cid:_1_086194340861904C0014C348072573EB">
</td></tr><tr>
<td><font size="1"><br>
</font>
<table>
<tbody><tr>
<td><img src="cid:_2_0861A3A008619FE40014C348072573EB">
</td><td><font color="#0060a0" face="Microsoft Sans Serif" size="1"><b>Tony Pearson</b></font><font face="Microsoft Sans Serif" size="1"><br>
Senior Storage Consultant, IBM System Storage™<br>
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669<br>
email: <a href="mailto:tpearson@us.ibm.com" target="_blank">tpearson@us.ibm.com</a> | GSA: <a href="http://tucgsa.ibm.com/%7Etpearson" target="_blank">http://tucgsa.ibm.com/~tpearson</a><br>
Blog: <a href="http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage" target="_blank">http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage</a>
AKA: 990tony Paravane, eightbar specialist </font></td></tr></tbody></table>
<br>
</td></tr><tr>
<td><img src="cid:_1_0861AE0C0861AA500014C348072573EB"></td></tr></tbody></table>
<br></font><br>_______________________________________________<br>Server-devel mailing list<br><a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br><a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
<br></blockquote></div><br>