squid from source
Hello all i had to install squid from source coz RPM was not working.
i downloaded squid-2.5.STABLE10.tar.gz
i extracted it configured it too as the configuration manual had said. but when i try to creat swap directories it gives mre the following errors.
[root@mail root]# /usr/local/squid/sbin/squid -z
2005/07/24 16:10:47| Creating Swap Directories
FATAL: Failed to make swap directory /usr/local/squid/var/cache/00: (13) Permission denied
Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 4
[root@mail root]#
Now the things that i have configured is the following
#vi /usr/local/squid/etc/squid.conf
#Default:
cache_effective_user nobody
cache_effective_group
*****i did'nt configured the group coz it said if i will not configure it then the fgroup id will be taken from the user nobody*******
*****Defining my network*****
acl our_networks src 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24
http_access allow our_networks
******For transparent proxy*******
#transparent proxy
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
******the port squid listens on*****
http_port 3128
Now why is that error comming
Any one got an idea
|