免费注册 查看新帖 |

Chinaunix

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

squid 启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-07 13:34 |只看该作者 |倒序浏览
大家好!在redhat5上面安装squid3.1
squid -k parse 没有问题
squid -z
squid -NDd1
squid -s
但是运行squid -k reconfigure
squid : error no running copy
请问各位前辈是怎么回事?谢谢!

论坛徽章:
0
2 [报告]
发表于 2009-12-07 13:43 |只看该作者
日志贴出来

论坛徽章:
0
3 [报告]
发表于 2009-12-07 14:09 |只看该作者
原帖由 jszj 于 2009-12-7 13:34 发表
大家好!在redhat5上面安装squid3.1
squid -k parse 没有问题
squid -z
squid -NDd1
squid -s
但是运行squid -k reconfigure
squid : error no running copy
请问各位前辈是怎么回事?谢谢!



messages

Dec  7 13:44:59 localhost gconfd (squid-3259): starting (version 2.14.0), pid 3259 user 'squid'
Dec  7 13:44:59 localhost gconfd (squid-3259): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Dec  7 13:44:59 localhost gconfd (squid-3259): Resolved address "xml:readwrite:/home/squid/.gconf" to a writable configuration source at position 1
Dec  7 13:44:59 localhost gconfd (squid-3259): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Dec  7 13:45:00 localhost gconfd (squid-3259): Resolved address "xml:readwrite:/home/squid/.gconf" to a writable configuration source at position 0
Dec  7 13:45:02 localhost kernel: SELinux: initialized (dev hdc, type iso9660), uses genfs_contexts
Dec  7 13:45:02 localhost hald: mounted /dev/hdc on behalf of uid 500
Dec  7 13:45:04 localhost hcid[2584]: Default passkey agent (:1.9, /org/bluez/applet) registered
Dec  7 13:45:04 localhost pcscd: winscard.c:219:SCardConnect() Reader E-Gate 0 0 Not Found
Dec  7 13:45:04 localhost last message repeated 4 times
Dec  7 13:45:59 localhost dhclient: DHCPREQUEST on eth0 to 192.168.80.254 port 67
Dec  7 13:45:59 localhost dhclient: DHCPACK from 192.168.80.254
Dec  7 13:45:59 localhost dhclient: bound to 192.168.80.129 -- renewal in 869 seconds.
Dec  7 13:48:17 localhost squid[3470]: Squid Parent: child process 3472 started
Dec  7 13:48:17 localhost squid[3472]: Starting Squid Cache version 3.1.0.15 for i686-pc-linux-gnu...
Dec  7 13:48:17 localhost squid[3472]: Process ID 3472
Dec  7 13:48:17 localhost squid[3472]: With 1024 file descriptors available
Dec  7 13:48:17 localhost squid[3472]: Initializing IP Cache...
Dec  7 13:48:17 localhost squid[3472]: DNS Socket created at [::], FD 8
Dec  7 13:48:17 localhost squid[3472]: Adding nameserver 192.168.10.2 from squid.conf
Dec  7 13:48:17 localhost squid[3472]: Unlinkd pipe opened on FD 13
Dec  7 13:48:17 localhost squid[3472]: Swap maxSize 4194304 + 65536 KB, estimated 327680 objects
Dec  7 13:48:17 localhost squid[3472]: Target number of buckets: 16384
Dec  7 13:48:17 localhost squid[3472]: Using 16384 Store buckets
Dec  7 13:48:17 localhost squid[3472]: Max Mem  size: 65536 KB
Dec  7 13:48:17 localhost squid[3472]: Max Swap size: 4194304 KB
Dec  7 13:48:17 localhost squid[3472]: Version 1 of swap file with LFS support detected...  
Dec  7 13:48:17 localhost squid[3472]: Rebuilding storage in /usr/local/squid/var/cache (DIRTY)
Dec  7 13:48:17 localhost squid[3472]: Using Least Load store dir selection
Dec  7 13:48:17 localhost squid[3472]: Current Directory is /usr/local/squid/sbin
Dec  7 13:48:17 localhost squid[3472]: Loaded Icons.
Dec  7 13:48:17 localhost squid[3472]: Accepting  HTTP connections at [::]:3128, FD 17.
Dec  7 13:48:17 localhost squid[3472]: HTCP Disabled.
Dec  7 13:48:17 localhost squid[3472]: /usr/local/squid/var/run/squid.pid: (2) No such file or directory
Dec  7 13:48:17 localhost squid[3472]: WARNING: Could not write pid file
Dec  7 13:48:17 localhost squid[3472]: Squid modules loaded: 0
Dec  7 13:48:17 localhost squid[3472]: Ready to serve requests.
Dec  7 13:48:17 localhost squid[3472]: Done reading /usr/local/squid/var/cache swaplog (0 entries)
Dec  7 13:48:17 localhost squid[3472]: Finished rebuilding storage from disk.
Dec  7 13:48:17 localhost squid[3472]:         0 Entries scanned
Dec  7 13:48:17 localhost squid[3472]:         0 Invalid entries.
Dec  7 13:48:17 localhost squid[3472]:         0 With invalid flags.
Dec  7 13:48:17 localhost squid[3472]:         0 Objects loaded.
Dec  7 13:48:17 localhost squid[3472]:         0 Objects expired.
Dec  7 13:48:17 localhost squid[3472]:         0 Objects cancelled.
Dec  7 13:48:17 localhost squid[3472]:         0 Duplicate URLs purged.
Dec  7 13:48:17 localhost squid[3472]:         0 Swapfile clashes avoided.
Dec  7 13:48:17 localhost squid[3472]:   Took 0.12 seconds (  0.00 objects/sec).
Dec  7 13:48:17 localhost squid[3472]: Beginning Validation Procedure
Dec  7 13:48:17 localhost squid[3472]:   Completed Validation Procedure
Dec  7 13:48:17 localhost squid[3472]:   Validated 25 Entries
Dec  7 13:48:17 localhost squid[3472]:   store_swap_size = 0
Dec  7 13:48:18 localhost squid[3472]: storeLateRelease: released 0 objects
Dec  7 14:00:28 localhost dhclient: DHCPREQUEST on eth0 to 192.168.80.254 port 67
Dec  7 14:00:28 localhost dhclient: DHCPACK from 192.168.80.254
Dec  7 14:00:28 localhost dhclient: bound to 192.168.80.129 -- renewal in 679 seconds.

招聘 : 技术支持/维
论坛徽章:
0
4 [报告]
发表于 2010-01-23 01:30 |只看该作者

回复 #1 jszj 的帖子

直接service squid restart就可以了
不需要squid -k reconfigure
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP