Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 24, 2024, 04:17:19 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
Delay Pool problem..
« previous
next »
Print
Pages: [
1
]
Author
Topic: Delay Pool problem.. (Read 13243 times)
segun1ng
Linux Noob !
Posts: 25
Delay Pool problem..
«
on:
January 22, 2004, 05:21:43 PM »
when I try to Initialize squid I get this error.....
Initializing the Squid cache with the command squid -f
/etc/squid/squid.conf -z ..
2004/01/22 04:01:18| parse_delay_pool_class: Ignoring
pool 1 not in 1 .. 0
2004/01/22 04:01:18| parse_delay_pool_rates: Ignoring
pool 1 not in 1 .. 0
2004/01/22 04:01:18| parse_delay_pool_rates: Ignoring
pool 1 not in 1 .. 0
2004/01/22 04:01:18| parse_delay_pool_rates: Ignoring
pool 1 not in 1 .. 0
2004/01/22 04:01:18| Creating Swap Directories
FATAL: Failed to make swap directory
/usr/local/squid/cache/00: (13) Permission denied
Squid Cache (Version 2.5.STABLE3): Terminated
abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 10
==================================================
This is my squid conf
[root@xpinnacle segun]# egrep -v "^$|^#"
/etc/squid/squid.conf
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /usr/local/squid/cache 15360 16 256
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl ourlan src 192.168.1.0/255.255.255.0
http_access allow ourlan
http_access deny all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_reply_access allow all
icp_access allow all
httpd_accel_host vertual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.1.0/255.255.255.0
acl intranet dst 192.168.1.0/255.255.255.0
delay_class 1 1
delay_access 1 allow lan !intranet
delay_access 1 allow deny all
delay_parameters 1 64000/64000 5000/64000
delay_initial_bucket_level 50
coredump_dir /var/spool/squid
cache_effective_user squid
cache_effective_group squid
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Delay Pool problem..
«
Reply #1 on:
January 24, 2004, 11:36:28 AM »
Man..
You have main problem of Permission .. not delay.. pools.. delay pools are also problem there but not that big.. And tell me that wht you are actually trying to do ? You squid.conf is very messed up.. I suggest you to use squid that i have posted in tutorials. and about delay pools.. if you can tell me wht you want to do.. i ll then be able to give you little idea abt that..
Logged
segun1ng
Linux Noob !
Posts: 25
Delay Pool problem..
«
Reply #2 on:
January 24, 2004, 11:59:06 AM »
Am trying to impliment transparent proxy and delay pool so that clients on my local area network can browse using minimum bandwidth per system.
So how do I do this... :roll:
After several terials thi is what I get advise me..
======================================================
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 28 MB
cache_dir ufs /var/spool/squid 2088 16 256
acl mynetwork src
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl mynetwork src 192.168.1.0/255.255.255.0
http_access allow mynetwork
http_access deny all
icp_access allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
[segun@xpinnacle segun]$
============================================================
Here is my complete squid
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
Delay Pool problem..