squid出现错误,请大家帮忙

由 tigerking 在 08-09-2003 15:48 发表:

squid出现错误,请大家帮忙

安装redhat 9.0启动squid时,出现以下信息

[root@zyserver root]# /etc/rc.d/init.d/squid start

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

???ˉ squid£o/etc/rc.d/init.d/squid: line 162: 1263 已放弃 $SQUID $SQUID_OPTS 2>/dev/null

请问是什么原因?


由 Glue 在 08-10-2003 10:19 发表:


可能和你的缓冲目录有关吧

直接运行

$SQUID -z -F -D 2

看一看是什么信息。


-_-


由 tigerking 在 08-11-2003 09:45 发表:


[root@zyserver root]# squid -z -F -D 2

2003/08/11 09:23:35| parseConfigFile: line 116 unrecognized: ' and from neighbor caches. Default is 4827. To disable use'

2003/08/11 09:23:35| parseConfigFile: line 1954 unrecognized: 'visble_hostname zyserver'

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

Squid Cache (Version 2.5.STABLE1): Terminated abnormally.

CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys

Maximum Resident Size: 0 KB

Page faults with physical i/o: 389

已放弃


由 tomj 在 08-11-2003 10:16 发表:


错误是明显的:

1.缓冲目录未建立

2."visible hostname"写错了


由 Glue 在 08-11-2003 10:22 发表:


错误该是在116行附近。

找不到的话就贴出来看看。


-_-


由 Seraphim 在 08-11-2003 18:18 发表:


先看squid.conf文件中cache的目录对不对,然后看cache的owner,再去看磁盘里这个目录的owner对不对。


Web:http://www.itpub.net/index.php?referrerid=12521

Email:[email protected]

MSN:[email protected]

WEBLOG:http//blog.csdn.net/kamus/

我有一所房子

面朝大海, 春暖花开


由 tigerking 在 08-11-2003 18:26 发表:


redhat建设的/var/spool/squid好像有问题,我把另一台机子上的目录复制过来,错误少了一些。

[root@zyserver root]# /etc/rc.d/init.d/squid start

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

[失败]

运行

squid $SQUID_OPTS 2

出现以下内容

[root@zyserver root]# squid $SQUID_OPTS 2 2003/08/11 18:17:02| parseConfigFile: line 116 unrecognized: ' and from neighbor caches. Default is 4827. To disable use'

2003/08/11 18:17:02| parseConfigFile: line 1954 unrecognized: 'visble_hostname zyserver'

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

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