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

Squid Cache (Version 3.5.23): Terminated abnormally. #5

Closed unclesamwk closed 6 years ago

unclesamwk commented 6 years ago

Hey,

i build container with latest 6.2 Version with following error

Squid Cache (Version 3.5.23): Terminated abnormally.
CPU Usage: 0.050 seconds = 0.020 user + 0.030 sys
Maximum Resident Size: 122896 KB
Page faults with physical i/o: 0
2018/01/22 18:51:38| Current Directory is /etc/service/squid
2018/01/22 18:51:38| Starting Squid Cache version 3.5.23 for x86_64-pc-linux-gnu...
2018/01/22 18:51:38| Service Name: squid
2018/01/22 18:51:38| Process ID 1917
2018/01/22 18:51:38| Process Roles: master worker
2018/01/22 18:51:38| With 65535 file descriptors available
2018/01/22 18:51:38| Initializing IP Cache...
2018/01/22 18:51:38| DNS Socket created at [::], FD 9
2018/01/22 18:51:38| DNS Socket created at 0.0.0.0, FD 10
2018/01/22 18:51:38| Adding nameserver 192.168.2.102 from /etc/resolv.conf
2018/01/22 18:51:38| helperOpenServers: Starting 5/32 'ssl_crtd' processes
(ssl_crtd): Uninitialized SSL certificate database directory: /var/spool/squid_ssldb. To initialize, run "ssl_crtd -c -s /var/spool/squid_ssldb".
(ssl_crtd): Uninitialized SSL certificate database directory: /var/spool/squid_ssldb. To initialize, run "ssl_crtd -c -s /var/spool/squid_ssldb".
(ssl_crtd): Uninitialized SSL certificate database directory: /var/spool/squid_ssldb. To initialize, run "ssl_crtd -c -s /var/spool/squid_ssldb".
2018/01/22 18:51:38| Logfile: opening log daemon:/var/log/squid/access.log
2018/01/22 18:51:38| Logfile Daemon: opening log /var/log/squid/access.log
(ssl_crtd): Uninitialized SSL certificate database directory: /var/spool/squid_ssldb. To initialize, run "ssl_crtd -c -s /var/spool/squid_ssldb".
2018/01/22 18:51:38| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2018/01/22 18:51:38| Store logging disabled
2018/01/22 18:51:38| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2018/01/22 18:51:38| Target number of buckets: 1008
2018/01/22 18:51:38| Using 8192 Store buckets
2018/01/22 18:51:38| Max Mem  size: 262144 KB
2018/01/22 18:51:38| Max Swap size: 0 KB
2018/01/22 18:51:38| Using Least Load store dir selection
2018/01/22 18:51:38| Current Directory is /etc/service/squid
2018/01/22 18:51:38| Finished loading MIME types and icons.
2018/01/22 18:51:38| HTCP Disabled.
2018/01/22 18:51:38| commBind: Cannot bind socket FD 25 to [::1]: (99) Cannot assign requested address
2018/01/22 18:51:38| commBind: Cannot bind socket FD 26 to [::1]: (99) Cannot assign requested address
2018/01/22 18:51:38| ERROR: Failed to create helper child read FD: UDP[::1]
2018/01/22 18:51:38| Squid plugin modules loaded: 0
2018/01/22 18:51:38| Adaptation support is on
2018/01/22 18:51:38| Accepting SSL bumped HTTP Socket connections at local=[::]:3128 remote=[::] FD 24 flags=9
2018/01/22 18:51:38| WARNING: ssl_crtd #Hlpr1 exited
2018/01/22 18:51:38| Too few ssl_crtd processes are running (need 1/32)
2018/01/22 18:51:38| Closing HTTP port [::]:3128
2018/01/22 18:51:38| storeDirWriteCleanLogs: Starting...
2018/01/22 18:51:38|   Finished.  Wrote 0 entries.
2018/01/22 18:51:38|   Took 0.00 seconds (  0.00 entries/sec).
FATAL: The ssl_crtd helpers are crashing too rapidly, need help!

Squid Cache (Version 3.5.23): Terminated abnormally.
(ssl_crtd): Uninitialized SSL certificate database directory: /var/spool/squid_ssldb. To initialize, run "ssl_crtd -c -s /var/spool/squid_ssldb".
CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
Maximum Resident Size: 122496 KB
Page faults with physical i/o: 0

Any idea?

greetings sam

unclesamwk commented 6 years ago

I found this: https://docs.diladele.com/administrator_guide_4_0/system_configuration/https_filtering/recompile_squid.html

You will update Docker container?

ra-at-diladele-com commented 6 years ago

Hello Sam, we plan to update the container to 6.0 shortly. May I ask if you tried building the Dockerfile? I have 6.2 running in vm without problems. It is not a docker though :(

ra-at-diladele-com commented 6 years ago

6.1 docker pushed to docker hub

admbakang commented 2 years ago

hi @unclesamwk it seems like your server is no longer available what was the fix in the document