Forums

Resolved
-1 votes
Hi,

The squid log files and proxy report seem to have broken recently (perhaps with the squid update). Has anyone else noticed this?

Thanks

David
Monday, August 24 2015, 08:11 AM
Share this post:
Responses (3)
  • Accepted Answer

    Monday, August 24 2015, 11:40 AM - #Permalink
    Resolved
    0 votes
    I'm not convinced it was the upgrade now, as I found the following entry in the last log file. The update was on the 19th, so it could be that the error occurred earlier.
    I don't know if this is 'normal', but does seem to be at the time data stopped being recorded.


    2015/08/16 03:17:21| 6291456 entries written so far.
    2015/08/16 03:17:21| 6356992 entries written so far.
    2015/08/16 03:17:21| 6422528 entries written so far.
    2015/08/16 03:17:33| Finished. Wrote 6466554 entries.
    2015/08/16 03:17:33| Took 13.35 seconds (484313.55 entries/sec).
    2015/08/16 03:17:33| logfileRotate: /var/log/squid/access.log
    2015/08/16 03:17:33| helperOpenServers: Starting 15/15 'pam_auth' processes
    2015/08/16 03:17:34| helperOpenServers: Starting 15/15 'ntlm_auth' processes
    2015/08/16 03:17:35| helperOpenServers: Starting 5/5 'squid_unix_group' processes
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 106 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 107 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| ipcCreate: Failed to create child FD.
    2015/08/16 03:17:35| WARNING: Cannot run '/usr/lib64/squid/squid_unix_group' process.
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 108 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 109 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| ipcCreate: Failed to create child FD.
    2015/08/16 03:17:35| WARNING: Cannot run '/usr/lib64/squid/squid_unix_group' process.
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 110 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 111 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| ipcCreate: Failed to create child FD.
    2015/08/16 03:17:35| WARNING: Cannot run '/usr/lib64/squid/squid_unix_group' process.
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 112 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 113 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| ipcCreate: Failed to create child FD.
    2015/08/16 03:17:35| WARNING: Cannot run '/usr/lib64/squid/squid_unix_group' process.
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 114 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| commBind: Cannot bind socket FD 115 to [::1]: (99) Cannot assign requested address
    2015/08/16 03:17:35| ipcCreate: Failed to create child FD.
    2015/08/16 03:17:35| WARNING: Cannot run '/usr/lib64/squid/squid_unix_group'
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 24 2015, 09:58 PM - #Permalink
    Resolved
    0 votes
    I thought I would restart squid, but the service didn't respond to the stop command so I used kill -9 and then started it.

    It now appears to be working as expected. I will keep monitoring it for a few days to confirm.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 28 2016, 08:17 PM - #Permalink
    Resolved
    0 votes
    I'm having the same problem, oddly when squid dies I see several dansguardian-av processes, if I restart the cache by using clear cache in the web admin they all go away and I see a couple here and there while watching top while everything works, then when it breaks again, same thing all over.

    13:38 was when I cleared the cache

    2016/02/28 03:27:33| storeDirWriteCleanLogs: Starting...
    2016/02/28 03:27:33| Finished. Wrote 1085 entries.
    2016/02/28 03:27:33| Took 0.00 seconds (337690.63 entries/sec).
    2016/02/28 03:27:33| logfileRotate: /var/log/squid/access.log
    2016/02/28 03:27:33| helperOpenServers: Starting 10/10 'pam_auth' processes
    2016/02/28 03:27:33| helperOpenServers: Starting 5/5 'squid_unix_group' processes
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 58 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 59 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| ipcCreate: Failed to create child FD.
    2016/02/28 03:27:33| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 60 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 61 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| ipcCreate: Failed to create child FD.
    2016/02/28 03:27:33| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 62 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 63 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| ipcCreate: Failed to create child FD.
    2016/02/28 03:27:33| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 64 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 65 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| ipcCreate: Failed to create child FD.
    2016/02/28 03:27:33| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 66 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| commBind: Cannot bind socket FD 67 to [::1]: (99) Cannot assign requested address
    2016/02/28 03:27:33| ipcCreate: Failed to create child FD.
    2016/02/28 03:27:33| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 13:38:14| Preparing for shutdown after 57355 requests
    2016/02/28 13:38:14| Waiting 30 seconds for active connections to finish
    2016/02/28 13:38:14| FD 46 Closing HTTP connection
    2016/02/28 13:38:14| FD 47 Closing HTTP connection
    2016/02/28 13:38:45| Shutting down...
    2016/02/28 13:38:45| basic/auth_basic.cc(97) done: Basic authentication Shutdown.
    2016/02/28 13:38:45| Closing unlinkd pipe on FD 43
    2016/02/28 13:38:45| storeDirWriteCleanLogs: Starting...
    2016/02/28 13:38:45| Finished. Wrote 3107 entries.
    2016/02/28 13:38:45| Took 0.01 seconds (282685.83 entries/sec).
    CPU Usage: 1192.522 seconds = 509.033 user + 683.489 sys
    Maximum Resident Size: 434464 KB
    Page faults with physical i/o: 3
    Memory usage for squid via mallinfo():
    total space in arena: 100284 KB
    Ordinary blocks: 100224 KB 15 blks
    Small blocks: 0 KB 1 blks
    Holding blocks: 7004 KB 7 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 59 KB
    Total in use: 107228 KB 107%
    Total free: 59 KB 0%
    2016/02/28 13:38:45| Open FD UNSTARTED 7 DNS Socket IPv6
    2016/02/28 13:38:45| Open FD READ/WRITE 8 DNS Socket IPv4
    2016/02/28 13:38:45| Open FD READ/WRITE 9 Reading next request
    2016/02/28 13:38:45| Open FD READ/WRITE 11 Reading next request
    2016/02/28 13:38:45| Open FD READ/WRITE 12 http://somewebsite.com/chat/720/je87dutq/xhr_streaming
    ...bunch of similar entries...
    2016/02/28 13:38:45| Open FD READ/WRITE 273 http://somewebsite.com/chat/586/jl7ldrcf/xhr_streaming
    2016/02/28 13:38:45| Squid Cache (Version 3.1.23): Exiting normally.
    2016/02/28 13:38:47| Creating Swap Directories
    2016/02/28 13:38:47| /var/spool/squid exists
    2016/02/28 13:38:47| Making directories in /var/spool/squid/00
    2016/02/28 13:38:47| Making directories in /var/spool/squid/01
    2016/02/28 13:38:47| Making directories in /var/spool/squid/02
    2016/02/28 13:38:47| Making directories in /var/spool/squid/03
    2016/02/28 13:38:47| Making directories in /var/spool/squid/04
    2016/02/28 13:38:47| Making directories in /var/spool/squid/05
    2016/02/28 13:38:47| Making directories in /var/spool/squid/06
    2016/02/28 13:38:47| Making directories in /var/spool/squid/07
    2016/02/28 13:38:48| Making directories in /var/spool/squid/08
    2016/02/28 13:38:48| Making directories in /var/spool/squid/09
    2016/02/28 13:38:48| Making directories in /var/spool/squid/0A
    2016/02/28 13:38:48| Making directories in /var/spool/squid/0B
    2016/02/28 13:38:48| Making directories in /var/spool/squid/0C
    2016/02/28 13:38:48| Making directories in /var/spool/squid/0D
    2016/02/28 13:38:48| Making directories in /var/spool/squid/0E
    2016/02/28 13:38:48| Making directories in /var/spool/squid/0F
    2016/02/28 13:38:48| Starting Squid Cache version 3.1.23 for i686-redhat-linux-gnu...
    2016/02/28 13:38:48| Process ID 17784
    2016/02/28 13:38:48| With 16384 file descriptors available
    2016/02/28 13:38:48| Initializing IP Cache...
    2016/02/28 13:38:48| DNS Socket created at [::], FD 7
    2016/02/28 13:38:48| DNS Socket created at 0.0.0.0, FD 8
    2016/02/28 13:38:48| Adding domain redick.us from /etc/resolv.conf
    2016/02/28 13:38:48| Adding nameserver 127.0.0.1 from /etc/resolv.conf
    2016/02/28 13:38:48| helperOpenServers: Starting 10/10 'pam_auth' processes
    2016/02/28 13:38:48| helperOpenServers: Starting 5/5 'squid_unix_group' processes
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 29 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 30 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| ipcCreate: Failed to create child FD.
    2016/02/28 13:38:48| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 31 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 32 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| ipcCreate: Failed to create child FD.
    2016/02/28 13:38:48| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 33 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 34 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| ipcCreate: Failed to create child FD.
    2016/02/28 13:38:48| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 35 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 36 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| ipcCreate: Failed to create child FD.
    2016/02/28 13:38:48| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 37 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| commBind: Cannot bind socket FD 38 to [::1]: (99) Cannot assign requested address
    2016/02/28 13:38:48| ipcCreate: Failed to create child FD.
    2016/02/28 13:38:48| WARNING: Cannot run '/usr/lib/squid/squid_unix_group' process.
    2016/02/28 13:38:48| User-Agent logging is disabled.
    2016/02/28 13:38:48| Referer logging is disabled.
    2016/02/28 13:38:48| Unlinkd pipe opened on FD 43
    2016/02/28 13:38:48| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
    2016/02/28 13:38:48| Store logging disabled
    2016/02/28 13:38:48| Swap maxSize 1048576 + 262144 KB, estimated 100824 objects
    2016/02/28 13:38:48| Target number of buckets: 5041
    2016/02/28 13:38:48| Using 8192 Store buckets
    2016/02/28 13:38:48| Max Mem size: 262144 KB
    2016/02/28 13:38:48| Max Swap size: 1048576 KB
    2016/02/28 13:38:48| Rebuilding storage in /var/spool/squid (DIRTY)
    2016/02/28 13:38:48| Using Least Load store dir selection
    2016/02/28 13:38:48| Set Current Directory to /var/spool/squid
    2016/02/28 13:38:48| Loaded Icons.
    2016/02/28 13:38:48| Accepting HTTP connections at 127.0.0.1:3128, FD 45.
    2016/02/28 13:38:48| Accepting HTTP connections at 10.1.1.1:3128, FD 46.
    2016/02/28 13:38:48| HTCP Disabled.
    2016/02/28 13:38:48| Loading Squid module from '/usr/lib/libclearos-ecap-adapter.so'
    2016/02/28 13:38:48| Squid plugin modules loaded: 1
    2016/02/28 13:38:48| Adaptation support is off.
    2016/02/28 13:38:48| Starting eCAP service: ecap://clearfoundation.com/ecap-adapter
    2016/02/28 13:38:48| Ready to serve requests.
    2016/02/28 13:38:49| Done scanning /var/spool/squid swaplog (0 entries)
    2016/02/28 13:38:49| Finished rebuilding storage from disk.
    2016/02/28 13:38:49| 0 Entries scanned
    2016/02/28 13:38:49| 0 Invalid entries.
    2016/02/28 13:38:49| 0 With invalid flags.
    2016/02/28 13:38:49| 0 Objects loaded.
    2016/02/28 13:38:49| 0 Objects expired.
    2016/02/28 13:38:49| 0 Objects cancelled.
    2016/02/28 13:38:49| 0 Duplicate URLs purged.
    2016/02/28 13:38:49| 0 Swapfile clashes avoided.
    2016/02/28 13:38:49| Took 0.24 seconds ( 0.00 objects/sec).
    2016/02/28 13:38:49| Beginning Validation Procedure
    2016/02/28 13:38:49| Completed Validation Procedure
    2016/02/28 13:38:49| Validated 25 Entries
    2016/02/28 13:38:49| store_swap_size = 0
    2016/02/28 13:38:49| storeLateRelease: released 0 objects
    The reply is currently minimized Show
Your Reply