SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264
Anonymous | Login | 2021-01-15 23:07 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003087 | Endian Firewall | Proxy - HTTP | public | 2010-07-27 16:15 | 2010-11-28 17:34 | ||||
Reporter | luca-endian | ||||||||
Assigned To | max-endian | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 2.3.1 | ||||||||
Target Version | 2.5 | Fixed in Version | |||||||
Summary | 0003087: squid hard disk cache can't be zero | ||||||||
Description | The user can set Cache size on harddisk (MB) * to 0 resulting in a FATAL: storeAufsDirParse error causing the termination of Squid cache. From restartproxy.py: init_cache_dir /var/spool/squid... /etc/init.d/squid: line 55: 512 Aborted $SQUID -z -F -D >>/var/log/squid/squid.out 2>&1 Starting squid: /etc/init.d/squid: line 54: 514 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>& [FAILED] Log from: /var/log/squid/squid.out FATAL: storeAufsDirParse: invalid size value Squid Cache (Version 2.6.STABLE22): Terminated abnormally. | ||||||||
Tags | purple | ||||||||
Attached Files | |||||||||
![]() |
|
(0005222) max-endian (developer) 2010-11-28 17:34 |
Please replace in the file /home/httpd/cgi-bin/proxyconfig.cgi the function validate_fields(ca. line 387) with this one: sub validate_fields($) { my $params_ref = shift; my %params = %$params_ref; my $errors = ""; $errors .= check_field("PROXY_PORT", \%params); if ($params{"PROXY_PORT"} eq "80") { $errors .= _("Port 80 is already used."); } $errors .= check_field("VISIBLE_HOSTNAME", \%params); $errors .= check_field("ADMIN_MAIL_ADDRESS", \%params); $errors .= check_field("PORTS", \%params); $errors .= check_field("SSLPORTS", \%params); $errors .= check_field("BYPASS_SOURCE", \%params); $errors .= check_field("BYPASS_DESTINATION", \%params); $errors .= check_field("CACHE_SIZE", \%params); if ($params{"CACHE_SIZE"} < 1) { $errors .= _("Harddisk cache must be greater 0."); } $errors .= check_field("CACHE_MEM", \%params); $errors .= check_field("DST_NOCACHE", \%params); $errors .= check_field("MAX_SIZE", \%params); $errors .= check_field("MIN_SIZE", \%params); if ($params{UPSTREAM_ENABLED} eq "on") { $errors .= check_field("UPSTREAM_SERVER", \%params); $errors .= check_field("UPSTREAM_PORT", \%params); } return $errors; } |
![]() |
|||
Date Modified | Username | Field | Change |
2010-07-27 16:15 | luca-endian | New Issue | |
2010-07-28 08:06 | luca-endian | Tag Attached: purple | |
2010-09-20 17:09 | peter-endian | Status | new => confirmed |
2010-09-20 17:09 | peter-endian | Target Version | => 2.5 |
2010-11-28 17:34 | max-endian | Note Added: 0005222 | |
2010-11-28 17:34 | max-endian | Status | confirmed => resolved |
2010-11-28 17:34 | max-endian | Resolution | open => fixed |
2010-11-28 17:34 | max-endian | Assigned To | => max-endian |
Copyright © 2000 - 2012 MantisBT Group |