Re: [Kai-users-ja] Failed to write?
Kai is a distributed key-value datastore
Status: Beta
Brought to you by:
takemaru
From: Tomoya H. <tom...@gm...> - 2009-07-14 08:30:21
|
橋本です。 configの内容はどうなっているでしょうか。差し支えない範囲で教えてもらえると有益なアドバイスがもらえるかと思います。 あとは、iptablesやSELinuxが邪魔しているのかもしれません。 2009/07/14 15:30 に Masaki SAWAMURA<mas...@gm...> さんは書きました: > はじまめて。澤村です。 > > gihyo.jpの記事を見ながらKaiをためしているのですが、 > うまく動かなくて困っています。 > > 現象としてはkaiの起動には成功するのですが、 > 書き込みを行おうとするとfailed to writeといったエラーになっています。 > > 参考にしているのは下記のページです。 > http://gihyo.jp/dev/feature/01/kai/0002?page=2 > > 何かヒントいただけると幸いです。 > よろしくおねがいします > > > > $ erl -pa ebin -config kai -kai n 1 -kai r 1 -kai w 1 -eval > 'application:start(kai).' > Erlang R13B01 (erts-5.7.2) [source] [rq:1] [async-threads:0] [hipe] > [kernel-poll:false] > > Eshell V5.7.2 (abort with ^G) > 1> 2009-07-14 15:24:31.313725 [info] (<0.42.0>) ./kai_hash.erl:181: {update, > [{{{172,22, > 148,152}, > 11011}, > > [{virtual_nodes, > 128}]}], > []} > 2009-07-14 15:24:40.061078 [warning] (<0.113.0>) > ./kai_coordinator.erl:30: "route(\"foo\"): timeout" > 2009-07-14 15:24:40.061174 [warning] (<0.113.0>) > ./kai_memcache.erl:158: "send_error_and_close/2: \"Failed to write.\"" > 2009-07-14 15:24:40.062005 [warning] (<0.133.0>) > ./kai_coordinator.erl:168: "gather_in_put/3: timeout" > 2009-07-14 15:24:41.053788 [warning] (<0.135.0>) > ./kai_coordinator.erl:117: "gather_in_get/4: timeout" > 2009-07-14 15:24:41.053890 [warning] (<0.114.0>) > ./kai_coordinator.erl:30: "route(\"foo\"): timeout" > 2009-07-14 15:24:41.053957 [warning] (<0.114.0>) > ./kai_tcp_server_acceptor.erl:54: "accept(kai_memcache) > {error,badarith}" > 2009-07-14 15:24:42.056424 [warning] (<0.137.0>) > ./kai_coordinator.erl:210: "gather_in_delete/4: timeout" > 2009-07-14 15:24:42.056542 [warning] (<0.115.0>) > ./kai_coordinator.erl:30: "route(\"foo\"): timeout" > 2009-07-14 15:24:42.056609 [warning] (<0.115.0>) > ./kai_memcache.erl:158: "send_error_and_close/2: > {state,{{172,22,148,152},11011},{3,2,2}}" > 2009-07-14 15:24:42.056703 [warning] (<0.115.0>) > ./kai_tcp_server_acceptor.erl:109: "call_mod(kai_memcache) > {unexpected_result,\n {close,\n > [\"SERVER_ERROR \",\n > {state,{{172,22,148,152},11011},{3,2,2}},\n > \"\\r\\n\"],\n \"Failed to > delete.\"}}" > 2009-07-14 15:24:43.053087 [warning] (<0.139.0>) > ./kai_coordinator.erl:117: "gather_in_get/4: timeout" > 2009-07-14 15:24:43.053164 [warning] (<0.116.0>) > ./kai_coordinator.erl:30: "route(\"foo\"): timeout" > 2009-07-14 15:24:43.053216 [warning] (<0.116.0>) > ./kai_tcp_server_acceptor.erl:54: "accept(kai_memcache) > {error,badarith}" > 2009-07-14 15:24:44.056432 [warning] (<0.141.0>) > ./kai_coordinator.erl:168: "gather_in_put/3: timeout" > 2009-07-14 15:24:44.056516 [warning] (<0.117.0>) > ./kai_coordinator.erl:30: "route(\"baz\"): timeout" > 2009-07-14 15:24:44.056573 [warning] (<0.117.0>) > ./kai_memcache.erl:158: "send_error_and_close/2: \"Failed to write.\"" > 2009-07-14 15:24:45.053091 [warning] (<0.143.0>) > ./kai_coordinator.erl:117: "gather_in_get/4: timeout" > 2009-07-14 15:24:45.053173 [warning] (<0.118.0>) > ./kai_coordinator.erl:30: "route(\"baz\"): timeout" > 2009-07-14 15:24:45.053224 [warning] (<0.118.0>) > ./kai_tcp_server_acceptor.erl:54: "accept(kai_memcache) > {error,badarith}" > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Kai-users-ja mailing list > Kai...@li... > https://lists.sourceforge.net/lists/listinfo/kai-users-ja > |