Thanks that was the solution 

Marcel 

Am 30.01.2012 um 16:33 schrieb Sean Cribbs:

> Marcel,
> 
> It looks like you have a screwed up ring. You have two nodes joining and no 
> valid nodes, meaning the one owning the original ring is gone (not even just 
> down, but nonexistent). You probably started a node, changed its node name in 
> vm.args and then restarted it. Because the ring has already been written, it 
> thinks the new node name owns 0 partitions, while the one that it was before, 
> owns them all.
> 
> To fix both of these problems, you need to stop all nodes, delete the ring 
> files (on Linux, /var/lib/riak/ring/*), start them back up, and rejoin them.
> 
> On Mon, Jan 30, 2012 at 10:15 AM, Marcel Müller <[email protected]> 
> wrote:
> hi Sean, 
> 
> [root@prd-uk-ras-002 ~]# riak-admin member_status
> Attempting to restart script through sudo -u riak
> ================================= Membership 
> ==================================
> Status     Ring    Pending    Node
> -------------------------------------------------------------------------------
> joining     0.0%      --      '[email protected]'
> joining     0.0%      --      '[email protected]'
> -------------------------------------------------------------------------------
> Valid:0 / Leaving:0 / Exiting:0 / Joining:2 / Down:0
> 
> [root@prd-uk-ras-002 ~]# riak-admin ring_status
> Attempting to restart script through sudo -u riak
> ================================== Claimant 
> ===================================
> Claimant:  '[email protected]'
> Status:     down
> Ring Ready: unknown
> 
> ============================== Ownership Handoff 
> ==============================
> No pending changes.
> 
> ============================== Unreachable Nodes 
> ==============================
> The following nodes are unreachable: ['[email protected]']
> 
> WARNING: The cluster state will not converge until all nodes
> are up. Once the above nodes come back online, convergence
> will continue. If the outages are long-term or permanent, you
> can either mark the nodes as down (riak-admin down NODE) or
> forcibly remove the nodes from the cluster (riak-admin
> force-remove NODE) to allow the remaining nodes to settle.
> [root@prd-uk-ras-002 ~]# 
> 
> Thanks
> Marcel 
> 
> Am 30.01.2012 um 16:04 schrieb Sean Cribbs:
> 
>> Marcel,
>> 
>> What is the output of `riak-admin member_status` and `riak-admin 
>> ring_status`?
>> 
>> On Mon, Jan 30, 2012 at 10:02 AM, Marcel Müller <[email protected]> 
>> wrote:
>> Hi,
>> 
>> i had install riak via rpm -i riak-1.0.3-1.el5.x86_64.rpm.
>> Start riak without any problems. Cool !
>> 
>> When i try to insert something via PUT:
>> 
>> [prd-uk-ras-002 ~]# curl -v -X PUT -d 'data1' 
>> http://10.10.13.4:8098/buckets/persons/keys/bosse
>> * About to connect() to 10.10.13.4 port 8098
>> *   Trying 10.10.13.4... connected
>> * Connected to 10.10.13.4 (10.10.13.4) port 8098
>> > PUT /buckets/persons/keys/bosse HTTP/1.1
>> > User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 
>> > OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
>> > Host: 10.10.13.4:8098
>> > Accept: */*
>> > Content-Length: 5
>> > Content-Type: application/x-www-form-urlencoded
>> >
>> > data1HTTP/1.1 500 Internal Server Error
>> < Vary: Accept-Encoding
>> < Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
>> < Date: Mon, 30 Jan 2012 14:57:36 GMT
>> < Content-Type: text/plain
>> < Content-Length: 22
>> Error:
>> all_nodes_down
>> * Connection #0 to host 10.10.13.4 left intact
>> * Closing connection #0
>> 
>> I receive the error: all_nodes_down
>> 
>> but risk-admin status told me
>> 
>> nodename : '[email protected]'
>> connected_nodes : ['[email protected]','[email protected]']
>> sys_driver_version : <<"1.5">>
>> sys_global_heaps_size : 0
>> sys_heap_type : private
>> sys_logical_processors : 1
>> sys_otp_release : <<"R14B03">>
>> sys_process_count : 223
>> sys_smp_support : false
>> sys_system_version : <<"Erlang R14B03 (erts-5.8.4) [source] [64-bit] [rq:1] 
>> [async-threads:64] [hipe] [kernel-poll:true]">>
>> sys_system_architecture : <<"x86_64-unknown-linux-gnu">>
>> sys_threads_enabled : true
>> sys_thread_pool_size : 64
>> sys_wordsize : 8
>> ring_members : ['[email protected]','[email protected]']
>> 
>> Can you help me ? What is wrong ?
>> 
>> Thanks
>> Marcel
>> 
>> 
>> 
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>> 
>> 
>> 
>> -- 
>> Sean Cribbs <[email protected]>
>> Software Engineer
>> Basho Technologies, Inc.
>> http://basho.com/
>> 
> 
> 
> 
> 
> -- 
> Sean Cribbs <[email protected]>
> Software Engineer
> Basho Technologies, Inc.
> http://basho.com/
> 

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to