|
|
|
|
 求助squid!谢谢各位了! - ioly [ 2005-08-09 10:26 | 1,070 byte(s)]
 指定一个visible_hostname名字就OK了 - loveyang [ 2005-09-25 09:16 | 575 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
我现在初学squid,在配置时出现下面的问题,希望高手能够解决!
我的一些配置:
http_port 192.168.192.21:8080
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 100 16 256
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 abc src 192.168.192.0/255.255.255.0
acl abc src 192.168.118.0/255.255.255.0
acl abc src 192.168.200.0/255.255.255.0
http_access allow abc
http_access deny all
可是我配置完,启动后出现以下错误!
init_cache_dir /var/spool/squid.../etc/rc.d/init.d/squid :line 162:3419 Aborted $SQUID -Z -F -D , 2>/del/null,
starting squid: /etc/rc.d/init.d/squid : line 162 :3420 Aborted
$SQUID $SQUID_OPTS 2>/del/null
我用的系统是LH9 squid是系统自带的!
比较着急,希望大家能够帮帮!
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
指定一个visible_hostname名字就OK了
# TAG: visible_hostname
# If you want to present a special hostname in error messages, etc,
# then define this. Otherwise, the return value of gethostname()
# will be used. If you have multiple caches in a cluster and
# get errors about IP-forwarding you must set them to have individual
# names with this setting.
#
#Default:
visible_hostname sam(本来这一行是none!)
但如果您是单IP地址就不会出现这个错误!!
|
|
|
[Original]
[Print]
[Top]
|
|
|