Univention Bugzilla – Bug 33332
Squid3 without cache, squid restart failed
Last modified: 2014-09-11 15:04:32 CEST
Hallo zusammen Wir würden gerne Squid3 ohne Cache verwenden. Das funktioniert gemäss UCR Variable folgendermassen: ucr set squid/cache="false" Danach werden folgende Einträge gemacht in /etc/squid3/squid.conf: cache deny all cache_dir null /tmp Ein Reload funktioniert: /etc/init.d/squid3 reload Reloading Squid HTTP Proxy 3.x configuration files. done. Ein restart leider nicht: /etc/init.d/squid3 restart Restarting Squid HTTP Proxy 3.x: squid3FATAL: Bungled squid.conf line 40: cache_dir null /tmp Squid Cache (Version 3.1.6): Terminated abnormally. CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys Maximum Resident Size: 20672 KB Page faults with physical i/o: 0 failed! Squid verweist ebenfalls auch auf diese Einstellung: http://wiki.squid-cache.org/SquidFaq/CompleteFaq#SquidFaq.2BAC8-ConfiguringSquid.Can_I_make_Squid_proxy_only.2C_without_caching_anything.3F Wenn man im die UCR Variable wieder korrigiert (ucr set squid/cache="yes") und danach die Datei /etc/squid3/local.conf mit folgendem Eintrag erweitert, dann geht es: # add local config here cache deny all Vielen Dank für Eure Hilfe. Grüsse, RolandB
The same issue was reported here: Ticket #2013082721004261.
do net set "cache_dir null /tmp" if squid/cache is false in univention-squid 2014-02-28-univention-squid.yaml
Ok, squid 3.1.x is built without the "null" storage module by default and the UCR template has been adjusted to not use it. Advisory is ok.
http://errata.univention.de/ucs/3.2/87.html
Hallo zusammen Wir haben ein frisch installierte UCS3.2-2 mit ucs@school R3.2. root@sr-server-01:~# ucr set squid/cache="false" Setting squid/cache File: /etc/squid3/squid.conf root@sr-server-01:~# /etc/init.d/squid3 restart Restarting Squid HTTP Proxy 3.x: squid3FATAL: Bungled squid.conf line 35: cache_dir null /tmp Squid Cache (Version 3.1.6): Terminated abnormally. CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys Maximum Resident Size: 20608 KB Page faults with physical i/o: 0 failed! Das selbe Problem besteht immer noch. Grüsse, RolandB
Wird über Bug #35421 abgewickelt.
The erratum has been shipped and bug has been cloned → return status to CLOSED-FIXED.