Search squid archive

Re: problem with squid 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I do a debbug with squid -z but find nothing strange at all.. so i
decided to search the web and find out this link [1]. The solution to
me was recreating the cache dir (rm -rf $cache_directory, mkdir
$cache_director, grant permission to the squid user/group..
Anyway, why do it happens ?

[1] http://lists.debian.org/debian-user/2002/02/msg01407.html

2007/11/26, Federico Lopez Sarmiento <lopezsarmiento@xxxxxxxxx>:
> Hi again list.
> This time i've an issue which i don't know why it happens. What i do
> know is that this happened to me other times and i could only resolv
> it by reinstalling the squid (apt-get purge squid + apt-get install
> squid).
> I'm running debian, ver. 4
>
> neurus:/etc/squid# uname -a
> Linux neurus 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
>
>
> I was running squid perfectly but decided to configure it to reject
> unwonted pages, so in the squid.conf i added two lines (the marked
> with *).
> When i save the changes and do a reload to the squid i found out that
> i won't run, whatever i do.
>
> neurus:/etc/squid# tail -n 1785 squid.conf | head -n 18
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
> *acl FILTRADAS dstdomain "/etc/squid/filtradas.squid"
> *http_access deny FILTRADAS
> delay_pools 1
> delay_class 1 1
> delay_parameters 1 12000/16000 8000/10000
> acl LAN src 192.168.0.0/24
> delay_access 1 allow LAN
>
> # Example rule allowing access from your local networks. Adapt
> # to list your (internal) IP networks from where browsing should
> # be allowed
> acl our_networks src 192.168.0.0/24
> http_access allow our_networks
> http_access allow localhost
>
> neurus:/etc/squid# ls -lh
> total 152K
> -rw-r--r-- 1 root root    0 2007-11-26 13:01 filtradas.squid
> -rw------- 1 root root 146K 2007-11-26 13:01 squid.conf
> neurus:/etc/squid# chmod 777 filtradas.squid
> neurus:~# cd /etc/init.d
> neurus:/etc/init.d# squid start
> 2007/11/26 13:05:55| aclParseAclLine: WARNING: empty ACL: acl
> FILTRADAS dstdomain "/etc/squid/filtradas.squid"
> neurus:/etc/squid# cat squid.conf | grep http_port
> #  TAG: http_port
> #                               rather than the http_port number.
> #       internal address:port in http_port. This way Squid will only be
> http_port 8080
>
> neurus:/etc/init.d# nmap localhost
>
> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-11-26 13:06 ART
> Interesting ports on localhost (127.0.0.1):
> Not shown: 1675 closed ports
> PORT    STATE    SERVICE
> 22/tcp  filtered ssh
> 25/tcp  open     smtp
> 80/tcp  open     http
> 111/tcp open     rpcbind
> 113/tcp open     auth
>
> Nmap finished: 1 IP address (1 host up) scanned in 1.276 seconds
> neurus:/etc/init.d#
>
>
> I thought, damn.. maybe i missconfigured something, i should do a
> rollback. I did it, and guess what? proxy don't runs.
> Should any give me some help with this i would really apreciate it.
> Again, sorry for my bad english.
> Best regards.
>
> Federico.
>


-- 
Federico Raúl López Sarmiento.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux