squid 出现的问题

由 crazydream 在 12-07-2002 18:17 发表:

squid 出现的问题

我的squid,刚装完后执行/etc/rc.d/init.d/squid restart,就出现stop failure (失败),但是,start squid ok,这说明应该成功的!

可是,

我用ps ax|grep squid,显示的结果是

1134? S 0:00 squid -D

不知道对不对?

还有,关机的时候也提示stop squid失败,甚至kill squid 失败,请问是什么原因??

thank you very much!

i need your help!!


由 solaris 在 12-07-2002 19:55 发表:


当你看到stop fail,就说明start也是fail的,虽然他显示OK。

查一下log文件看出错原因,在/var/log/squid目录里。相信你能找到问题。

或者也可以把log里的出错信息贴上来。


由 crazydream 在 12-08-2002 10:26 发表:


在我的/var/log/squid目录里,只有一个文件cache.log,它的记录如下

2002/12/07 16:11:28| Starting Squid Cache version 2.4.STABLE1 for i386-redhat-li

nux-gnu...

2002/12/07 16:11:28| Process ID 2040

2002/12/07 16:11:28| With 1024 file descriptors available

2002/12/07 16:11:28| DNS Socket created on FD 4

FATAL: Could not find any nameservers.

Please check your /etc/resolv.conf file

or use the 'dns_nameservers' option in squid.conf.

Squid Cache (Version 2.4.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: 286

2002/12/08 10:13:23| Starting Squid Cache version 2.4.STABLE1 for i386-redhat-li

nux-gnu...

2002/12/08 10:13:23| Process ID 1339

2002/12/08 10:13:23| With 1024 file descriptors available

2002/12/08 10:13:23| DNS Socket created on FD 4

FATAL: Could not find any nameservers.

Please check your /etc/resolv.conf file

or use the 'dns_nameservers' option in squid.conf.

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

CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys

Maximum Resident Size: 0 KB

Page faults with physical i/o: 286

请高手帮忙分析原因,我很着急,都睡不着了


由 crazydream 在 12-08-2002 10:41 发表:


[email protected]

想和大家共同进步


由 crazydream 在 12-08-2002 19:11 发表:


这是我启动squid出现的情

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