歡迎您光臨本站 註冊首頁

squid3突然罷工

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

squid3突然罷工

OS:ubunt9-10-server-i386

原本是好好的可用的,重啟后就出現squid無法啟動的事情了
# squid3 -X

2010/01/18 21:54:35.521| command-line -X overrides: ALL,7
2010/01/18 21:54:35.521| aclDestroyACLs: invoked
2010/01/18 21:54:35.521| ACL::Prototype::Registered: invoked for type src
2010/01/18 21:54:35.521| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.521| ACL::FindByName 'all'
2010/01/18 21:54:35.521| ACL::FindByName found no match
2010/01/18 21:54:35.521| aclParseAclLine: Creating ACL 'all'
2010/01/18 21:54:35.521| ACL::Prototype::Factory: cloning an object for type 'src'
2010/01/18 21:54:35.521| aclParseIpData: all
2010/01/18 21:54:35.521| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2010/01/18 21:54:35.522| Processing: 'acl acl_kav_GET method GET'
2010/01/18 21:54:35.522| ACL::Prototype::Registered: invoked for type method
2010/01/18 21:54:35.522| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.522| ACL::FindByName 'acl_kav_GET'
2010/01/18 21:54:35.522| ACL::FindByName found no match
2010/01/18 21:54:35.522| aclParseAclLine: Creating ACL 'acl_kav_GET'
2010/01/18 21:54:35.522| ACL::Prototype::Factory: cloning an object for type 'method'
2010/01/18 21:54:35.523| Processing: 'acl manager proto cache_object'
2010/01/18 21:54:35.523| ACL::Prototype::Registered: invoked for type proto
2010/01/18 21:54:35.523| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.523| ACL::FindByName 'manager'
2010/01/18 21:54:35.523| ACL::FindByName found no match
2010/01/18 21:54:35.523| aclParseAclLine: Creating ACL 'manager'
2010/01/18 21:54:35.523| ACL::Prototype::Factory: cloning an object for type 'proto'
2010/01/18 21:54:35.523| Processing: 'acl localhost src 127.0.0.1/32'
2010/01/18 21:54:35.523| ACL::Prototype::Registered: invoked for type src
2010/01/18 21:54:35.523| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.523| ACL::FindByName 'localhost'
2010/01/18 21:54:35.523| ACL::FindByName found no match
2010/01/18 21:54:35.523| aclParseAclLine: Creating ACL 'localhost'
2010/01/18 21:54:35.523| ACL::Prototype::Factory: cloning an object for type 'src'
2010/01/18 21:54:35.523| aclParseIpData: 127.0.0.1/32
2010/01/18 21:54:35.523| Processing: 'acl to_localhost dst 127.0.0.0/8'
2010/01/18 21:54:35.523| ACL::Prototype::Registered: invoked for type dst
2010/01/18 21:54:35.523| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.523| ACL::FindByName 'to_localhost'
2010/01/18 21:54:35.523| ACL::FindByName found no match
2010/01/18 21:54:35.523| aclParseAclLine: Creating ACL 'to_localhost'
2010/01/18 21:54:35.523| ACL::Prototype::Factory: cloning an object for type 'dst'
2010/01/18 21:54:35.523| aclParseIpData: 127.0.0.0/8
2010/01/18 21:54:35.523| Processing: 'acl SSL_ports port 443'
2010/01/18 21:54:35.523| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.523| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.523| ACL::FindByName 'SSL_ports'
2010/01/18 21:54:35.523| ACL::FindByName found no match
2010/01/18 21:54:35.523| aclParseAclLine: Creating ACL 'SSL_ports'
2010/01/18 21:54:35.523| ACL::Prototype::Factory: cloning an object for type 'port'
2010/01/18 21:54:35.523| Processing: 'acl Safe_ports port 80            # http'
2010/01/18 21:54:35.523| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.523| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.523| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.523| ACL::FindByName found no match
2010/01/18 21:54:35.523| aclParseAclLine: Creating ACL 'Safe_ports'
2010/01/18 21:54:35.523| ACL::Prototype::Factory: cloning an object for type 'port'
2010/01/18 21:54:35.523| Processing: 'acl Safe_ports port 21            # ftp'
2010/01/18 21:54:35.523| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.523| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.523| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.523| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 443           # https'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 70            # gopher'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 210           # wais'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 1025-65535    # unregistered ports'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 280           # http-mgmt'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 488           # gss-http'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 591           # filemaker'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl Safe_ports port 777           # multiling http'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type port
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.524| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 21:54:35.524| Processing: 'acl CONNECT method CONNECT'
2010/01/18 21:54:35.524| ACL::Prototype::Registered: invoked for type method
2010/01/18 21:54:35.524| ACL::Prototype::Registered:    yes
2010/01/18 21:54:35.524| ACL::FindByName 'CONNECT'
2010/01/18 21:54:35.524| ACL::FindByName found no match
2010/01/18 21:54:35.524| aclParseAclLine: Creating ACL 'CONNECT'
2010/01/18 21:54:35.524| ACL::Prototype::Factory: cloning an object for type 'method'
2010/01/18 21:54:35.524| Processing: 'http_access deny manager localhost'
2010/01/18 21:54:35.524| aclParseAccessLine: looking for ACL name 'manager'
2010/01/18 21:54:35.524| ACL::FindByName 'manager'
2010/01/18 21:54:35.524| aclParseAccessLine: looking for ACL name 'localhost'
2010/01/18 21:54:35.524| ACL::FindByName 'localhost'
2010/01/18 21:54:35.528| Processing: 'http_access deny manager'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'manager'
2010/01/18 21:54:35.528| ACL::FindByName 'manager'
2010/01/18 21:54:35.528| Processing: 'http_access deny !Safe_ports'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'Safe_ports'
2010/01/18 21:54:35.528| ACL::FindByName 'Safe_ports'
2010/01/18 21:54:35.528| Processing: 'http_access deny CONNECT !SSL_ports'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'CONNECT'
2010/01/18 21:54:35.528| ACL::FindByName 'CONNECT'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'SSL_ports'
2010/01/18 21:54:35.528| ACL::FindByName 'SSL_ports'
2010/01/18 21:54:35.528| Processing: 'http_access allow localhost'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'localhost'
2010/01/18 21:54:35.528| ACL::FindByName 'localhost'
2010/01/18 21:54:35.528| Processing: 'http_access  allow all'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.528| ACL::FindByName 'all'
2010/01/18 21:54:35.528| Processing: 'icp_access deny all'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.528| ACL::FindByName 'all'
2010/01/18 21:54:35.528| Processing: 'htcp_access deny all'
2010/01/18 21:54:35.528| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.528| ACL::FindByName 'all'
2010/01/18 21:54:35.528| Processing: 'http_port 3128'
2010/01/18 21:54:35.528| Processing: 'hierarchy_stoplist cgi-bin ?'
2010/01/18 21:54:35.528| Processing: ' cache_dir ufs /var/spool/squid3 100 16 256'
2010/01/18 21:54:35.528| file_map_create: creating space for 16384 files
2010/01/18 21:54:35.529| --> 512 words of 4 bytes each
2010/01/18 21:54:35.529| Processing: ' cache_swap_low 90'
2010/01/18 21:54:35.529| Processing: ' cache_swap_high 95'
2010/01/18 21:54:35.529| Processing: 'access_log /var/log/squid3/access.log squid'
2010/01/18 21:54:35.529| Log definition name 'squid' file '/var/log/squid3/access.log'
2010/01/18 21:54:35.529| Processing: 'cache_store_log none'
2010/01/18 21:54:35.529| Processing: 'refresh_pattern ^ftp:             1440   20%      10080'
2010/01/18 21:54:35.529| Processing: 'refresh_pattern ^gopher:  1440    0%     1440'
2010/01/18 21:54:35.529| Processing: 'refresh_pattern (cgi-bin|\?)      0      0%       0'
2010/01/18 21:54:35.529| Processing: 'refresh_pattern .         0       20%    4320'
2010/01/18 21:54:35.529| Processing: ' visible_hostname = ubunt9-10-server-i386.cn.kaspersky.com'
2010/01/18 21:54:35.529| Processing: 'icp_port 3130'
2010/01/18 21:54:35.529| Processing: 'icap_enable on'
2010/01/18 21:54:35.529| Processing: 'icap_send_client_ip on'
2010/01/18 21:54:35.529| Processing: 'icap_service is_kav_resp respmod_precache 0 icap://localhost:1344/av/respmod'
2010/01/18 21:54:35.530| ICAPService::parseConfigLine (line 4298): is_kav_resp respmod_precache 0
2010/01/18 21:54:35.530| ICAPService::parseConfigLine (line 4298): service is RESPMOD_PRECACHE
2010/01/18 21:54:35.530| Processing: 'icap_service is_kav_req reqmod_precache 0 icap://localhost:1344/av/reqmod'
2010/01/18 21:54:35.530| ICAPService::parseConfigLine (line 4299): is_kav_req reqmod_precache 0
2010/01/18 21:54:35.530| ICAPService::parseConfigLine (line 4299): service is REQMOD_PRECACHE
2010/01/18 21:54:35.530| Processing: 'icap_class ic_kav_resp is_kav_resp'
2010/01/18 21:54:35.530| Processing: 'icap_class ic_kav_req is_kav_req'
2010/01/18 21:54:35.530| Processing: 'icap_access ic_kav_req allow all !acl_kav_GET'
2010/01/18 21:54:35.530| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.530| ACL::FindByName 'all'
2010/01/18 21:54:35.530| aclParseAccessLine: looking for ACL name 'acl_kav_GET'
2010/01/18 21:54:35.530| ACL::FindByName 'acl_kav_GET'
2010/01/18 21:54:35.530| Processing: 'icap_access ic_kav_resp allow all'
2010/01/18 21:54:35.530| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.530| ACL::FindByName 'all'
2010/01/18 21:54:35.530| Processing: 'coredump_dir /var/spool/squid3'
2010/01/18 21:54:35.530| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.530| ACL::FindByName 'all'
2010/01/18 21:54:35.530| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.530| ACL::FindByName 'all'
2010/01/18 21:54:35.530| wccp2_add_service_list: added service id 0
2010/01/18 21:54:35.530| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 21:54:35.530| ACL::FindByName 'all'
2010/01/18 21:54:35.530| acl_access::containsPURGE: invoked for 'http_access deny manager localhost'
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE: can't create tempAcl
2010/01/18 21:54:35.530| acl_access::containsPURGE:   returning false
2010/01/18 21:54:35.531| leave_suid: PID 2884 called
2010/01/18 21:54:35.531| leave_suid: PID 2884 giving up root, becoming 'proxy'
2010/01/18 21:54:35.531| command-line -X overrides: ALL,1
====
google了很多資料,排除主機名改變引起的變動
另外,刪除了/var/log/squid3 下的store.log 並修改了配置文件cache_store_log    none,重啟后仍無效

