免费注册 查看新帖 |

Chinaunix

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

[Web] squid 定期出故障 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-01 13:41 |只看该作者 |倒序浏览
squid 服务器的怪问题。


上次我编译SQUID安装后运行一切正常,但到了11月1号的12点就突然中断了。
先启动后再用这条命令:
# /usr/local/squid/sbin/squid -k reconfigure
squid: ERROR: Could not send signal 1 to process 3383: (1) Operation not permitted
会提示以上错误。

我以为是SQUID出问题,重新编安装后以为没事了。但过了一个月,今天12月1号中午12点后,重新出现相同的问题。
我怀疑是不是有定期执行什么任务造成的。




本以为搞定了,但过了一下午又挂了,提示还是上面的一样。
我的设定是:在/etc/sysconfig/network 设为hostname=squid
又在/etc/hosts  中设定   :   127.0.0.1        localhost.localdomain   localhost
                                         ::1             localhost6.localdomain6 localhost6
                                            192.168.9.7    squid
在/etc/squid/squid.conf 中加入  visible_hostname squid
        
但用/usr/local/squid/sbin/squid start
/usr/local/squid/sbin/squid  -k reconfigure时还是报错。
squid: ERROR: Could not send signal 1 to process 5586: (3) No such process

用ps -aux|grep squid根本找不到进程。

用squid -X  显示如下:

2009/12/01 18:34:47.385| Processing: 'refresh_pattern ^ftp:             1440   20%      10080'
2009/12/01 18:34:47.385| Processing: 'refresh_pattern ^gopher:  1440    0%  1440'
2009/12/01 18:34:47.386| Processing: 'refresh_pattern (cgi-bin|\?)      0   0% 0'
2009/12/01 18:34:47.386| Processing: 'refresh_pattern .         0       20% 4320'
2009/12/01 18:34:47.386| Processing: 'visible_hostname eliteksquid'
2009/12/01 18:34:47.387| Processing: 'icp_port 3130'
2009/12/01 18:34:47.388| Processing: 'coredump_dir /usr/local/squid/var/cache'
2009/12/01 18:34:47.388| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 18:34:47.388| ACL::FindByName 'all'
2009/12/01 18:34:47.388| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 18:34:47.388| ACL::FindByName 'all'
2009/12/01 18:34:47.389| file_map_create: creating space for 16384 files
2009/12/01 18:34:47.389| --> 512 words of 4 bytes each
2009/12/01 18:34:47.392| wccp2_add_service_list: added service id 0
2009/12/01 18:34:47.393| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 18:34:47.393| ACL::FindByName 'all'
2009/12/01 18:34:47.394| acl_access::containsPURGE: invoked for 'http_access allow manager localhost'
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.394| acl_access::containsPURGE: can't create tempAcl
2009/12/01 18:34:47.395| acl_access::containsPURGE:   returning false
2009/12/01 18:34:47.395| leave_suid: PID 5610 called
2009/12/01 18:34:47.395| leave_suid: PID 5610 giving up root, becoming 'nobody'
2009/12/01 18:34:47.396| command-line -X overrides: ALL,1


请高手赐教 啊。谢谢!

