Chris Robertson wrote:
-----Original Message-----
From: Joe Commisso [mailto:jemc@xxxxxxxxxxxx]
Sent: Wednesday, February 15, 2006 4:12 PM
To: Squid Users
Subject: Can't get squid to work
Hello:
I am trying to get squid working and need help since I have
been at this
for a long time.
I am including my squid.conf file and also the output from 'squid -k
parse' & 'squidclient ...'
When I put my http proxy information in firefox, the
connection times out.
My firefox http proxy info is 'http proxy: 192.168.4.1' 'port: 3128'
All help is greatly appreciated,
Joe
Check the cache.log. It will likely show the reason Squid is not starting.
Chris
Here is my cache.log. I also tried to access a web page and it didn't
add anything to this log. I'll also include my access.log after this
listing.
[root@r2d2 squid]# tail -35 cache.log
2006/02/14 21:37:01| FD 9 Closing HTTP connection
2006/02/14 21:37:01| Shutting down...
2006/02/14 21:37:01| Closing unlinkd pipe on FD 10
2006/02/14 21:37:01| storeDirWriteCleanLogs: Starting...
2006/02/14 21:37:01| Finished. Wrote 0 entries.
2006/02/14 21:37:01| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.330 seconds = 0.130 user + 0.200 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 411
Memory usage for squid via mallinfo():
total space in arena: 1837 KB
Ordinary blocks: 1800 KB 4 blks
Small blocks: 0 KB 6 blks
Holding blocks: 200 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 37 KB
Total in use: 2000 KB 109%
Total free: 37 KB 2%
2006/02/14 21:37:01| Open FD 12 squid -> diskd
2006/02/14 21:37:01| Squid Cache (Version 2.5.STABLE9): Exiting normally.
2006/02/15 17:29:44| Starting Squid Cache version 2.5.STABLE9 for
i686-pc-linux-gnu...
2006/02/15 17:29:44| Process ID 19580
2006/02/15 17:29:44| With 1024 file descriptors available
2006/02/15 17:29:44| Performing DNS Tests...
2006/02/15 17:29:44| Successful DNS name lookup tests...
2006/02/15 17:29:44| DNS Socket created at 0.0.0.0, port 32768, FD 5
2006/02/15 17:29:44| Adding nameserver 204.168.2.1 from /etc/resolv.conf
2006/02/15 17:29:44| Unlinkd pipe opened on FD 10
2006/02/15 17:29:44| Swap maxSize 768000 KB, estimated 59076 objects
2006/02/15 17:29:44| Target number of buckets: 2953
2006/02/15 17:29:44| Using 8192 Store buckets
2006/02/15 17:29:44| Max Mem size: 131072 KB
2006/02/15 17:29:44| Max Swap size: 768000 KB
2006/02/15 17:29:44| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2006/02/15 17:29:44| Store logging disabled
[root@r2d2 squid]# cat access.log
1139686918.018 179373 localhost.localdomain TCP_MISS/504 1391 GET
http://www.squid-cache.org/ - NONE/- text/html
1140052030.017 180013 localhost.localdomain TCP_MISS/504 1383 GET
http://squid-cache.org/ - NONE/- text/html