歡迎您光臨本站 註冊首頁

squid 定期出故障

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

squid 定期出故障

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 編輯 ]
《解決方案》

原帖由 kuang_hp 於 2009-12-1 13:41 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
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
《解決方案》

回復 #1 kuang_hp 的帖子

現在解決了。我發現是伺服器自動重啟后改了電腦名,然後是無法找到電腦名,就啟動不了。我更改回來后,重啟就解決了。但為什麼會自已更改電腦名,就不太清楚了。且出情況時總是跳出來,收到一個屬於自已的數據包的消息。
《解決方案》

原帖由 kuang_hp 於 2009-12-1 14:53 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
現在解決了。我發現是伺服器自動重啟后改了電腦名,然後是無法找到電腦名,就啟動不了。我更改回來后,重啟就解決了。但為什麼會自已更改電腦名,就不太清楚了。且出情況時總是跳出來,收到一個屬於自已的數據包 ...
看看rc.local 有什麼程序,或是否有異常埠/
《解決方案》

原帖由 kuang_hp 於 2009-12-1 14:53 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
現在解決了。我發現是伺服器自動重啟后改了電腦名,然後是無法找到電腦名,就啟動不了。我更改回來后,重啟就解決了。但為什麼會自已更改電腦名,就不太清楚了。且出情況時總是跳出來,收到一個屬於自已的數據包 ...


/etc/sysconfig/network

/etc/hosts

名字設置,名字對應IP,都設置了?
《解決方案》

實在不行可以
chattr +i /etc/sysconfig/network
:mrgreen:
《解決方案》

原帖由 7717060 於 2009-12-1 15:41 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
實在不行可以
chattr +i /etc/sysconfig/network
:mrgreen:


哈哈 夠很
《解決方案》

請幫忙啊。不然又得重裝啦
《解決方案》

原帖由 kuang_hp 於 2009-12-1 18:36 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
請幫忙啊。不然又得重裝啦



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


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


樓主,根據調試輸出和你說的配置,前後不符合。



squid -X -d1 -N
樓主可以試下這個,主要是想知道你的進程是因為什麼退出的。
《解決方案》

回復 #9 blueswxs 的帖子

那個eliteksquid 我現在全改為squid了。是一致的,只是我剛才輸入時打錯了。

我按你的方法結果如下:

2009/12/01 19:45:17.728| aclDestroyACLs: invoked
2009/12/01 19:45:17.729| ACL::Prototype::Registered: invoked for type src
2009/12/01 19:45:17.729| ACL::Prototype::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::Prototype::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::Prototype::Registered: invoked for type arp
2009/12/01 19:45:17.737| ACL::Prototype::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::Prototype::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::Prototype::Registered: invoked for type dst
2009/12/01 19:45:17.753| ACL::Prototype::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::Prototype::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::Prototype::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.
#

[火星人 ] squid 定期出故障已經有823次圍觀

http://coctec.com/docs/service/show-post-19581.html