# squid3 -k reconfigure

squid: ERROR: No running copy



#  ps -aux|grep squid3
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root      2906  0.0  0.1   3040   776 pts/4    R+   22:10   0:00 grep squid3
《解決方案》

#squid -X -d1 -N

2010/01/18 22:17:39.932| command-line -X overrides: ALL,7
2010/01/18 22:17:39.932| aclDestroyACLs: invoked
2010/01/18 22:17:39.932| ACL::Prototype::Registered: invoked for type src
2010/01/18 22:17:39.932| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.932| ACL::FindByName 'all'
2010/01/18 22:17:39.932| ACL::FindByName found no match
2010/01/18 22:17:39.932| aclParseAclLine: Creating ACL 'all'
2010/01/18 22:17:39.932| ACL::Prototype::Factory: cloning an object for type 'src'
2010/01/18 22:17:39.932| aclParseIpData: all
2010/01/18 22:17:39.932| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2010/01/18 22:17:39.933| Processing: 'acl acl_kav_GET method GET'
2010/01/18 22:17:39.933| ACL::Prototype::Registered: invoked for type method
2010/01/18 22:17:39.933| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.933| ACL::FindByName 'acl_kav_GET'
2010/01/18 22:17:39.933| ACL::FindByName found no match
2010/01/18 22:17:39.933| aclParseAclLine: Creating ACL 'acl_kav_GET'
2010/01/18 22:17:39.933| ACL::Prototype::Factory: cloning an object for type 'method'
2010/01/18 22:17:39.933| Processing: 'acl manager proto cache_object'
2010/01/18 22:17:39.933| ACL::Prototype::Registered: invoked for type proto
2010/01/18 22:17:39.933| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.933| ACL::FindByName 'manager'
2010/01/18 22:17:39.933| ACL::FindByName found no match
2010/01/18 22:17:39.933| aclParseAclLine: Creating ACL 'manager'
2010/01/18 22:17:39.933| ACL::Prototype::Factory: cloning an object for type 'proto'
2010/01/18 22:17:39.933| Processing: 'acl localhost src 127.0.0.1/32'
2010/01/18 22:17:39.933| ACL::Prototype::Registered: invoked for type src
2010/01/18 22:17:39.933| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.933| ACL::FindByName 'localhost'
2010/01/18 22:17:39.933| ACL::FindByName found no match
2010/01/18 22:17:39.933| aclParseAclLine: Creating ACL 'localhost'
2010/01/18 22:17:39.933| ACL::Prototype::Factory: cloning an object for type 'src'
2010/01/18 22:17:39.933| aclParseIpData: 127.0.0.1/32
2010/01/18 22:17:39.933| Processing: 'acl to_localhost dst 127.0.0.0/8'
2010/01/18 22:17:39.933| ACL::Prototype::Registered: invoked for type dst
2010/01/18 22:17:39.933| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.933| ACL::FindByName 'to_localhost'
2010/01/18 22:17:39.933| ACL::FindByName found no match
2010/01/18 22:17:39.933| aclParseAclLine: Creating ACL 'to_localhost'
2010/01/18 22:17:39.933| ACL::Prototype::Factory: cloning an object for type 'dst'
2010/01/18 22:17:39.933| aclParseIpData: 127.0.0.0/8
2010/01/18 22:17:39.933| Processing: 'acl SSL_ports port 443'
2010/01/18 22:17:39.933| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.933| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.933| ACL::FindByName 'SSL_ports'
2010/01/18 22:17:39.933| ACL::FindByName found no match
2010/01/18 22:17:39.933| aclParseAclLine: Creating ACL 'SSL_ports'
2010/01/18 22:17:39.933| ACL::Prototype::Factory: cloning an object for type 'port'
2010/01/18 22:17:39.933| Processing: 'acl Safe_ports port 80            # http'
2010/01/18 22:17:39.933| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.933| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.933| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.933| ACL::FindByName found no match
2010/01/18 22:17:39.933| aclParseAclLine: Creating ACL 'Safe_ports'
2010/01/18 22:17:39.933| ACL::Prototype::Factory: cloning an object for type 'port'
2010/01/18 22:17:39.933| Processing: 'acl Safe_ports port 21            # ftp'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 443           # https'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 70            # gopher'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 210           # wais'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 1025-65535    # unregistered ports'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 280           # http-mgmt'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 488           # gss-http'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 591           # filemaker'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl Safe_ports port 777           # multiling http'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type port
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.934| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.934| aclParseAclLine: Appending to 'Safe_ports'
2010/01/18 22:17:39.934| Processing: 'acl CONNECT method CONNECT'
2010/01/18 22:17:39.934| ACL::Prototype::Registered: invoked for type method
2010/01/18 22:17:39.934| ACL::Prototype::Registered:    yes
2010/01/18 22:17:39.935| ACL::FindByName 'CONNECT'
2010/01/18 22:17:39.935| ACL::FindByName found no match
2010/01/18 22:17:39.935| aclParseAclLine: Creating ACL 'CONNECT'
2010/01/18 22:17:39.935| ACL::Prototype::Factory: cloning an object for type 'method'
2010/01/18 22:17:39.935| Processing: 'http_access deny manager localhost'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'manager'
2010/01/18 22:17:39.935| ACL::FindByName 'manager'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'localhost'
2010/01/18 22:17:39.935| ACL::FindByName 'localhost'
2010/01/18 22:17:39.935| Processing: 'http_access deny manager'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'manager'
2010/01/18 22:17:39.935| ACL::FindByName 'manager'
2010/01/18 22:17:39.935| Processing: 'http_access deny !Safe_ports'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'Safe_ports'
2010/01/18 22:17:39.935| ACL::FindByName 'Safe_ports'
2010/01/18 22:17:39.935| Processing: 'http_access deny CONNECT !SSL_ports'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'CONNECT'
2010/01/18 22:17:39.935| ACL::FindByName 'CONNECT'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'SSL_ports'
2010/01/18 22:17:39.935| ACL::FindByName 'SSL_ports'
2010/01/18 22:17:39.935| Processing: 'http_access allow localhost'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'localhost'
2010/01/18 22:17:39.935| ACL::FindByName 'localhost'
2010/01/18 22:17:39.935| Processing: 'http_access  allow all'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.935| ACL::FindByName 'all'
2010/01/18 22:17:39.935| Processing: 'icp_access deny all'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.935| ACL::FindByName 'all'
2010/01/18 22:17:39.935| Processing: 'htcp_access deny all'
2010/01/18 22:17:39.935| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.935| ACL::FindByName 'all'
2010/01/18 22:17:39.935| Processing: 'http_port 3128'
2010/01/18 22:17:39.936| Processing: 'hierarchy_stoplist cgi-bin ?'
2010/01/18 22:17:39.936| Processing: ' cache_dir ufs /var/spool/squid3 100 16 256'
2010/01/18 22:17:39.936| file_map_create: creating space for 16384 files
2010/01/18 22:17:39.936| --> 512 words of 4 bytes each
2010/01/18 22:17:39.936| Processing: ' cache_swap_low 90'
2010/01/18 22:17:39.936| Processing: ' cache_swap_high 95'
2010/01/18 22:17:39.936| Processing: 'access_log /var/log/squid3/access.log squid'
2010/01/18 22:17:39.936| Log definition name 'squid' file '/var/log/squid3/access.log'
2010/01/18 22:17:39.936| Processing: 'cache_store_log none'
2010/01/18 22:17:39.936| Processing: 'refresh_pattern ^ftp:             1440    20%     10080'
2010/01/18 22:17:39.936| Processing: 'refresh_pattern ^gopher:  1440    0%      1440'
2010/01/18 22:17:39.936| Processing: 'refresh_pattern (cgi-bin|\?)      0       0%      0'
2010/01/18 22:17:39.936| Processing: 'refresh_pattern .         0       20%     4320'
2010/01/18 22:17:39.937| Processing: ' visible_hostname = ubunt9-10-server-i386.cn.kaspersky.com'
2010/01/18 22:17:39.937| Processing: 'icp_port 3130'
2010/01/18 22:17:39.937| Processing: 'icap_enable on'
2010/01/18 22:17:39.937| Processing: 'icap_send_client_ip on'
2010/01/18 22:17:39.937| Processing: 'icap_service is_kav_resp respmod_precache 0 icap://localhost:1344/av/respmod'
2010/01/18 22:17:39.937| ICAPService::parseConfigLine (line 4298): is_kav_resp respmod_precache 0
2010/01/18 22:17:39.937| ICAPService::parseConfigLine (line 4298): service is RESPMOD_PRECACHE
2010/01/18 22:17:39.937| Processing: 'icap_service is_kav_req reqmod_precache 0 icap://localhost:1344/av/reqmod'
2010/01/18 22:17:39.937| ICAPService::parseConfigLine (line 4299): is_kav_req reqmod_precache 0
2010/01/18 22:17:39.937| ICAPService::parseConfigLine (line 4299): service is REQMOD_PRECACHE
2010/01/18 22:17:39.937| Processing: 'icap_class ic_kav_resp is_kav_resp'
2010/01/18 22:17:39.937| Processing: 'icap_class ic_kav_req is_kav_req'
2010/01/18 22:17:39.937| Processing: 'icap_access ic_kav_req allow all !acl_kav_GET'
2010/01/18 22:17:39.937| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.937| ACL::FindByName 'all'
2010/01/18 22:17:39.937| aclParseAccessLine: looking for ACL name 'acl_kav_GET'
2010/01/18 22:17:39.937| ACL::FindByName 'acl_kav_GET'
2010/01/18 22:17:39.937| Processing: 'icap_access ic_kav_resp allow all'
2010/01/18 22:17:39.937| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.937| ACL::FindByName 'all'
2010/01/18 22:17:39.937| Processing: 'coredump_dir /var/spool/squid3'
2010/01/18 22:17:39.938| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.938| ACL::FindByName 'all'
2010/01/18 22:17:39.938| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.938| ACL::FindByName 'all'
2010/01/18 22:17:39.938| wccp2_add_service_list: added service id 0
2010/01/18 22:17:39.938| aclParseAccessLine: looking for ACL name 'all'
2010/01/18 22:17:39.938| ACL::FindByName 'all'
2010/01/18 22:17:39.938| acl_access::containsPURGE: invoked for 'http_access deny manager localhost'
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE: can't create tempAcl
2010/01/18 22:17:39.938| acl_access::containsPURGE:   returning false
2010/01/18 22:17:39.938| leave_suid: PID 3172 called
2010/01/18 22:17:39.938| leave_suid: PID 3172 giving up root, becoming 'proxy'
2010/01/18 22:17:39.939| command-line -X overrides: ALL,1
2010/01/18 22:17:39.939| Starting Squid Cache version 3.0.STABLE18 for i486-pc-linux-gnu...
2010/01/18 22:17:39.939| Process ID 3172
2010/01/18 22:17:39.939| With 1024 file descriptors available
2010/01/18 22:17:39.939| Performing DNS Tests...
2010/01/18 22:17:39.939| Successful DNS name lookup tests...
2010/01/18 22:17:39.942| DNS Socket created at 0.0.0.0, port 47796, FD 5
2010/01/18 22:17:39.942| Adding domain cn.kaspersky.com from /etc/resolv.conf
2010/01/18 22:17:39.942| Adding domain cn.kaspersky.com from /etc/resolv.conf
2010/01/18 22:17:39.942| Adding nameserver 77.74.182.2 from /etc/resolv.conf
2010/01/18 22:17:40.218| Unlinkd pipe opened on FD 10
2010/01/18 22:17:40.221| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/01/18 22:17:40.221| Store logging disabled
2010/01/18 22:17:40.221| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
2010/01/18 22:17:40.221| Target number of buckets: 425
2010/01/18 22:17:40.221| Using 8192 Store buckets
2010/01/18 22:17:40.221| Max Mem  size: 8192 KB
2010/01/18 22:17:40.221| Max Swap size: 102400 KB
2010/01/18 22:17:40.222| diskHandleWrite: FD 8: disk write error: (28) No space left on device
FATAL: Write failure -- check your disk space and cache.log
===================
貌似問題出在這裡,但是cache.log 已經清理,現在整個/var/log/squid下的文件都有空
有些文檔上說cache_dir的問題 ,但是我修改了半天還是沒能啟動squid(3128埠)

[火星人 ] squid3突然罷工已經有586次圍觀

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