[Server-devel] Need Squid help
Tony Pearson
tpearson at us.ibm.com
Sat Feb 9 22:46:47 EST 2008
Adrian,
My squid fails at boot time.
===>First, I found three different squid.conf files:
[root at schoolserver conf]# find /etc -name squid.conf -print
/etc/httpd/conf.d/squid.conf
/etc/squid.conf
/etc/squid/squid.conf
The first two are regular files, the last one is a symbolic link:
[root at schoolserver conf.d]# ls -l /etc/squid/squid.conf
lrwxrwxrwx 1 root root 34 2008-01-17 23:26 /etc/squid/squid.conf ->
//fsroot.olpc/etc/squid/squid.conf
I am not sure which one is being used.
==>Second, here is /var/log/squid/cache.log
2008/02/05 11:24:33| Starting Squid Cache version 2.6.STABLE16 for
i386-redhat-l
inux-gnu...
2008/02/05 11:24:33| Process ID 3425
2008/02/05 11:24:33| With 1024 file descriptors available
2008/02/05 11:24:33| Using epoll for the IO loop
2008/02/05 11:24:33| DNS Socket created at 0.0.0.0, port 32768, FD 5
2008/02/05 11:24:33| Adding nameserver 127.0.0.1 from squid.conf
2008/02/05 11:24:33| User-Agent logging is disabled.
2008/02/05 11:24:33| Referer logging is disabled.
2008/02/05 11:24:33| Unlinkd pipe opened on FD 10
2008/02/05 11:24:33| Swap maxSize 20480000 KB, estimated 1575384 objects
2008/02/05 11:24:33| Target number of buckets: 78769
2008/02/05 11:24:33| Using 131072 Store buckets
2008/02/05 11:24:33| Max Mem size: 32768 KB
2008/02/05 11:24:33| Max Swap size: 20480000 KB
2008/02/05 11:24:33| Local cache digest enabled; rebuild/rewrite every
3600/3600
sec
2008/02/05 11:24:33| Rebuilding storage in /library/cache (DIRTY)
2008/02/05 11:24:33| Using Least Load store dir selection
2008/02/05 11:24:33| Current Directory is /
2008/02/05 11:24:33| Loaded Icons.
2008/02/05 11:24:34| commBind: Cannot bind socket FD 13 to *:3128: (98)
Address
already in use
FATAL: Cannot open HTTP Port
Squid Cache (Version 2.6.STABLE16): Terminated abnormally.
CPU Usage: 0.071 seconds = 0.042 user + 0.029 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 1
Memory usage for squid via mallinfo():
total space in arena: 2508 KB
Ordinary blocks: 2379 KB 2 blks
Small blocks: 0 KB 1 blks
Holding blocks: 1724 KB 3 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 128 KB
Total in use: 4103 KB 97%
Total free: 128 KB 3%
When I checked, I see that "port 3128" is being listened to in the
"/etc/httpd/conf/httpd.conf" file for Apache.
Should I remove that from Apache, so that squid can have it, or should I
try to get squid to use a different port?
Thanks
Tony Pearson
Senior Storage Consultant, IBM System Storage?
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669
email: tpearson at us.ibm.com | GSA: http://tucgsa.ibm.com/~tpearson
Blog: http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage
AKA: 990tony Paravane, eightbar specialist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20080209/9fafe637/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 166 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20080209/9fafe637/attachment.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3808 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20080209/9fafe637/attachment.jpeg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 166 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20080209/9fafe637/attachment-0001.gif
More information about the Server-devel
mailing list