[squid-users] Squid proxy not working when upgrade from 27 to 3.5

Angus J. ajiang at ouhk.edu.hk
Thu Oct 25 09:19:34 UTC 2018


1. How is squid confdigured in windows (IE uses windows proxy settings)?
NO
 
2. whats's in squid access and cache logs? 
-rw-r----- 1 squid squid      0 Oct 22 12:21 access.log
-rw-r----- 1 squid squid      0 Oct 22 13:02 netdb.state
-rw-r----- 1 squid squid   6498 Oct 24 11:29 store.log
-rw-r----- 1 squid squid 141946 Oct 24 11:29 cache.log

2018/10/24 11:27:34 kid1| Swap maxSize 102400 + 8192 KB, estimated 8507
objects
2018/10/24 11:27:34 kid1| Target number of buckets: 425
2018/10/24 11:27:34 kid1| Using 8192 Store buckets
2018/10/24 11:27:34 kid1| Max Mem  size: 8192 KB
2018/10/24 11:27:34 kid1| Max Swap size: 102400 KB
2018/10/24 11:27:34 kid1| Rebuilding storage in /var/cache/squid (dirty log)
2018/10/24 11:27:34 kid1| Using Least Load store dir selection
2018/10/24 11:27:34 kid1| Set Current Directory to /var/cache/squid
2018/10/24 11:27:34 kid1| Finished loading MIME types and icons.
2018/10/24 11:27:34 kid1| HTCP Disabled.
2018/10/24 11:27:34 kid1| commBind: Cannot bind socket FD 24 to [::1]: (99)
Cannot assign requested address
2018/10/24 11:27:34 kid1| commBind: Cannot bind socket FD 25 to [::1]: (99)
Cannot assign requested address
2018/10/24 11:27:34 kid1| ERROR: Failed to create helper child read FD:
UDP[::1]
2018/10/24 11:27:34 kid1| Configuring Parent 192.168.31.113/8001/0
2018/10/24 11:27:34 kid1| Configuring Parent 192.168.31.134/8005/0
2018/10/24 11:27:34 kid1| Configuring Parent 192.168.31.134/8004/0
2018/10/24 11:27:34 kid1| Configuring Parent 192.168.31.134/8000/0
2018/10/24 11:27:34 kid1| Squid plugin modules loaded: 0
2018/10/24 11:27:34 kid1| Adaptation support is off.
2018/10/24 11:27:34 kid1| Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 18 flags=9
2018/10/24 11:27:34 kid1| Accepting reverse-proxy HTTP Socket connections at
local=[::]:3128 remote=[::] FD 19 flags=9
2018/10/24 11:27:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:80 remote=[::] FD 20 flags=9
2018/10/24 11:27:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8000 remote=[::] FD 21 flags=9
2018/10/24 11:27:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8004 remote=[::] FD 22 flags=9
2018/10/24 11:27:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8005 remote=[::] FD 23 flags=9
2018/10/24 11:27:34 kid1| Done reading /var/cache/squid swaplog (0 entries)
2018/10/24 11:27:34 kid1| Store rebuilding is 0.00% complete
2018/10/24 11:27:34 kid1| Finished rebuilding storage from disk.
2018/10/24 11:27:34 kid1|         0 Entries scanned
2018/10/24 11:27:34 kid1|         0 Invalid entries.
2018/10/24 11:27:34 kid1|         0 With invalid flags.
2018/10/24 11:27:34 kid1|         0 Objects loaded.
2018/10/24 11:27:34 kid1|         0 Objects expired.
2018/10/24 11:27:34 kid1|         0 Objects cancelled.
2018/10/24 11:27:34 kid1|         0 Duplicate URLs purged.
2018/10/24 11:27:34 kid1|         0 Swapfile clashes avoided.
2018/10/24 11:27:34 kid1|   Took 0.02 seconds (  0.00 objects/sec).
2018/10/24 11:27:34 kid1| Beginning Validation Procedure
2018/10/24 11:27:34 kid1| ERROR: listen( FD 19, [::] [ job2], 1024): (98)
Address already in use
2018/10/24 11:27:34 kid1|   Completed Validation Procedure
2018/10/24 11:27:34 kid1|   Validated 0 Entries
2018/10/24 11:27:34 kid1|   store_swap_size = 0.00 KB
2018/10/24 11:27:35 kid1| storeLateRelease: released 0 objects
2018/10/24 11:29:31| Set Current Directory to /var/cache/squid
2018/10/24 11:29:31 kid1| Killing master process, pid 8464
2018/10/24 11:29:31 kid1| Preparing for shutdown after 0 requests
2018/10/24 11:29:31 kid1| Waiting 30 seconds for active connections to
finish
2018/10/24 11:29:31 kid1| Closing HTTP port [::]:3128
2018/10/24 11:29:31 kid1| Closing HTTP port [::]:3128
2018/10/24 11:29:31 kid1| Closing HTTPS port [::]:80
2018/10/24 11:29:31 kid1| Closing HTTPS port [::]:8000
2018/10/24 11:29:31 kid1| Closing HTTPS port [::]:8004
2018/10/24 11:29:31 kid1| Closing HTTPS port [::]:8005
2018/10/24 11:29:32 kid1| Set Current Directory to /var/cache/squid
2018/10/24 11:29:32 kid1| Starting Squid Cache version 3.5.21 for
x86_64-suse-linux-gnu...
2018/10/24 11:29:32 kid1| Service Name: squid
2018/10/24 11:29:32 kid1| Process ID 8497
2018/10/24 11:29:32 kid1| Process Roles: worker
2018/10/24 11:29:32 kid1| With 4096 file descriptors available
2018/10/24 11:29:32 kid1| Initializing IP Cache...
2018/10/24 11:29:32 kid1| DNS Socket created at [::], FD 6
2018/10/24 11:29:32 kid1| DNS Socket created at 0.0.0.0, FD 7
2018/10/24 11:29:32 kid1| Adding domain ouhk.edu.hk from /etc/resolv.conf
2018/10/24 11:29:32 kid1| Adding nameserver 192.207.91.2 from
/etc/resolv.conf
2018/10/24 11:29:32 kid1| Adding nameserver 192.207.91.1 from
/etc/resolv.conf
2018/10/24 11:29:32 kid1| Logfile: opening log /var/log/squid/access.log
2018/10/24 11:29:32 kid1| WARNING: log name now starts with a module name.
Use 'stdio:/var/log/squid/access.log'
2018/10/24 11:29:32 kid1| Unlinkd pipe opened on FD 14
2018/10/24 11:29:32 kid1| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2018/10/24 11:29:32 kid1| Logfile: opening log /var/log/squid/store.log
2018/10/24 11:29:32 kid1| WARNING: log name now starts with a module name.
Use 'stdio:/var/log/squid/store.log'
2018/10/24 11:29:32 kid1| Swap maxSize 102400 + 8192 KB, estimated 8507
objects
2018/10/24 11:29:32 kid1| Target number of buckets: 425
2018/10/24 11:29:32 kid1| Using 8192 Store buckets
2018/10/24 11:29:32 kid1| Max Mem  size: 8192 KB
2018/10/24 11:29:32 kid1| Max Swap size: 102400 KB
2018/10/24 11:29:32 kid1| Rebuilding storage in /var/cache/squid (dirty log)
2018/10/24 11:29:32 kid1| Using Least Load store dir selection
2018/10/24 11:29:32 kid1| Set Current Directory to /var/cache/squid
2018/10/24 11:29:32 kid1| Finished loading MIME types and icons.
2018/10/24 11:29:32 kid1| HTCP Disabled.
2018/10/24 11:29:32 kid1| commBind: Cannot bind socket FD 24 to [::1]: (99)
Cannot assign requested address
2018/10/24 11:29:32 kid1| commBind: Cannot bind socket FD 25 to [::1]: (99)
Cannot assign requested address
2018/10/24 11:29:32 kid1| ERROR: Failed to create helper child read FD:
UDP[::1]
2018/10/24 11:29:32 kid1| Configuring Parent 192.168.31.113/8001/0
2018/10/24 11:29:32 kid1| Configuring Parent 192.168.31.134/8005/0
2018/10/24 11:29:32 kid1| Configuring Parent 192.168.31.134/8004/0
2018/10/24 11:29:32 kid1| Configuring Parent 192.168.31.134/8000/0
2018/10/24 11:29:32 kid1| Squid plugin modules loaded: 0
2018/10/24 11:29:32 kid1| Adaptation support is off.
2018/10/24 11:29:32 kid1| Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 18 flags=9
2018/10/24 11:29:32 kid1| Accepting reverse-proxy HTTP Socket connections at
local=[::]:3128 remote=[::] FD 19 flags=9
2018/10/24 11:29:32 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:80 remote=[::] FD 20 flags=9
2018/10/24 11:29:32 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8000 remote=[::] FD 21 flags=9
2018/10/24 11:29:32 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8004 remote=[::] FD 22 flags=9
2018/10/24 11:29:32 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8005 remote=[::] FD 23 flags=9
2018/10/24 11:29:32 kid1| Done reading /var/cache/squid swaplog (0 entries)
2018/10/24 11:29:32 kid1| Store rebuilding is 0.00% complete
2018/10/24 11:29:32 kid1| Finished rebuilding storage from disk.
2018/10/24 11:29:32 kid1|         0 Entries scanned
2018/10/24 11:29:32 kid1|         0 Invalid entries.
2018/10/24 11:29:32 kid1|         0 With invalid flags.
2018/10/24 11:29:32 kid1|         0 Objects loaded.
2018/10/24 11:29:32 kid1|         0 Objects expired.
2018/10/24 11:29:32 kid1|         0 Objects cancelled.
2018/10/24 11:29:32 kid1|         0 Duplicate URLs purged.
2018/10/24 11:29:32 kid1|         0 Swapfile clashes avoided.
2018/10/24 11:29:32 kid1|   Took 0.02 seconds (  0.00 objects/sec).
2018/10/24 11:29:32 kid1| Beginning Validation Procedure
2018/10/24 11:29:32 kid1| ERROR: listen( FD 19, [::] [ job2], 1024): (98)
Address already in use
2018/10/24 11:29:32 kid1|   Completed Validation Procedure
2018/10/24 11:29:32 kid1|   Validated 0 Entries
2018/10/24 11:29:32 kid1|   store_swap_size = 0.00 KB
2018/10/24 11:29:33 kid1| storeLateRelease: released 0 objects
2018/10/24 11:29:34| Set Current Directory to /var/cache/squid
2018/10/24 11:29:34 kid1| Killing master process, pid 8495
2018/10/24 11:29:34 kid1| Preparing for shutdown after 0 requests
2018/10/24 11:29:34 kid1| Waiting 30 seconds for active connections to
finish
2018/10/24 11:29:34 kid1| Closing HTTP port [::]:3128
2018/10/24 11:29:34 kid1| Closing HTTP port [::]:3128
2018/10/24 11:29:34 kid1| Closing HTTPS port [::]:80
2018/10/24 11:29:34 kid1| Closing HTTPS port [::]:8000
2018/10/24 11:29:34 kid1| Closing HTTPS port [::]:8004
2018/10/24 11:29:34 kid1| Closing HTTPS port [::]:8005
2018/10/24 11:29:34 kid1| Set Current Directory to /var/cache/squid
2018/10/24 11:29:34 kid1| Starting Squid Cache version 3.5.21 for
x86_64-suse-linux-gnu...
2018/10/24 11:29:34 kid1| Service Name: squid
2018/10/24 11:29:34 kid1| Process ID 8525
2018/10/24 11:29:34 kid1| Process Roles: worker
2018/10/24 11:29:34 kid1| With 4096 file descriptors available
2018/10/24 11:29:34 kid1| Initializing IP Cache...
2018/10/24 11:29:34 kid1| DNS Socket created at [::], FD 6
2018/10/24 11:29:34 kid1| DNS Socket created at 0.0.0.0, FD 7
2018/10/24 11:29:34 kid1| Adding domain ouhk.edu.hk from /etc/resolv.conf
2018/10/24 11:29:34 kid1| Adding nameserver 192.207.91.2 from
/etc/resolv.conf
2018/10/24 11:29:34 kid1| Adding nameserver 192.207.91.1 from
/etc/resolv.conf
2018/10/24 11:29:34 kid1| Logfile: opening log /var/log/squid/access.log
2018/10/24 11:29:34 kid1| WARNING: log name now starts with a module name.
Use 'stdio:/var/log/squid/access.log'
2018/10/24 11:29:34 kid1| Unlinkd pipe opened on FD 14
2018/10/24 11:29:34 kid1| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2018/10/24 11:29:34 kid1| Logfile: opening log /var/log/squid/store.log
2018/10/24 11:29:34 kid1| WARNING: log name now starts with a module name.
Use 'stdio:/var/log/squid/store.log'
2018/10/24 11:29:34 kid1| Swap maxSize 102400 + 8192 KB, estimated 8507
objects
2018/10/24 11:29:34 kid1| Target number of buckets: 425
2018/10/24 11:29:34 kid1| Using 8192 Store buckets
2018/10/24 11:29:34 kid1| Max Mem  size: 8192 KB
2018/10/24 11:29:34 kid1| Max Swap size: 102400 KB
2018/10/24 11:29:34 kid1| Rebuilding storage in /var/cache/squid (dirty log)
2018/10/24 11:29:34 kid1| Using Least Load store dir selection
2018/10/24 11:29:34 kid1| Set Current Directory to /var/cache/squid
2018/10/24 11:29:34 kid1| Finished loading MIME types and icons.
2018/10/24 11:29:34 kid1| HTCP Disabled.
2018/10/24 11:29:34 kid1| commBind: Cannot bind socket FD 24 to [::1]: (99)
Cannot assign requested address
2018/10/24 11:29:34 kid1| commBind: Cannot bind socket FD 25 to [::1]: (99)
Cannot assign requested address
2018/10/24 11:29:34 kid1| ERROR: Failed to create helper child read FD:
UDP[::1]
2018/10/24 11:29:34 kid1| Configuring Parent 192.168.31.113/8001/0
2018/10/24 11:29:34 kid1| Configuring Parent 192.168.31.134/8005/0
2018/10/24 11:29:34 kid1| Configuring Parent 192.168.31.134/8004/0
2018/10/24 11:29:34 kid1| Configuring Parent 192.168.31.134/8000/0
2018/10/24 11:29:34 kid1| Squid plugin modules loaded: 0
2018/10/24 11:29:34 kid1| Adaptation support is off.
2018/10/24 11:29:34 kid1| Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 18 flags=9
2018/10/24 11:29:34 kid1| Accepting reverse-proxy HTTP Socket connections at
local=[::]:3128 remote=[::] FD 19 flags=9
2018/10/24 11:29:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:80 remote=[::] FD 20 flags=9
2018/10/24 11:29:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8000 remote=[::] FD 21 flags=9
2018/10/24 11:29:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8004 remote=[::] FD 22 flags=9
2018/10/24 11:29:34 kid1| Accepting reverse-proxy HTTPS Socket connections
at local=[::]:8005 remote=[::] FD 23 flags=9
2018/10/24 11:29:34 kid1| Done reading /var/cache/squid swaplog (0 entries)
2018/10/24 11:29:34 kid1| Store rebuilding is 0.00% complete
2018/10/24 11:29:34 kid1| Finished rebuilding storage from disk.
2018/10/24 11:29:34 kid1|         0 Entries scanned
2018/10/24 11:29:34 kid1|         0 Invalid entries.
2018/10/24 11:29:34 kid1|         0 With invalid flags.
2018/10/24 11:29:34 kid1|         0 Objects loaded.
2018/10/24 11:29:34 kid1|         0 Objects expired.
2018/10/24 11:29:34 kid1|         0 Objects cancelled.
2018/10/24 11:29:34 kid1|         0 Duplicate URLs purged.
2018/10/24 11:29:34 kid1|         0 Swapfile clashes avoided.
2018/10/24 11:29:34 kid1|   Took 0.02 seconds (  0.00 objects/sec).
2018/10/24 11:29:34 kid1| Beginning Validation Procedure
2018/10/24 11:29:34 kid1| ERROR: listen( FD 19, [::] [ job2], 1024): (98)
Address already in use
2018/10/24 11:29:34 kid1|   Completed Validation Procedure
2018/10/24 11:29:34 kid1|   Validated 0 Entries
2018/10/24 11:29:34 kid1|   store_swap_size = 0.00 KB
2018/10/24 11:29:35 kid1| storeLateRelease: released 0 objects




3. we have repeatedly asked you: why do you insist on using port 80 for 
   HTTPS, when port 80 is HTTP non-SSL port?  I will use 8005 for https



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html


More information about the squid-users mailing list