急:squid出错

由 enkai 在 06-17-2004 10:12 发表:

急:squid出错

我的一台机器通过adsl pppoe拨号上网的,现用其作一squid服务,起动时就出错,

/sbin/service squid start

出错信息为:

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 5164 已放弃 $SQUID -z -F -D 2>/dev/null

启动 squid:/etc/init.d/squid: line 162: 5165 已放弃 $SQUID $SQUID_OPTS 2>/dev/null

[失败]

/var/log/message中的信息是:

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

在squid.conf中只定义了http的port, 一些cache的设置和哈特一个http_allow, 其它都没动.

请教.

谢谢.


由 Snoopy 在 06-17-2004 17:12 发表:


修改配置文件中的visible_hostname


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 william_teng 在 06-17-2004 19:25 发表:


象楼上说的一样,将visible_hostname字段设置成你想要的名字就可以了。


由 enkai 在 06-18-2004 08:32 发表:


谢谢两位.

我马上试,试完再告之情况.


由 enkai 在 06-18-2004 09:51

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus