{"id":114,"date":"2013-01-17T21:00:45","date_gmt":"2013-01-17T12:00:45","guid":{"rendered":"http:\/\/atmark.ddo.jp\/blog\/?p=114"},"modified":"2013-01-17T21:00:45","modified_gmt":"2013-01-17T12:00:45","slug":"tinytinyrss%e3%81%a8mysql-sock%e3%81%a8lock%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/atmark.pgw.jp\/blog\/server\/web\/114.html","title":{"rendered":"TinyTinyRSS\u3068mysql.sock\u3068lock\u30d5\u30a1\u30a4\u30eb"},"content":{"rendered":"<p><a title=\"RSS\u3068RSS Reader\u3068Android\" href=\"http:\/\/atmark.ddo.jp\/blog\/server\/web\/20.html\">Tiny Tiny RSS\u3092\u5165\u308c\u3066<\/a>\u3001<a title=\"MySQL\u3068php\u3068HDD\" href=\"http:\/\/atmark.ddo.jp\/blog\/centos\/98.html\">MySQL\u306eDB<\/a>\u306e\u5834\u6240\u3092\u5909\u3048\u3066\u3001\u3001\u3001<br \/>\n\u307e\u3067\u304c\u3001\u524d\u56de\u307e\u3067\u306e\u8a71\u3002\u3002\u3002<br \/>\n\u305d\u306e\u5f8c\u3001\u306a\u305c\u304bTiny Tiny RSS\u306edaemon\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3001\u65b0\u3057\u3044feed\u3092\u53d6\u5f97\u3057\u306a\u304f\u306a\u3063\u305f\u306e\u304c\u4eca\u56de\u306e\u8a71\u3002<\/p>\n<blockquote><p>Update daemon is not running<\/p><\/blockquote>\n<p>\u306a\u3093\u3066\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304cTiny Tiny RSS\u306b\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u6700\u521d\u306b\u601d\u3044\u5f53\u305f\u308b\u306e\u304c\u3001\u4f8b\u306b\u3088\u3063\u3066mysql.scok\u30d5\u30a1\u30a4\u30eb\u306e\u6307\u5b9a\u9593\u9055\u3044\u3002<\/p>\n<blockquote><p>define(&#8216;DB_TYPE&#8217;, &#8220;pgsql&#8221;); \/\/ or mysql<br \/>\ndefine(&#8216;DB_HOST&#8217;, &#8220;localhost&#8221;);<br \/>\ndefine(&#8216;DB_USER&#8217;, &#8220;fox&#8221;);<br \/>\ndefine(&#8216;DB_NAME&#8217;, &#8220;fox&#8221;);<br \/>\ndefine(&#8216;DB_PASS&#8217;, &#8220;XXXXXX&#8221;);<br \/>\ndefine(&#8216;DB_PORT&#8217;, &#8220;\/mnt\/ExHDD\/mysql\/mysql.sock&#8221;);<\/p><\/blockquote>\n<p>\u306a\u3093\u3066\u3001\u8a2d\u5b9a\u3082\u3057\u3066\u307f\u305f\u308a\u3057\u307e\u3057\u305f\u304c\u3001\u9055\u304b\u3063\u305f\u3088\u3046\u3067\u3059\u3002\u3002\u3002<br \/>\n(\u3061\u306a\u307f\u306b\u3001\u4e0a\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3082\u52d5\u4f5c\u306b\u306f\u5f71\u97ff\u306a\u3044\u3088\u3046\u3067\u3059)<\/p>\n<p>daemon\u304c\u52d5\u304b\u306a\u3044\u306a\u3089\u3001\u624b\u52d5\u3067daemon\u3092\u52d5\u304b\u3057\u3066\u307f\u3088\u3046!!\u3068\u8a00\u3046\u3053\u3068\u3067\u52d5\u304b\u3057\u3066\u307f\u308b\u3068\u3001\u3001\u3001<\/p>\n<blockquote><p>$php\u00a0update.php -daemon<br \/>\nPHP Warning: fopen(lock\/update_daemon.lock): failed to open stream: Permission denied in \/var\/www\/(html\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)\/include\/functions.php on line 1018<br \/>\nPHP Warning: flock() expects parameter 1 to be resource, boolean given in \/var\/www\/(html\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)\/include\/functions.php on line 1020<br \/>\nerror: Can&#8217;t create lockfile (update_daemon.lock). Maybe another update process is already running.<\/p><\/blockquote>\n<p>lock\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u304b\u3002\u3002\u3002orz<br \/>\n\u3068\u3001\u8a00\u3046\u3053\u3068\u3067lock\/update_daemon.lock\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3002\u3044\u304d\u306a\u308a\u524a\u9664\u306f\u81ea\u5206\u306f\u6016\u304b\u3063\u305f\u306e\u3067\u3001\u79fb\u52d5\u3055\u305b\u3066\u3001\u518d\u5ea6daemon\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001\u3001\u3001<\/p>\n<blockquote><p>php update.php -daemon<br \/>\n[12:40:10] Scheduled 35 feeds to update&#8230;<\/p><\/blockquote>\n<p>\u52d5\u304d\u51fa\u3057\u307e\u3057\u305f\u3002\u3002\u3002<br \/>\n\u304a\u305d\u3089\u304f\u3001MySQL\u306eDB\u79fb\u52d5\u306e\u6642\u306block\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u3001\u305d\u306e\u307e\u307e\u524a\u9664\u3055\u308c\u305a\u306b\u6b8b\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3046\u3060\u306d\u3002MySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u79fb\u52d5\u3055\u305b\u308b\u6642\u304f\u3089\u3044\u3001crond\u306f\u6b62\u3081\u3066\u7f6e\u304f\u3079\u304d\u3060\u3063\u305f\u306d\u3002\u3002\u3002<br \/>\n\u3068\u3001\u8a00\u3046\u96d1\u8a18\u3068\u8a00\u3046\u304b\u899a\u66f8\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tiny Tiny RSS\u3092\u5165\u308c\u3066\u3001MySQL\u306eDB\u306e\u5834\u6240\u3092\u5909\u3048\u3066\u3001\u3001\u3001 \u307e\u3067\u304c\u3001\u524d\u56de\u307e\u3067\u306e\u8a71\u3002\u3002\u3002 \u305d\u306e\u5f8c\u3001\u306a\u305c\u304bTiny Tiny RSS\u306edaemon\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3001\u65b0\u3057\u3044feed\u3092\u53d6\u5f97\u3057\u306a\u304f\u306a\u3063\u305f\u306e\u304c\u4eca\u56de\u306e\u8a71\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":78,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[23,29,39,45],"_links":{"self":[{"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":0,"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/media\/78"}],"wp:attachment":[{"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmark.pgw.jp\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}