All - 

When I start squid, it just "hangs" - 

[EMAIL PROTECTED] etc]# /etc/rc.d/init.d/squid start
Starting squid:

Here's what the cache.log has to say when it is "hung" - 

2004/09/06 13:15:26| Starting Squid Cache version 2.5.STABLE5 for i386
redhat-linux-gnu...
2004/09/06 13:15:26| Process ID 19242
2004/09/06 13:15:26| With 1024 file descriptors available
2004/09/06 13:15:26| DNS Socket created at 0.0.0.0, port 32771, FD 4
2004/09/06 13:15:26| Adding nameserver 10.1.2.35 from /etc/resolv.conf
2004/09/06 13:15:26| Adding nameserver 10.1.2.36 from /etc/resolv.conf
2004/09/06 13:15:26| User-Agent logging is disabled.
2004/09/06 13:15:26| Referer logging is disabled.
2004/09/06 13:15:26| Unlinkd pipe opened on FD 9
2004/09/06 13:15:26| Swap maxSize 102400 KB, estimated 7876 objects
2004/09/06 13:15:26| Target number of buckets: 393
2004/09/06 13:15:26| Using 8192 Store buckets
2004/09/06 13:15:26| Max Mem  size: 8192 KB
2004/09/06 13:15:26| Max Swap size: 102400 KB
2004/09/06 13:15:26| Rebuilding storage in /var/spool/squid (CLEAN)
2004/09/06 13:15:26| Using Least Load store dir selection
2004/09/06 13:15:26| Set Current Directory to /var/spool/squid
2004/09/06 13:15:26| Loaded Icons.
2004/09/06 13:15:27| Accepting HTTP connections at 0.0.0.0, port 80, FD 11.
2004/09/06 13:15:27| Initialising SSL.
2004/09/06 13:15:27| Using certificate in /usr/share/ssl/certs/px-www.crt
2004/09/06 13:15:27| Using private key in /usr/share/ssl/private/px-www.key
2004/09/06 13:15:27| Accepting HTTPS connections at 192.168.252.201, port
443, FD 12.
2004/09/06 13:15:27| Initialising SSL.
2004/09/06 13:15:27| Using certificate in /usr/share/ssl/certs/px-secure.crt
2004/09/06 13:15:27| Using private key in
/usr/share/ssl/private/px-secure.key
2004/09/06 13:15:27| Accepting HTTPS connections at 192.168.252.202, port
443, FD 13.
2004/09/06 13:15:27| Initialising SSL.
2004/09/06 13:15:27| Using certificate in
/usr/share/ssl/certs/px-lockbox.crt
2004/09/06 13:15:27| Using private key in
/usr/share/ssl/private/px-lockbox.key
2004/09/06 13:15:27| Accepting HTTPS connections at 192.168.252.203, port
443, FD 14.
2004/09/06 13:15:27| Accepting ICP messages at 0.0.0.0, port 3130, FD 15.
2004/09/06 13:15:27| WCCP Disabled.
2004/09/06 13:15:27| Configuring Parent px-www/80/0
2004/09/06 13:15:27| Configuring Parent px-secure/80/0
2004/09/06 13:15:27| Configuring Parent px-lockbox/80/0
2004/09/06 13:15:27| Ready to serve requests.
2004/09/06 13:15:27| Done reading /var/spool/squid swaplog (1 entries)
2004/09/06 13:15:27| Finished rebuilding storage from disk.
2004/09/06 13:15:27|         1 Entries scanned
2004/09/06 13:15:27|         0 Invalid entries.
2004/09/06 13:15:27|         0 With invalid flags.
2004/09/06 13:15:27|         1 Objects loaded.
2004/09/06 13:15:27|         0 Objects expired.
2004/09/06 13:15:27|         0 Objects cancelled.
2004/09/06 13:15:27|         0 Duplicate URLs purged.
2004/09/06 13:15:27|         0 Swapfile clashes avoided.
2004/09/06 13:15:27|   Took 0.3 seconds (   3.6 objects/sec).
2004/09/06 13:15:27| Beginning Validation Procedure
2004/09/06 13:15:27|   Completed Validation Procedure
2004/09/06 13:15:27|   Validated 1 Entries
2004/09/06 13:15:27|   store_swap_size = 4k
2004/09/06 13:15:27| storeLateRelease: released 0 objects


Here's a diff of my squid.conf file (compared to the squid.conf.default)

[EMAIL PROTECTED] squid]# diff squid.conf squid.conf.default
54d53
< http_port 80
97,102d95
< https_port 192.168.252.201:443 cert=/usr/share/ssl/certs/px-www.crt
key=/usr/share/ssl/private/px-www.key
< https_port 192.168.252.202:443 cert=/usr/share/ssl/certs/px-secure.crt
key=/usr/share/ssl/private/px-secure.key
< https_port 192.168.252.203:443 cert=/usr/share/ssl/certs/px-lockbox.crt
key=/usr/share/ssl/private/px-lockbox.key
<
<
<
330,347d322
< acl port80 port 80
<
< cache_peer px-www parent 80 0 no-query
< acl px-www-acl dstdomain px-www.foo.com
< #acl  src 205.242.83.0/24 192.168.252.101/32
< http_access allow px-www-acl port80
< #cache_peer_access px-www allow px-www-acl
<
< cache_peer px-secure parent 80 0 no-query
< acl px-secure-acl dstdomain px-secure.foo.com
< http_access allow px-secure-acl port80
< #cache_peer_access px-secure allow px-secure-acl
<
< cache_peer px-lockbox parent 80 0 no-query
< acl px-lockbox-acl dstdomain px-lockbox.foo.com
< http_access allow px-lockbox-acl port80
< #cache_peer_access px-lockbox allow px-lockbox-acl
<
1801c1776
< acl SSL_ports port 443
---
> acl SSL_ports port 443 563
1803c1778,1786
< acl Safe_ports port 443               # https
---
> acl Safe_ports port 21                # ftp
> acl Safe_ports port 443 563   # https, snews
> acl Safe_ports port 70                # gopher
> acl Safe_ports port 210               # wais
> acl Safe_ports port 1025-65535        # unregistered ports
> acl Safe_ports port 280               # http-mgmt
> acl Safe_ports port 488               # gss-http
> acl Safe_ports port 591               # filemaker
> acl Safe_ports port 777               # multiling http
1830c1813
< #http_access allow manager localhost
---
> http_access allow manager localhost
1835d1817
< #http_access deny CONNECT !SSL_ports
1841c1823
< http_access deny to_localhost
---
> #http_access deny to_localhost
1851,1853d1832
<
2158,2160d2136
< httpd_accel_host 10.1.252.100
< httpd_accel_port 80
< httpd_accel_with_proxy on
2567d2542
<
2599,2601d2573
< never_direct allow all
<
<


Thanks in advance for any assistance!

- Ben


Reply via email to