LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 476|回复: 1

squid error ? help me .

[复制链接]
发表于 2005-4-24 14:12:20 | 显示全部楼层 |阅读模式
[root@localhost sbin]# ./squid
2005/04/24 13:59:42| Memory pools are 'off'; limit: 2.00 MB
已放弃


#        WELCOME TO SQUID 3.0-PRE3-20050110
# NETWORK OPTIONS

http_port 192.168.81.251:3128

icp_port 3130

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 32 MB


cache_swap_low 90
cache_swap_high 95

cache_dir ufs /web/squid/var/cache 100 16 256


cache_access_log /web/squid/var/logs/access.log
access_log /web/squid/var/logs/access.log

cache_log /web/squid/var/logs/cache.log


cache_store_log /web/squid/var/logs/store.log


client_netmask 255.255.255.255



auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours


acl aclname urlpath_regex \.mp3$
http_access deny aclname

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80                # http
acl Safe_ports port 21                # ftp
acl Safe_ports port 443 563        # https, snews
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 777                # multiling http
acl CONNECT method CONNECT


http_access allow manager localhost
http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access deny all


http_reply_access allow all


icp_access allow all


visible_hostname kuangxia

acl 163 dstdomain www.163.com
http_access deny 163
http_access deny all
发表于 2005-8-25 00:31:24 | 显示全部楼层
感觉这都不重要,初步化都无法完成,修改了也没有用.

使用命令squid -f /etc/squid/squid.conf -z初始化Squid高速缓存


FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.020 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 396
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表