LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1243|回复: 7

这是我的cache.log帮我看一下为什么出错

[复制链接]
发表于 2004-12-14 17:47:06 | 显示全部楼层 |阅读模式
2004/12/14 17:46:59| Starting Squid Cache version 2.5.STABLE3 for i386-redhat-linux-gnu...
2004/12/14 17:46:59| Process ID 2963
2004/12/14 17:46:59| With 1024 file descriptors available
2004/12/14 17:46:59| Performing DNS Tests...
2004/12/14 17:46:59| Successful DNS name lookup tests...
2004/12/14 17:46:59| DNS Socket created at 0.0.0.0, port 32772, FD 4
2004/12/14 17:46:59| Adding nameserver 202.100.128.68 from /etc/resolv.conf
2004/12/14 17:46:59| Adding nameserver 202.100.128.68 from /etc/resolv.conf
2004/12/14 17:46:59| User-Agent logging is disabled.
2004/12/14 17:46:59| Referer logging is disabled.
2004/12/14 17:46:59| Unlinkd pipe opened on FD 9
2004/12/14 17:46:59| Swap maxSize 409600000 KB, estimated 31507692 objects
2004/12/14 17:46:59| Target number of buckets: 1575384
2004/12/14 17:46:59| Using 2097152 Store buckets
2004/12/14 17:46:59| Max Mem  size: 98304 KB
2004/12/14 17:46:59| Max Swap size: 409600000 KB
2004/12/14 17:46:59| Rebuilding storage in /u/squid_cache (DIRTY)
2004/12/14 17:46:59| Using Least Load store dir selection
2004/12/14 17:46:59| chdir: /var/spool/squid: (13) Permission denied
2004/12/14 17:46:59| Current Directory is /usr/sbin
2004/12/14 17:46:59| Loaded Icons.
2004/12/14 17:46:59| commBind: Cannot bind socket FD 10 to 192.168.0.254:3128: (98) Address already in use
FATAL: Cannot open HTTP Port
Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.010 user + 0.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 466
Memory usage for squid via mallinfo():
        total space in arena:    1980 KB
        Ordinary blocks:         1864 KB      2 blks
        Small blocks:               0 KB      1 blks
        Holding blocks:          8396 KB      2 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:     115 KB
        Total in use:           10260 KB 518%
        Total free:               115 KB 6%
---------------------------------------------------------------------------------
http_port 192.168.0.254:3128
cache_mgr whb19790915@163.com
cache_dir ufs /u/squid_cache 400000 16 49
cache_effective_user squidadmin
cache_effective_group squidadmin
cache_mem 96 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
unlinkd_program /usr/lib/squid/unlinkd
request_age 7 days
client_lifetime 2 hours
half_closed_clients off
logfile_rotate 7
cache_access_log /u/squid_log/access.log
cache_log /u/squid_log/cache.log
cache_store_log /u/squid_log/store.log
visible_hostname localhost
#client_mask 255.255.255.0
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl allowed_client src 192.168.0.200-192.168.0.254/255.255.255.0
#acl normal src 192.168.0.2 - 192.168.0.149/255.255.255.0
#acl all src 0.0.0.0
#acl conn maxconn 50
#acl worktime time MTWHF 8:30-12:00 14:00-18:00
http_access allow allowed_client
#http_access deny conn normal
#http_access allow normal worktime
#http_access deny !worktime
#http_access allow Safe_ports
http_access deny all
#http_access deny !advance
------------------------------------------------------------------
 楼主| 发表于 2004-12-14 17:49:29 | 显示全部楼层

access.log

1103016607.363      1 192.168.0.252 TCP_DENIED/403 1355 GET http://www.china.com/ - NONE/- text/html
1103016612.114     83 192.168.0.252 TCP_DENIED/403 1355 GET http://www.china.com/ - NONE/- text/html
1103016833.596      1 192.168.0.252 TCP_DENIED/403 1387 GET http://ma.baidu.com/ma/rcv/click.php? - NONE/- text/html
1103017215.250      1 192.168.0.252 TCP_DENIED/403 1351 GET http://www.263.net/ - NONE/- text/html
 楼主| 发表于 2004-12-14 17:51:14 | 显示全部楼层

