diladele / docker-websafety

Docker image for Diladele Web Safety ICAP web filter and Squid with HTTPS filtering and SSL Bump
38 stars 12 forks source link

Error When Enabling Disk Cache-Squid Fails to Start #16

Closed sbyland closed 3 years ago

sbyland commented 3 years ago

2021/06/27 15:23:37| Created PID file (/run/squid.pid) 2021/06/27 15:23:37| Current Directory is /etc/runit/runsvdir/default/squid 2021/06/27 15:23:37| Starting Squid Cache version 4.13 for x86_64-pc-linux-gnu... 2021/06/27 15:23:37| Service Name: squid 2021/06/27 15:23:37| Process ID 16298 2021/06/27 15:23:37| Process Roles: master worker 2021/06/27 15:23:37| With 65535 file descriptors available 2021/06/27 15:23:37| Initializing IP Cache... 2021/06/27 15:23:37| DNS Socket created at 0.0.0.0, FD 3 2021/06/27 15:23:37| Adding nameserver 1.1.1.2 from squid.conf 2021/06/27 15:23:37| helperOpenServers: Starting 5/32 'security_file_certgen' processes 2021/06/27 15:23:37| helperOpenServers: Starting 5/20 'safe_browsing_guard.py' processes 2021/06/27 15:23:37| Logfile: opening log daemon:/var/log/squid/access.log 2021/06/27 15:23:37| Logfile Daemon: opening log /var/log/squid/access.log 2021/06/27 15:23:38| Unlinkd pipe opened on FD 36 2021/06/27 15:23:38| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2021/06/27 15:23:38| Store logging disabled 2021/06/27 15:23:38| Swap maxSize 102400 + 524288 KB, estimated 48206 objects 2021/06/27 15:23:38| Target number of buckets: 2410 2021/06/27 15:23:38| Using 8192 Store buckets 2021/06/27 15:23:38| Max Mem size: 524288 KB 2021/06/27 15:23:38| Max Swap size: 102400 KB 2021/06/27 15:23:38| ERROR: /var/spool/squid/00: (2) No such file or directory 2021/06/27 15:23:38| Not currently OK to rewrite swap log. 2021/06/27 15:23:38| storeDirWriteCleanLogs: Operation aborted. 2021/06/27 15:23:38| FATAL: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time. 2021/06/27 15:23:38| Squid Cache (Version 4.13): Terminated abnormally. CPU Usage: 0.065 seconds = 0.026 user + 0.039 sys Maximum Resident Size: 123120 KB Page faults with physical i/o: 515 2021/06/27 15:23:38| Removing PID file (/run/squid.pid)

sbyland commented 3 years ago

reinitialized disk cache again and it worked.