Are the processes running? `ps aux`? beam / epmd? Can you run `riak console`? Does the console appear?
Are ports (4369, 6000-7999, http, protocol buffers, handoff)? Regards, - Rob On 2012-03-06, at 5:21 PM, Curtis Taylor wrote: > Alright, I am now SSH'd into a private network. I stopped the node and ran: > riak-admin reip riak@127.0.0.1 riak@10.0.0.1 > Attempting to restart script through sudo -u riak > Backed up existing ring file to > "/var/lib/riak/ring/riak_core_ring.default.20120306221347.BAK" > New ring file written to > "/var/lib/riak/ring/riak_core_ring.default.20120306221830" > > then > > riak start > riak-admin status > Node is not running! > > Ideas? > > Thanks again > > > > On Tue, Mar 6, 2012 at 5:05 PM, Aphyr <ap...@aphyr.com> wrote: > First, for security reasons, don't run Riak on a public IP. Access it through > an application proxy, a VPN, or an SSH tunnel if you need. > > Second, when you change the name of a node, you need to run > > riak-admin reip r...@my.old.ip r...@my.new.ip > > ... to update the ring file with the new node name. Only change the name and > reip when the node is not running. You can also just delete > /var/lib/riak/ring if you don't care about the data on the node. > > --Kyle > > > On 03/06/2012 02:02 PM, Curtis Taylor wrote: > All, > > Ubuntu versions 10.10 and 11.10. > > I'm new to Riak, but I have two machines with public IP addresses. I > installed started to install Riak from source but work blocks ports for > Git so I installed via Debian package: > wget http://downloads.basho.com/riak/riak-1.1.0/riak_1.1.0-1_i386.deb > > After installing on both machines I was able to do: > riak start > riak-admin status > riak stop > > with no issues. I wanted to cluster these two machines machines together > so I found I need to edit vm.args and app.config. In vm.args I changed > -name riak@127.0.0.1 <mailto:riak@127.0.0.1> > to > -name riak@1.2.3.4 <mailto:riak@1.2.3.4> (my public IP) > > > and in app.config I changed under riak_core > {http, [ {"127.0.0.1", 8098 } ]}, > to > {http, [ {"0.0.0.0", 8098 } ]}, > > and under riak_kv > {pb_ip, "127.0.0.1" }, > to > {pb_ip, "0.0.0.0" }, > > I think try > riak start > Riak failed to start within 15 seconds, > see the output of 'riak console' for more information. > If you want to wait longer, set the environment variable > WAIT_FOR_ERLANG to the number of seconds to wait. > > I've adjusted WAIT_FOR_ERLANG, but to no avail. Now, an interesting > point is that if I stop riak and change everything back to default, riak > will start successfully but riak-admin tools fail (saying node not > running). I have no idea where I'm going wrong. I'm not completely sure > on the riak cookie but it's the same on both machines. I've experience > the same behavior on 4 machines. Two on a private network, two on public > network. > > Any help is appreciated. > Thanks > > > > > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com