Squid chyba v DNS

linux_lukas na atlas.cz linux_lukas na atlas.cz
Sobota Srpen 17 20:39:48 CEST 2002


Ahoj linux,

  Pokousim se poprve za svuj zivot rozjet proxy cache SQUID koukal
  jsem se na netu a stahl si nejake navody a rady. A dopracoval jsem
  se pres instalaci az k nastaveni toho moc velkeho konfiguracniho
  souboru squid.conf nastavil jsem ho asi takto
  ----------------------------------------------
http_port 3128
icp_port 3130
cache_mem 2 MB
cache_swap_low 75
cache_swap_high 90
cache_dir ufs /usr/local/squid/cache 10 8 128
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
emulate_httpd_log on
debug_options ALL,1
log_fqdn off
client_netmask 255.255.255.255
ftp_user root na localhost
dns_nameservers 127.0.0.1
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.255.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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 allow manager localnet
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
icp_access allow all
miss_access allow all
cache_mgr root na localhost
cache_effective_user nobody
cache_effective_group nogroup
append_domain .heroes.pa
-----------------------------------------------------

a tato chyba se mi vrati
root na heroes:/usr/local/squid/bin# ./squid -k reconfigure
squid: ERROR: No running copy

pokud tento parametr append_domain .heroes.pa zmenim na heroes.pa tak
to vypada podle logu ze se startuje ale chyba v DNS
z LOGU
--------
2002/08/17 20:36:02| Starting Squid Cache version 2.4.STABLE4 for i586-pc-linux-gnu...
2002/08/17 20:36:02| Process ID 333
2002/08/17 20:36:02| With 1024 file descriptors available
2002/08/17 20:36:02| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.4.STABLE4): Terminated abnormally.
CPU Usage: 0.180 seconds = 0.100 user + 0.080 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 276
--------
domenu mam na sve siti hereos.pa


moc dekuji za jakoukoliv radu ohledne tohoto problemu. S pratelskym
pozdravem Lukas

--------------------------------------------- 
                             mailto:linux_lukas na atlas.cz




Další informace o konferenci Linux