[ 本帖最后由 kuang_hp 于 2009-12-1 18:33 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-12-01 14:44 |只看该作者
原帖由 kuang_hp 于 2009-12-1 13:41 发表
squid 服务器的怪问题。


上次我编译SQUID安装后运行一切正常,但到了11月1号的12点就突然中断了。
先启动后再用这条命令:
# /usr/local/squid/sbin/squid -k reconfigure
squid: ERROR: Could not sen ...



默认的计划任务,基本在以下的时段:
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

除非你有自己定义的计划任务。


对了楼主,你的故障是SQUID进程自动退出,还是进程死亡。
这样可以么?
killall -9 squid


还有就是你给出的错误信息没看出什么问题:
squid --help
-X        Force full debugging.
-d level  Write debugging to stderr also.
考虑把DEBUG信息量增加一些吧。

/usr/local/squid/sbin/squid

论坛徽章:
0
3 [报告]
发表于 2009-12-01 14:53 |只看该作者

回复 #1 kuang_hp 的帖子

现在解决了。我发现是服务器自动重启后改了电脑名,然后是无法找到电脑名,就启动不了。我更改回来后,重启就解决了。但为什么会自已更改电脑名,就不太清楚了。且出情况时总是跳出来,收到一个属于自已的数据包的消息。

论坛徽章:
0
4 [报告]
发表于 2009-12-01 15:32 |只看该作者
原帖由 kuang_hp 于 2009-12-1 14:53 发表
现在解决了。我发现是服务器自动重启后改了电脑名,然后是无法找到电脑名,就启动不了。我更改回来后,重启就解决了。但为什么会自已更改电脑名,就不太清楚了。且出情况时总是跳出来,收到一个属于自已的数据包 ...

看看rc.local 有什么程序,或是否有异常端口/

论坛徽章:
0
5 [报告]
发表于 2009-12-01 15:38 |只看该作者
原帖由 kuang_hp 于 2009-12-1 14:53 发表
现在解决了。我发现是服务器自动重启后改了电脑名,然后是无法找到电脑名,就启动不了。我更改回来后,重启就解决了。但为什么会自已更改电脑名,就不太清楚了。且出情况时总是跳出来,收到一个属于自已的数据包 ...



/etc/sysconfig/network

/etc/hosts

名字设置,名字对应IP,都设置了?

论坛徽章:
0
6 [报告]
发表于 2009-12-01 15:41 |只看该作者
实在不行可以
chattr +i /etc/sysconfig/network

论坛徽章:
0
7 [报告]
发表于 2009-12-01 16:06 |只看该作者
原帖由 7717060 于 2009-12-1 15:41 发表
实在不行可以
chattr +i /etc/sysconfig/network



哈哈 够很

论坛徽章:
0
8 [报告]
发表于 2009-12-01 18:36 |只看该作者
请帮忙啊。不然又得重装啦

论坛徽章:
0
9 [报告]
发表于 2009-12-01 19:34 |只看该作者
原帖由 kuang_hp 于 2009-12-1 18:36 发表
请帮忙啊。不然又得重装啦




2009/12/01 18:34:47.386| Processing: 'visible_hostname eliteksquid'


在/etc/squid/squid.conf 中加入  visible_hostname squid


楼主,根据调试输出和你说的配置,前后不符合。



squid -X -d1 -N
楼主可以试下这个,主要是想知道你的进程是因为什么退出的。

论坛徽章:
0
10 [报告]
发表于 2009-12-01 19:48 |只看该作者

回复 #9 blueswxs 的帖子

那个eliteksquid 我现在全改为squid了。是一致的,只是我刚才输入时打错了。

我按你的方法结果如下:

2009/12/01 19:45:17.728| aclDestroyACLs: invoked
2009/12/01 19:45:17.729| ACL:rototype::Registered: invoked for type src
2009/12/01 19:45:17.729| ACL:rototype::Registered:    yes
2009/12/01 19:45:17.730| ACL::FindByName 'all'
2009/12/01 19:45:17.730| ACL::FindByName found no match
2009/12/01 19:45:17.731| aclParseAclLine: Creating ACL 'all'
2009/12/01 19:45:17.731| ACL:rototype::Factory: cloning an object for type 'src'
2009/12/01 19:45:17.732| aclParseIpData: all
2009/12/01 19:45:17.732| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2009/12/01 19:45:17.736| Processing: 'acl mac arp "/etc/squid/mac.txt"'
2009/12/01 19:45:17.736| ACL:rototype::Registered: invoked for type arp
2009/12/01 19:45:17.737| ACL:rototype::Registered:    yes
2009/12/01 19:45:17.737| ACL::FindByName 'mac'
2009/12/01 19:45:17.738| ACL::FindByName found no match
2009/12/01 19:45:17.738| aclParseAclLine: Creating ACL 'mac'
2009/12/01 19:45:17.739| ACL:rototype::Factory: cloning an object for type 'arp'
2009/12/01 19:45:17.740| aclParseArpData: 00:30:f1:6f:be:19
2009/12/01 19:45:17.740| aclParseArpData: 90:e6:ba:57:97:4a
2009/12/01 19:45:17.741| aclParseArpData: 90:e6:ba:57:80:8a
2009/12/01 19:45:17.741| aclParseArpData: 00:1d:0f:0e:24:b3
2009/12/01 19:45:17.742| aclParseArpData: 00:15:f2:d7:0a:24
2009/12/01 19:45:17.742| aclParseArpData: 00:0c:6e:7c:7c:3b
2009/12/01 19:45:17.743| aclParseArpData: 00:15:f2:a0:20:8b
2009/12/01 19:45:17.743| aclParseArpData: 00:1a:92:59:6e:ab
2009/12/01 19:45:17.744| aclParseArpData: 00:23:54:20:a8:54
2009/12/01 19:45:17.745| aclParseArpData: 00:15:f2:a8:c6:ac
2009/12/01 19:45:17.745| aclParseArpData: 90:E6:BA:57:8D:8E
2009/12/01 19:45:17.746| aclParseArpData: 00:23:54:0a:80:57
2009/12/01 19:45:17.746| aclParseArpData: 00:23:54:5c:ac:15
2009/12/01 19:45:17.747| aclParseArpData: 00:0e:a6:2d:2c:94
2009/12/01 19:45:17.747| aclParseArpData: 00:23:54:5c:ac:26
2009/12/01 19:45:17.748| aclParseArpData: 00:11:5b:ff:70:fa
2009/12/01 19:45:17.748| aclParseArpData: 00:18:f3:5f:84:d2
2009/12/01 19:45:17.749| aclParseArpData: 00:26:18:81:38:54
2009/12/01 19:45:17.749| aclParseArpData: 00:26:18:81:38:55
2009/12/01 19:45:17.750| aclParseArpData: 90:E6:BA:57:8D:85
2009/12/01 19:45:17.751| aclParseArpData: 90:E6:BA:57:8D:7E
2009/12/01 19:45:17.751| aclParseArpData: 90:E6:BA:57:8D:8C
2009/12/01 19:45:17.752| aclParseArpData: 00:26:18:81:38:57
2009/12/01 19:45:17.752| Processing: 'acl badhttp dst "/etc/squid/badhttp.txt"'
2009/12/01 19:45:17.753| ACL:rototype::Registered: invoked for type dst
2009/12/01 19:45:17.753| ACL:rototype::Registered:    yes
2009/12/01 19:45:17.754| ACL::FindByName 'badhttp'
2009/12/01 19:45:17.754| ACL::FindByName found no match
2009/12/01 19:45:17.755| aclParseAclLine: Creating ACL 'badhttp'
2009/12/01 19:45:17.755| ACL:rototype::Factory: cloning an object for type 'dst'
2009/12/01 19:45:17.756| aclParseIpData: www.qq.com
2009/12/01 19:45:17.760| www.qq.com --> 60.28.14.159
2009/12/01 19:45:17.760| www.qq.com --> 60.28.14.158
2009/12/01 19:45:17.761| aclParseIpData: www.51.com
2009/12/01 19:45:17.762| www.51.com --> 114.80.89.15
2009/12/01 19:45:17.763| aclParseIpData: www.kaixin.com
2009/12/01 19:45:17.764| www.kaixin.com --> 220.181.92.14
2009/12/01 19:45:17.765| www.kaixin.com --> 220.181.92.15
2009/12/01 19:45:17.765| www.kaixin.com --> 220.181.92.21
2009/12/01 19:45:17.766| www.kaixin.com --> 220.181.92.13
2009/12/01 19:45:17.766| aclParseIpData: www.kaixin001.com
2009/12/01 19:45:17.768| www.kaixin001.com --> 220.181.100.31
2009/12/01 19:45:17.768| www.kaixin001.com --> 220.181.100.32
2009/12/01 19:45:17.769| www.kaixin001.com --> 220.181.100.33
2009/12/01 19:45:17.769| www.kaixin001.com --> 220.181.100.34
2009/12/01 19:45:17.770| www.kaixin001.com --> 220.181.100.35
2009/12/01 19:45:17.770| www.kaixin001.com --> 220.181.100.36
2009/12/01 19:45:17.771| www.kaixin001.com --> 220.181.104.11
2009/12/01 19:45:17.772| www.kaixin001.com --> 220.181.104.12
2009/12/01 19:45:17.772| www.kaixin001.com --> 220.181.104.13
2009/12/01 19:45:17.773| www.kaixin001.com --> 220.181.104.14
2009/12/01 19:45:17.773| www.kaixin001.com --> 220.181.104.15
2009/12/01 19:45:17.774| www.kaixin001.com --> 220.181.104.16
2009/12/01 19:45:17.774| www.kaixin001.com --> 220.181.100.29
2009/12/01 19:45:17.775| www.kaixin001.com --> 220.181.100.30
2009/12/01 19:45:17.775| Processing: 'acl manager proto cache_object'
2009/12/01 19:45:17.776| ACL:rototype::Registered: invoked for type proto
2009/12/01 19:45:17.777| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.777| ACL::FindByName 'manager'
2009/12/01 19:45:17.778| ACL::FindByName found no match
2009/12/01 19:45:17.778| aclParseAclLine: Creating ACL 'manager'
2009/12/01 19:45:17.779| ACL::Prototype::Factory: cloning an object for type 'proto'
2009/12/01 19:45:17.779| Processing: 'acl localhost src 127.0.0.1/32'
2009/12/01 19:45:17.780| ACL::Prototype::Registered: invoked for type src
2009/12/01 19:45:17.780| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.781| ACL::FindByName 'localhost'
2009/12/01 19:45:17.781| ACL::FindByName found no match
2009/12/01 19:45:17.782| aclParseAclLine: Creating ACL 'localhost'
2009/12/01 19:45:17.782| ACL::Prototype::Factory: cloning an object for type 'src'
2009/12/01 19:45:17.783| aclParseIpData: 127.0.0.1/32
2009/12/01 19:45:17.784| Processing: 'acl to_localhost dst 127.0.0.0/8 0.0.0.0/32'
2009/12/01 19:45:17.784| ACL::Prototype::Registered: invoked for type dst
2009/12/01 19:45:17.785| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.785| ACL::FindByName 'to_localhost'
2009/12/01 19:45:17.786| ACL::FindByName found no match
2009/12/01 19:45:17.786| aclParseAclLine: Creating ACL 'to_localhost'
2009/12/01 19:45:17.787| ACL::Prototype::Factory: cloning an object for type 'dst'
2009/12/01 19:45:17.787| aclParseIpData: 127.0.0.0/8
2009/12/01 19:45:17.788| aclParseIpData: 0.0.0.0/32
2009/12/01 19:45:17.788| Processing: 'acl localnet src 10.0.0.0/8       # RFC1918 possible internal network'
2009/12/01 19:45:17.789| ACL::Prototype::Registered: invoked for type src
2009/12/01 19:45:17.789| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.790| ACL::FindByName 'localnet'
2009/12/01 19:45:17.791| ACL::FindByName found no match
2009/12/01 19:45:17.791| aclParseAclLine: Creating ACL 'localnet'
2009/12/01 19:45:17.792| ACL::Prototype::Factory: cloning an object for type 'src'
2009/12/01 19:45:17.792| aclParseIpData: 10.0.0.0/8
2009/12/01 19:45:17.793| Processing: 'acl localnet src 172.16.0.0/12    # RFC1918 possible internal network'
2009/12/01 19:45:17.793| ACL::Prototype::Registered: invoked for type src
2009/12/01 19:45:17.794| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.795| ACL::FindByName 'localnet'
2009/12/01 19:45:17.795| aclParseAclLine: Appending to 'localnet'
2009/12/01 19:45:17.796| aclParseIpData: 172.16.0.0/12
2009/12/01 19:45:17.796| Processing: 'acl localnet src 192.168.0.0/16   # RFC1918 possible internal network'
2009/12/01 19:45:17.797| ACL::Prototype::Registered: invoked for type src
2009/12/01 19:45:17.797| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.798| ACL::FindByName 'localnet'
2009/12/01 19:45:17.798| aclParseAclLine: Appending to 'localnet'
2009/12/01 19:45:17.799| aclParseIpData: 192.168.0.0/16
2009/12/01 19:45:17.799| Processing: 'acl SSL_ports port 443'
2009/12/01 19:45:17.800| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.800| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.801| ACL::FindByName 'SSL_ports'
2009/12/01 19:45:17.801| ACL::FindByName found no match
2009/12/01 19:45:17.802| aclParseAclLine: Creating ACL 'SSL_ports'
2009/12/01 19:45:17.802| ACL::Prototype::Factory: cloning an object for type 'port'
2009/12/01 19:45:17.803| Processing: 'acl Safe_ports port 80            # http'
2009/12/01 19:45:17.803| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.803| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.804| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.804| ACL::FindByName found no match
2009/12/01 19:45:17.804| aclParseAclLine: Creating ACL 'Safe_ports'
2009/12/01 19:45:17.804| ACL::Prototype::Factory: cloning an object for type 'port'
2009/12/01 19:45:17.804| Processing: 'acl Safe_ports port 21            # ftp'
2009/12/01 19:45:17.804| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.804| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.805| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.805| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.805| Processing: 'acl Safe_ports port 443           # https'
2009/12/01 19:45:17.805| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.805| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.805| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.805| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.805| Processing: 'acl Safe_ports port 70            # gopher'
2009/12/01 19:45:17.805| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.805| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.805| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.805| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.805| Processing: 'acl Safe_ports port 210           # wais'
2009/12/01 19:45:17.806| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.806| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.806| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.806| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.806| Processing: 'acl Safe_ports port 1025-65535    # unregistered ports'
2009/12/01 19:45:17.806| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.806| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.806| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.806| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.806| Processing: 'acl Safe_ports port 280           # http-mgmt'
2009/12/01 19:45:17.806| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.806| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.806| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.806| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.807| Processing: 'acl Safe_ports port 488           # gss-http'
2009/12/01 19:45:17.807| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.807| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.807| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.807| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.807| Processing: 'acl Safe_ports port 591           # filemaker'
2009/12/01 19:45:17.807| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.807| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.807| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.807| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.807| Processing: 'acl Safe_ports port 777           # multiling http'
2009/12/01 19:45:17.807| ACL::Prototype::Registered: invoked for type port
2009/12/01 19:45:17.808| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.808| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.808| aclParseAclLine: Appending to 'Safe_ports'
2009/12/01 19:45:17.808| Processing: 'acl CONNECT method CONNECT'
2009/12/01 19:45:17.808| ACL::Prototype::Registered: invoked for type method
2009/12/01 19:45:17.808| ACL::Prototype::Registered:    yes
2009/12/01 19:45:17.808| ACL::FindByName 'CONNECT'
2009/12/01 19:45:17.808| ACL::FindByName found no match
2009/12/01 19:45:17.808| aclParseAclLine: Creating ACL 'CONNECT'
2009/12/01 19:45:17.808| ACL::Prototype::Factory: cloning an object for type 'method'
2009/12/01 19:45:17.809| Processing: 'http_access allow manager localhost'
2009/12/01 19:45:17.809| aclParseAccessLine: looking for ACL name 'manager'
2009/12/01 19:45:17.895| ACL::FindByName 'manager'
2009/12/01 19:45:17.895| aclParseAccessLine: looking for ACL name 'localhost'
2009/12/01 19:45:17.895| ACL::FindByName 'localhost'
2009/12/01 19:45:17.895| Processing: 'http_access deny manager'
2009/12/01 19:45:17.896| aclParseAccessLine: looking for ACL name 'manager'
2009/12/01 19:45:17.896| ACL::FindByName 'manager'
2009/12/01 19:45:17.896| Processing: 'http_access deny !Safe_ports'
2009/12/01 19:45:17.896| aclParseAccessLine: looking for ACL name 'Safe_ports'
2009/12/01 19:45:17.896| ACL::FindByName 'Safe_ports'
2009/12/01 19:45:17.896| Processing: 'http_access deny CONNECT !SSL_ports'
2009/12/01 19:45:17.896| aclParseAccessLine: looking for ACL name 'CONNECT'
2009/12/01 19:45:17.896| ACL::FindByName 'CONNECT'
2009/12/01 19:45:17.896| aclParseAccessLine: looking for ACL name 'SSL_ports'
2009/12/01 19:45:17.896| ACL::FindByName 'SSL_ports'
2009/12/01 19:45:17.896| Processing: 'http_access allow localnet'
2009/12/01 19:45:17.896| aclParseAccessLine: looking for ACL name 'localnet'
2009/12/01 19:45:17.897| ACL::FindByName 'localnet'
2009/12/01 19:45:17.897| Processing: 'http_access allow mac'
2009/12/01 19:45:17.897| aclParseAccessLine: looking for ACL name 'mac'
2009/12/01 19:45:17.897| ACL::FindByName 'mac'
2009/12/01 19:45:17.897| Processing: 'http_access deny all'
2009/12/01 19:45:17.897| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 19:45:17.897| ACL::FindByName 'all'
2009/12/01 19:45:17.897| Processing: 'icp_access allow localnet'
2009/12/01 19:45:17.897| aclParseAccessLine: looking for ACL name 'localnet'
2009/12/01 19:45:17.897| ACL::FindByName 'localnet'
2009/12/01 19:45:17.897| Processing: 'icp_access deny all'
2009/12/01 19:45:17.897| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 19:45:17.898| ACL::FindByName 'all'
2009/12/01 19:45:17.898| Processing: 'htcp_access allow localnet'
2009/12/01 19:45:17.898| aclParseAccessLine: looking for ACL name 'localnet'
2009/12/01 19:45:17.898| ACL::FindByName 'localnet'
2009/12/01 19:45:17.898| Processing: 'htcp_access deny all'
2009/12/01 19:45:17.898| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 19:45:17.898| ACL::FindByName 'all'
2009/12/01 19:45:17.898| Processing: 'http_port 3128'
2009/12/01 19:45:17.899| Processing: 'hierarchy_stoplist cgi-bin ?'
2009/12/01 19:45:17.899| Processing: ' cache_mem 100 MB'
2009/12/01 19:45:17.899| Processing: 'access_log /usr/local/squid/var/logs/access.log squid'
2009/12/01 19:45:17.899| Log definition name 'squid' file '/usr/local/squid/var/logs/access.log'
2009/12/01 19:45:17.900| Processing: 'refresh_pattern ^ftp:             1440    20%     10080'
2009/12/01 19:45:17.900| Processing: 'refresh_pattern ^gopher:  1440    0%      1440'
2009/12/01 19:45:17.900| Processing: 'refresh_pattern (cgi-bin|\?)      0       0%      0'
2009/12/01 19:45:17.901| Processing: 'refresh_pattern .         0       20%     4320'
2009/12/01 19:45:17.901| Processing: 'visible_hostname eliteksquid'
2009/12/01 19:45:17.902| Processing: 'icp_port 3130'
2009/12/01 19:45:17.902| Processing: 'coredump_dir /usr/local/squid/var/cache'
2009/12/01 19:45:17.903| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 19:45:17.903| ACL::FindByName 'all'
2009/12/01 19:45:17.903| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 19:45:17.903| ACL::FindByName 'all'
2009/12/01 19:45:17.903| file_map_create: creating space for 16384 files
2009/12/01 19:45:17.903| --> 512 words of 4 bytes each
2009/12/01 19:45:17.904| wccp2_add_service_list: added service id 0
2009/12/01 19:45:17.904| aclParseAccessLine: looking for ACL name 'all'
2009/12/01 19:45:17.904| ACL::FindByName 'all'
2009/12/01 19:45:17.904| acl_access::containsPURGE: invoked for 'http_access allow manager localhost'
2009/12/01 19:45:17.904| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.904| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.904| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.905| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.905| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.905| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.906| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.906| acl_access::containsPURGE: can't create tempAcl
2009/12/01 19:45:17.906| acl_access::containsPURGE:   returning false
2009/12/01 19:45:17.906| leave_suid: PID 6399 called
2009/12/01 19:45:17.906| leave_suid: PID 6399 giving up root, becoming 'nobody'
2009/12/01 19:45:17.907| command-line -X overrides: ALL,1
2009/12/01 19:45:17.910| Starting Squid Cache version 3.0.STABLE20 for i686-pc-linux-gnu...
2009/12/01 19:45:17.910| Process ID 6399
2009/12/01 19:45:17.910| With 1024 file descriptors available
2009/12/01 19:45:17.911| Performing DNS Tests...
2009/12/01 19:45:17.911| Successful DNS name lookup tests...
2009/12/01 19:45:17.916| DNS Socket created at 0.0.0.0, port 55713, FD 5
2009/12/01 19:45:17.916| Adding domain localdomain from /etc/resolv.conf
2009/12/01 19:45:17.916| Adding nameserver 192.168.9.8 from /etc/resolv.conf
2009/12/01 19:45:17.917| Adding nameserver 192.168.9.10 from /etc/resolv.conf
2009/12/01 19:45:18.221| Unlinkd pipe opened on FD 10
2009/12/01 19:45:18.230| Swap maxSize 102400 + 102400 KB, estimated 15753 objects
2009/12/01 19:45:18.230| Target number of buckets: 787
2009/12/01 19:45:18.230| Using 8192 Store buckets
2009/12/01 19:45:18.230| Max Mem  size: 102400 KB
2009/12/01 19:45:18.230| Max Swap size: 102400 KB
2009/12/01 19:45:18.234| Version 1 of swap file with LFS support detected...
2009/12/01 19:45:18.234| Rebuilding storage in /usr/local/squid/var/cache (DIRTY)
2009/12/01 19:45:18.235| Using Least Load store dir selection
2009/12/01 19:45:18.235| Set Current Directory to /usr/local/squid/var/cache
2009/12/01 19:45:18.737| Loaded Icons.
2009/12/01 19:45:18.743| Accepting  HTTP connections at 0.0.0.0, port 3128, FD 12.
2009/12/01 19:45:18.745| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2009/12/01 19:45:18.745| HTCP Disabled.
2009/12/01 19:45:18.750| Ready to serve requests.
[root@eliteksquid ~]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP