2012-09-10 4 views
0

우분투 11.10 시스템이 있습니다. Squid3가 설치되었습니다. 내가 squid를 http_access 허용으로 구성하면 모든 것이 잘 동작합니다. 다음과 같이 대부분 기본적으로 내 현재의 구성은 다음과 같습니다캐시 및 로깅을 사용하여 우분투에서 Squid3 프록시 서버 구성

access_log /home/panshul/squidCache/log/access.log 

내가 브라우저에서 proxy server is refusing connections error을 얻기 위해 시작 : 나는 다음 줄을 사용하도록 설정하면

2012/09/10 13:19:57| Processing Configuration File: /etc/squid3/squid.conf (depth 0) 
2012/09/10 13:19:57| Processing: acl manager proto cache_object 
2012/09/10 13:19:57| Processing: acl localhost src 127.0.0.1/32 ::1 
2012/09/10 13:19:57| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 
2012/09/10 13:19:57| Processing: acl SSL_ports port 443 
2012/09/10 13:19:57| Processing: acl Safe_ports port 80  # http 
2012/09/10 13:19:57| Processing: acl Safe_ports port 21  # ftp 
2012/09/10 13:19:57| Processing: acl Safe_ports port 443  # https 
2012/09/10 13:19:57| Processing: acl Safe_ports port 70  # gopher 
2012/09/10 13:19:57| Processing: acl Safe_ports port 210  # wais 
2012/09/10 13:19:57| Processing: acl Safe_ports port 1025-65535 # unregistered ports 
2012/09/10 13:19:57| Processing: acl Safe_ports port 280  # http-mgmt 
2012/09/10 13:19:57| Processing: acl Safe_ports port 488  # gss-http 
2012/09/10 13:19:57| Processing: acl Safe_ports port 591  # filemaker 
2012/09/10 13:19:57| Processing: acl Safe_ports port 777  # multiling http 
2012/09/10 13:19:57| Processing: acl CONNECT method CONNECT 
2012/09/10 13:19:57| Processing: http_access allow manager localhost 
2012/09/10 13:19:57| Processing: http_access deny manager 
2012/09/10 13:19:57| Processing: http_access deny !Safe_ports 
2012/09/10 13:19:57| Processing: http_access deny CONNECT !SSL_ports 
2012/09/10 13:19:57| Processing: http_access allow localhost 
2012/09/10 13:19:57| Processing: http_access deny all 
2012/09/10 13:19:57| Processing: http_port 3128 
2012/09/10 13:19:57| Processing: coredump_dir /var/spool/squid3 
2012/09/10 13:19:57| Processing: refresh_pattern ^ftp:  1440 20% 10080 
2012/09/10 13:19:57| Processing: refresh_pattern ^gopher: 1440 0% 1440 
2012/09/10 13:19:57| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 
2012/09/10 13:19:57| Processing: refresh_pattern (Release|Packages(.gz)*)$  0  20%  2880 
2012/09/10 13:19:57| Processing: refresh_pattern .  0 20% 4320 
2012/09/10 13:19:57| Processing: http_access allow all 
2012/09/10 13:19:57| Processing: cache_mem 512 MB 
2012/09/10 13:19:57| Processing: logformat squid3 %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru 
2012/09/10 13:19:57| Processing: access_log /home/panshul/squidCache/log/access.log squid3 

문제는 시작됩니다. 내 설정에서 위의 행을 주석으로 처리하면 정상적으로 돌아갑니다.

cache_dir ufs /home/panshul/squidCache/cache 100 16 256 

오징어 서버가 시작되지 : 내 설정에 다음 행을 추가 할 때

두 번째 문제

가 시작됩니다.

어떤 제안이 내가 구성에서 누락되었습니다. 도와주세요.!!

+0

나는 어떤 권한 문제를 방지하기 위해 루트 권한으로 오징어 서버를 시작하고있다. – Panshul

답변