LinuxForum.Fans
Тема

Странные ошибки в squid

Автор: KALIBR-10 6 сообщений 1856 просмотров
#317440

Всем добре!
Сквидом пользуюсь второй день, пока сделал чтоб работал без правил, он работает но не кэширует и пишет нечно не ясное в cache.log

text
2013/04/25 17:10:50| Starting Squid Cache version 3.2.6 for i686-pc-linux-gnu... 
2013/04/25 17:10:50| Process ID 12433 
2013/04/25 17:10:50| Process Roles: master worker 
2013/04/25 17:10:50| With 1024 file descriptors available 
2013/04/25 17:10:50| Initializing IP Cache... 
2013/04/25 17:10:50| DNS Socket created at [::], FD 6 
2013/04/25 17:10:50| DNS Socket created at 0.0.0.0, FD 7 
2013/04/25 17:10:50| Adding nameserver 78.36.171.200 from squid.conf 
2013/04/25 17:10:50| Adding nameserver 212.48.193.37 from squid.conf 
2013/04/25 17:10:50| Logfile: opening log daemon:/var/log/squid/access.log 
2013/04/25 17:10:50| Logfile Daemon: opening log /var/log/squid/access.log 
2013/04/25 17:10:50| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 
2013/04/25 17:10:50| Store logging disabled 
2013/04/25 17:10:50| Swap maxSize 0 + 65536 KB, estimated 5041 objects 
2013/04/25 17:10:50| Target number of buckets: 252 
2013/04/25 17:10:50| Using 8192 Store buckets 
2013/04/25 17:10:50| Max Mem  size: 65536 KB 
2013/04/25 17:10:50| Max Swap size: 0 KB 
2013/04/25 17:10:50| Using Least Load store dir selection 
2013/04/25 17:10:50| Set Current Directory to /var/cache/squid 
2013/04/25 17:10:50| Loaded Icons. 
2013/04/25 17:10:50| HTCP Disabled. 
2013/04/25 17:10:50| commBind: Cannot bind socket FD 11 to [::1]: (99) Cannot assign requested address 
2013/04/25 17:10:50| commBind: Cannot bind socket FD 12 to [::1]: (99) Cannot assign requested address 
2013/04/25 17:10:50| ERROR: Failed to create helper child read FD: UDP[::1] 
2013/04/25 17:10:50| Squid plugin modules loaded: 0 
2013/04/25 17:10:50| Adaptation support is off. 
2013/04/25 17:10:50| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9 
2013/04/25 17:10:51| storeLateRelease: released 0 objects 
2013/04/25 17:13:18| local=178.64.174.125:53697 remote=10.0.0.1:443 FD 79 flags=1: read/write failure: (110) Connection timed out 
2013/04/25 17:13:32| local=178.64.174.125:51801 remote=10.0.0.1:443 FD 58 flags=1: read/write failure: (110) Connection timed out 
2013/04/25 17:14:05| local=178.64.174.125:43847 remote=10.0.0.1:443 FD 35 flags=1: read/write failure: (110) Connection timed out 
и так далее 

remote=10.0.0.1:443 вообще не понятно что за адрес

text
http_port 3128 
hierarchy_stoplist cgi-bin ? 
dns_nameservers 78.36.171.200 212.48.193.37 
acl QUERY urlpath_regex cgi-bin ? 
no_cache deny QUERY 
cache_mem 64 MB 
#cache_dir aufs /var/cache/squid 2000 16 128 
visible_hostname proxy 
tcp_outgoing_address 178.64.174.125 

#acl manager proto cache_object acl localhost src 127.0.0.1 acl localnet src 192.168.100.0/24 acl localnet src 192.168.101.0/24 # RFC1918 possible internal network

acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https 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 2042 # mail acl Safe_ports port 5222 # qip acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT

http_access allow localhost manager http_access deny manager

#http_access deny !Safe_ports

#http_access deny CONNECT !SSL_ports

http_access allow localnet

http_access allow localhost

http_access allow all

coredump_dir /var/cache/squid

refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320 dns_v4_first on

наверно я что-то не дописал.

#317441
"KALIBR-10⇓" написал:
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports

раскоментируйте эти строки и тогда пробуйте пользоватса. И просмотрите лог.

#317442
kisil написал:
[quote="KALIBR-10⇓"]#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports

раскоментируйте эти строки и тогда пробуйте пользоватса. И просмотрите лог.[/quote]

да это я сам закоментил, незнаю почему но не работал квип и майлагент хоть и порты прописаны! Вопрос мой не в этом, а про ошибки что я в логе выложил

#317444

Писал же раскоментируйте и тогда смотрите.

#317445
kisil написал:
Писал же раскоментируйте и тогда смотрите.

Ну сделал, то же самое... Только агент и квип перестали работать

#317473
"KALIBR-10⇓" написал:
2013/04/25 17:13:18| local=178.64.174.125:53697 remote=10.0.0.1:443 FD 79 flags=1: read/write failure: (110) Connection timed out 2013/04/25 17:13:32| local=178.64.174.125:51801 remote=10.0.0.1:443 FD 58 flags=1: read/write failure: (110) Connection timed out 2013/04/25 17:14:05| local=178.64.174.125:43847 remote=10.0.0.1:443 FD 35 flags=1: read/write failure: (110) Connection timed out

А вы к какому ресурсу обращаетесь, что вылазит эта ошыбка.???

Войдите или зарегистрируйтесь, чтобы ответить.