免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1058 | 回复: 1
打印 上一主题 下一主题

[系统管理] 求助,在线等,关于squid的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-08-27 14:23 |只看该作者 |倒序浏览
使用 rhel 5.4系统,squid是2.6的rpm包。安装完成后,用客户端配置代理访问外网,客户端无法访问。
cache.log日志如下,希望有大神能指点一下,故障出在哪?网络、防火墙已经全部开通。squid服务端可以访问外网。
Preparing for shutdown after 0 requests
2014/08/27 14:00:45| Waiting 30 seconds for active connections to finish
2014/08/27 14:00:45| FD 9 Closing HTTP connection
2014/08/27 14:00:45| Shutting down...
2014/08/27 14:00:45| FD 10 Closing ICP connection
2014/08/27 14:00:45| Closing unlinkd pipe on FD 11
2014/08/27 14:00:45| storeDirWriteCleanLogs: Starting...
2014/08/27 14:00:45|   Finished.  Wrote 0 entries.
2014/08/27 14:00:45|   Took 0.0 seconds (   0.0 entries/sec).
CPU Usage: 0.077 seconds = 0.065 user + 0.012 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    2504 KB
        Ordinary blocks:         2448 KB      9 blks
        Small blocks:               0 KB      6 blks
        Holding blocks:           504 KB      2 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      55 KB
        Total in use:            2952 KB 98%
        Total free:                55 KB 2%
2014/08/27 14:00:45| Squid Cache (Version 2.6.STABLE23): Exiting normally.
2014/08/27 14:00:47| Starting Squid Cache version 2.6.STABLE23 for i386-redhat-linux-gnu...
2014/08/27 14:00:47| Process ID 25494
2014/08/27 14:00:47| With 1024 file descriptors available
2014/08/27 14:00:47| Using epoll for the IO loop
2014/08/27 14:00:47| DNS Socket created at 0.0.0.0, port 39564, FD 6
2014/08/27 14:00:47| Adding domain localdomain from /etc/resolv.conf
2014/08/27 14:00:47| Adding nameserver 10.128.36.1 from /etc/resolv.conf
2014/08/27 14:00:47| User-Agent logging is disabled.
2014/08/27 14:00:47| Referer logging is disabled.
2014/08/27 14:00:47| Unlinkd pipe opened on FD 11
2014/08/27 14:00:47| Swap maxSize 8388608 + 2097152 KB, estimated 0 objects
2014/08/27 14:00:47| Target number of buckets: 40329
2014/08/27 14:00:47| Using 65536 Store buckets
2014/08/27 14:00:47| Max Mem  size: 2097152 KB
2014/08/27 14:00:47| Max Swap size: 8388608 KB
2014/08/27 14:00:47| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2014/08/27 14:00:47| Store logging disabled
2014/08/27 14:00:47| Rebuilding storage in /var/spool/squid (CLEAN)
2014/08/27 14:00:47| Using Least Load store dir selection
2014/08/27 14:00:47| Current Directory is /
2014/08/27 14:00:47| Loaded Icons.
2014/08/27 14:00:47| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 12.
2014/08/27 14:00:47| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2014/08/27 14:00:47| WCCP Disabled.
2014/08/27 14:00:47| Ready to serve requests.
2014/08/27 14:00:47| Done reading /var/spool/squid swaplog (0 entries)
2014/08/27 14:00:47| Finished rebuilding storage from disk.
2014/08/27 14:00:47|         0 Entries scanned
2014/08/27 14:00:47|         0 Invalid entries.
2014/08/27 14:00:47|         0 With invalid flags.
2014/08/27 14:00:47|         0 Objects loaded.
2014/08/27 14:00:47|         0 Objects expired.
2014/08/27 14:00:47|         0 Objects cancelled.
2014/08/27 14:00:47|         0 Duplicate URLs purged.
2014/08/27 14:00:47|         0 Swapfile clashes avoided.
2014/08/27 14:00:47|   Took 0.3 seconds (   0.0 objects/sec).
2014/08/27 14:00:47| Beginning Validation Procedure
2014/08/27 14:00:47|   Completed Validation Procedure
2014/08/27 14:00:47|   Validated 0 Entries
2014/08/27 14:00:47|   store_swap_size = 0k
2014/08/27 14:00:48| storeLateRelease: released 0 objects
2014/08/27 14:04:18| Reconfiguring Squid Cache (version 2.6.STABLE23)...
2014/08/27 14:04:18| FD 12 Closing HTTP connection
2014/08/27 14:04:18| FD 13 Closing ICP connection
2014/08/27 14:04:18| Initialising SSL.
2014/08/27 14:04:18| User-Agent logging is disabled.
2014/08/27 14:04:18| Referer logging is disabled.
2014/08/27 14:04:18| DNS Socket created at 0.0.0.0, port 53999, FD 9
2014/08/27 14:04:18| Adding domain localdomain from /etc/resolv.conf
2014/08/27 14:04:18| Adding nameserver 10.128.36.1 from /etc/resolv.conf
2014/08/27 14:04:18| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2014/08/27 14:04:18| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2014/08/27 14:04:18| WCCP Disabled.
2014/08/27 14:04:18| Loaded Icons.
2014/08/27 14:04:18| Ready to serve requests.
2014/08/27 14:14:57| Reconfiguring Squid Cache (version 2.6.STABLE23)...
2014/08/27 14:14:57| FD 10 Closing HTTP connection
2014/08/27 14:14:57| FD 12 Closing ICP connection
2014/08/27 14:14:57| Cache dir '/var/spool/squid' size remains unchanged at 8388608 KB
2014/08/27 14:14:57| Initialising SSL.
2014/08/27 14:14:57| Store logging disabled
2014/08/27 14:14:57| User-Agent logging is disabled.
2014/08/27 14:14:57| Referer logging is disabled.
2014/08/27 14:14:57| DNS Socket created at 0.0.0.0, port 52591, FD 7
2014/08/27 14:14:57| Adding domain localdomain from /etc/resolv.conf
2014/08/27 14:14:57| Adding nameserver 10.128.36.1 from /etc/resolv.conf
2014/08/27 14:14:57| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 9.
2014/08/27 14:14:57| Accepting ICP messages at 0.0.0.0, port 3130, FD 10.
2014/08/27 14:14:57| WCCP Disabled.
2014/08/27 14:14:57| Loaded Icons.
2014/08/27 14:14:57| Ready to serve requests.

论坛徽章:
0
2 [报告]
发表于 2014-08-27 14:41 |只看该作者
小弟已经找到了答案。谢谢各位的关注。
原因是:忘记关闭了本机自带的防火墙策略,阻止了其他主机访问squid的端口。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP