{"id":57,"date":"2013-02-21T22:06:02","date_gmt":"2013-02-21T13:06:02","guid":{"rendered":"http:\/\/blog.grandaria.com\/?p=57"},"modified":"2013-02-21T22:06:02","modified_gmt":"2013-02-21T13:06:02","slug":"squid%e3%81%ae%e3%81%a1%e3%82%87%e3%81%84%e3%83%8f%e3%83%9e%e3%82%8a%ef%bc%8b%e3%83%95%e3%83%83%e3%82%bf%e6%b6%88%e3%81%97","status":"publish","type":"post","link":"https:\/\/blog.grandaria.com\/?p=57","title":{"rendered":"squid\u306e\u3061\u3087\u3044\u30cf\u30de\u308a\uff0b\u30d5\u30c3\u30bf\u6d88\u3057"},"content":{"rendered":"<p>\u3044\u304f\u3089squid\u3092\u8d77\u52d5\u3057\u3066\u3082\u3059\u3050\u843d\u3061\u308b\u3002<\/p>\n<p>\u305d\u306e\u89e3\u6c7a\u6cd5\u3002\u3042\u3063\u3061\u3053\u3063\u3061\u306b\u304b\u3044\u3066\u3042\u308a\u307e\u3059\u3051\u3069\u306d\uff01<\/p>\n<p>\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u305f\u3068\u304d\u306e\u30a8\u30e9\u30fc\u753b\u9762\u3002<\/p>\n<p>\u30d5\u30c3\u30bf\u306e\u6d88\u3057\u65b9\u3002\u6d77\u5916\u30b5\u30a4\u30c8\u306e\u3092\u66f8\u3044\u305f\u3060\u3051\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30e1\u30e2\u4ee3\u308f\u308a\u3002<\/p>\n<p><!--more--><\/p>\n<p>OS\u306fUbuntu11.10\u3002<\/p>\n<p>\u307e\u305asquid\u3092\u3044\u304f\u3089\u8d77\u52d5\u3057\u3066\u3082\u843d\u3061\u308b\u4ef6\u3002<\/p>\n<p>syslog\u3092\u898b\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>Feb 21 19:36:02 ******** squid[893]: storeUfsDirOpenSwapLog: Failed to open swap log.<\/p><\/blockquote>\n<p>\u307b\u304b\u306e\u30b5\u30a4\u30c8\u3060\u3068\u3001\u3053\u308c\u306e\u4e0a\u306bPermission Denied\u3063\u3066\u3044\u3046\u30ed\u30b0\u3082\u4e00\u7dd2\u306b\u3067\u3066\u308b\u3063\u307d\u3044\u3051\u3069\u50d5\u306e\u5834\u5408\u306f\u51fa\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u305f\u3060\u3001\u57fa\u672c\u7684\u306b\u306f\u3069\u3053\u3082\u540c\u3058\u3067\u3001swap\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u3051\u3066\u3044\u306a\u3044\u3001\u3068\u306e\u3053\u3068\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e0b\u8a18\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b<strong>swap.state<\/strong>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>coredump_dir \/var\/spool\/squid<\/p><\/blockquote>\n<p>\u3053\u306e\u30c7\u30fc\u30bf\u306fsquid.conf\u5185\u306b\u63cf\u304b\u308c\u3066\u307e\u3059\u3002<\/p>\n<p>\u306a\u3044\u5834\u5408\u3082\u3042\u308b\u2026\u2026\u3068\u601d\u3044\u307e\u3059\u304c\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e0b\u8a18\u304c\u6b63\u5e38\u306a\u72b6\u614b\u306e\u6642\u306e\u30d5\u30a1\u30a4\u30eb\u72b6\u614b\u3067\u3059\u3002<\/p>\n<blockquote><p>-rw-r&#8212;&#8211;\u00a0\u00a0 1 proxy proxy\u00a0 423288 2013-02-21 20:30 swap.state<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u50d5\u306e\u5834\u5408\u306f\u3053\u308c\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>-rw-r&#8212;&#8211;\u00a0\u00a0 1 root root\u00a0 423288 2013-02-21 20:30 swap.state<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>proxy\u306b\u30e6\u30fc\u30b6\u3068\u30b0\u30eb\u30fc\u30d7\u3092chown\u3057\u3066\u6b63\u5e38\u306b\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u25cbfooter\u6d88\u3059\u3068\u304d<\/p>\n<p>\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u307e\u3063\u3061\u308d\u306b\u3057\u305f\u3044\u3093\u3067\u3059\u304c\u3001\u8a2d\u5b9a\u3044\u308c\u3066\u3001errors\u30d5\u30a9\u30eb\u30c0\u306eERR_ACCESS_DENIED\u3092\u7a7a\u3063\u307d\u306b\u3057\u3066\u3082\u30d5\u30c3\u30bf\u30fc\u3060\u3051\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3001\u518d\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001apt-get\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u6539\u3081\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>Techs Palace\u3000\uff5eRemove Squid footer completely\uff5e<\/p>\n<p>http:\/\/techspalace.blogspot.jp\/2008\/01\/remove-squid-footer.html<\/p><\/blockquote>\n<p>\u3053\u306e\u30b5\u30a4\u30c8\u306b\u82f1\u8a9e\u3067\u66f8\u304b\u308c\u3066\u307e\u3059\u3002<\/p>\n<p>\u3056\u3063\u304f\u308a\u65e5\u672c\u8a9e\u306b\u76f4\u3057\u3066\u81ea\u5206\u7528\u306b\u30e1\u30e2\u306e\u3053\u3057\u3002<\/p>\n<p>\uff11\uff0esquid\u306etar.gz\u3092\u89e3\u51cd\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3078<\/p>\n<p>\uff12\uff0e\u539f\u672c\u30b3\u30d4\u30fc\u3092\u53d6\u308b\uff08cp errorpage.c errorpage.c.bkp)<\/p>\n<p>\uff13\uff0e\u30b3\u30f3\u30d1\u30a4\u30eb\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u524a\u9664\uff08rm errorpage.o\uff09<\/p>\n<p>\uff14\uff0eerrorpage.c\u3092\u7de8\u96c6\uff08vim errorpage.c\uff09<\/p>\n<p>\uff15\uff0e<strong>&#8220;Generated %T by %h (%s)\\n&#8221;<\/strong>\u306e\u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\uff08\u884c\u982d\u306b\/\/\u3064\u3051\u308b\uff09<\/p>\n<p>\uff16\uff0e\u4e0a\u66f8\u304d\u4fdd\u5b58<\/p>\n<p>\uff17\uff0e.\/configure<\/p>\n<p>\uff18\uff0emake clean\u3000\u2192\u3000make\u3000\u2192\u3000make all\u3000\u2192\u3000make install<\/p>\n<p>\uff19\uff0esquid\u3092\u505c\u6b62\uff08service squid stop\uff09<\/p>\n<p>\uff11\uff10\uff0esquid\u3092\u518d\u958b\uff08service squid start\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>restart\u3067\u3044\u3044\u3058\u3083\u3093\u306d\u2026\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3067\u3044\u3044\u3089\u3057\u3044\u3067\u3059\u3002\u307e\u3060\u3084\u3063\u3066\u306a\u3044\u306e\u3067\u4eca\u5ea6\u3084\u3063\u3066\u307f\u306a\u3044\u3068\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3044\u304f\u3089squid\u3092\u8d77\u52d5\u3057\u3066\u3082\u3059\u3050\u843d\u3061\u308b\u3002 \u305d\u306e\u89e3\u6c7a\u6cd5\u3002\u3042\u3063\u3061\u3053\u3063\u3061\u306b\u304b\u3044\u3066\u3042\u308a\u307e\u3059\u3051\u3069\u306d\uff01 \u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u305f\u3068\u304d\u306e\u30a8\u30e9\u30fc\u753b\u9762\u3002 \u30d5\u30c3\u30bf\u306e\u6d88\u3057\u65b9\u3002\u6d77\u5916\u30b5\u30a4\u30c8\u306e\u3092\u66f8\u3044\u305f\u3060\u3051\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30e1\u30e2\u4ee3\u308f\u308a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=\/wp\/v2\/posts\/57"}],"collection":[{"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=57"}],"version-history":[{"count":1,"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=\/wp\/v2\/posts\/57\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.grandaria.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}