小樱 发表于 2015/7/9 23:31

squid重启的时候报错WARNING: Could not determine this machines public hostname.

Stopping squid: 2015/07/09 02:15:46| WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hostname'.
2015/07/09 02:15:46| WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hostname'.

解决方案:vi /etc/squid/squid.conf
增加一行:visible_hostname pac.itzmx.com

保存退出再试试重启即可。


/etc/init.d/squid restart

我说累了 发表于 2015/7/9 23:31

页: [1]
查看完整版本: squid重启的时候报错WARNING: Could not determine this machines public hostname.