store.log

1103016607.363 RELEASE -1 FFFFFFFF 2ED3B9F2B3040FA6BA30B9C6EABD975C  403 1103016607         0 1103016607 text/html 1067/1299 GET http://www.china.com/
1103016612.114 RELEASE -1 FFFFFFFF 80129B05E0F7E56BF86A3EFC9BEC61D8  403 1103016612         0 1103016612 text/html 1067/1299 GET http://www.china.com/
1103016833.596 RELEASE -1 FFFFFFFF E95AB145A62CD51A35E54591417253F0  403 1103016833         0 1103016833 text/html 1099/1331 GET http://ma.baidu.com/ma/rcv/click.php?
1103017215.250 RELEASE -1 FFFFFFFF B9C1940CC046A241CAA55DF01976A7B3  403 1103017215         0 1103017215 text/html 1063/1295 GET http://www.263.net/
 楼主| 发表于 2004-12-14 17:55:47 | 显示全部楼层

squid -d

[squidadmin@shnmj sbin]$ ./squid reload
2004/12/14 17:57:39| parseConfigFile: line 3234 unrecognized: ' HTTP/11 is fully implemented.'
2004/12/14 17:57:39| parseConfigFile: line 3265 unrecognized: 'request_age 7 days'
2004/12/14 17:57:39| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.200-192.168.0.254/255.255.255.0'
2004/12/14 17:57:39| aclParseIpData: Bad host/IP: '-'
2004/12/14 17:57:39| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.199/255.255.255.0'
2004/12/14 17:57:39| WARNING: '192.168.0.2' is a subnetwork of '192.168.0.0/255.255.255.0'
2004/12/14 17:57:39| WARNING: because of this '192.168.0.0/255.255.255.0' is ignored to keep splay tree searching predictable
2004/12/14 17:57:39| WARNING: You should probably remove '192.168.0.2' from the ACL named 'normal'
2004/12/14 17:57:39| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2004/12/14 17:57:39| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2004/12/14 17:57:39| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all
发表于 2004-12-14 17:56:13 | 显示全部楼层
commBind: Cannot bind socket FD 10 to 192.168.0.254:3128: (98) Address already in use

你的3128已经有程序占用了,停止了先。
 楼主| 发表于 2004-12-14 18:45:05 | 显示全部楼层
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://www.eastday.com/

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is whb19790915@163.com.



--------------------------------------------------------------------------------

Generated Tue, 14 Dec 2004 10:44:10 GMT by localhost (squid/2.5.STABLE3)

客户机还是不能上网不知道,怎么回事
发表于 2004-12-14 19:57:33 | 显示全部楼层
2004/12/14 17:57:39| parseConfigFile: line 3234 unrecognized: ' HTTP/11 is fully implemented.'
2004/12/14 17:57:39| parseConfigFile: line 3265 unrecognized: 'request_age 7 days'
2004/12/14 17:57:39| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.200-192.168.0.254/255.255.255.0'
2004/12/14 17:57:39| aclParseIpData: Bad host/IP: '-'
2004/12/14 17:57:39| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.199/255.255.255.0'
2004/12/14 17:57:39| WARNING: '192.168.0.2' is a subnetwork of '192.168.0.0/255.255.255.0'
2004/12/14 17:57:39| WARNING: because of this '192.168.0.0/255.255.255.0' is ignored to keep splay tree searching predictable
2004/12/14 17:57:39| WARNING: You should probably remove '192.168.0.2' from the ACL named 'normal'
2004/12/14 17:57:39| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2004/12/14 17:57:39| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2004/12/14 17:57:39| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all


你那个 src设置是错误的吧。。似乎不支持那个格式的。

别把1个问题发2个帖子。。。。:)。
发表于 2005-2-21 06:44:32 | 显示全部楼层
Post by RootZero
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://www.eastday.com/

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is whb19790915@163.com.



--------------------------------------------------------------------------------

Generated Tue, 14 Dec 2004 10:44:10 GMT by localhost (squid/2.5.STABLE3)

客户机还是不能上网不知道,怎么回事


试试+这一句
httpd_accel_with_proxy on
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表