Hi Steve,

When I was debugging a previous issue I added dome echo statements and as such 
I introduced this error in the dev/dev1/bin/riak script
I removed the dev1 directory, and ran

~/riak-1.2.1> make devrel

Now I have all nodes running .

I will coninue later with the "Building a Development Environment" tutorial.

u1c332@plun2102:~/riak-1.2.1/dev/dev4/bin> ps aux | grep beam
u1c332     486  4.3  0.4 101836 36044 pts/5    Ssl+ 08:55   0:02 
/home/u1c332/riak-1.2.1/dev/dev2/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev2 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev2/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev2/etc/app.config -pa ./lib/basho-patches -name 
[email protected] -setcookie riak -- console
u1c332     802  7.8  0.4 103140 35176 pts/6    Ssl+ 08:56   0:03 
/home/u1c332/riak-1.2.1/dev/dev3/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev3 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev3/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev3/etc/app.config -pa ./lib/basho-patches -name 
[email protected] -setcookie riak -- console
u1c332    1129 41.2  0.4 101328 35328 pts/7    Ssl+ 08:56   0:03 
/home/u1c332/riak-1.2.1/dev/dev4/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev4 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev4/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev4/etc/app.config -pa ./lib/basho-patches -name 
[email protected] -setcookie riak -- console
u1c332    1367  0.0  0.0   3032   684 pts/0    R+   08:56   0:00 grep beam
u1c332   32513  3.3  0.3  98628 31428 pts/3    Ssl+ 08:54   0:03 
/home/u1c332/riak-1.2.1/dev/dev1/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev1 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev1/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev1/etc/app.config -pa ./lib/basho-patches -name 
[email protected] -setcookie riak - co


Thanks for your help.


Regards,
Mohamed






From: Steve Vinoski [mailto:[email protected]]
Sent: Sunday, December 23, 2012 2:26 PM
To: Chenini, Mohamed
Cc: [email protected]
Subject: Re: Node is already running!


On Sat, Dec 22, 2012 at 10:25 PM, Chenini, Mohamed 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I was able to install Riak, and a few days back I could even start  the 4 nodes.
But now I m am not sure which node is started and which is not.


:~/riak-1.2.1/dev/dev1/bin> ./riak start
/home/u1c332/riak-1.2.1/dev/dev1/et#c
grep: /home/u1c332/riak-1.2.1/dev/dev1/et#c/vm.args: No such file or directory
vm.args needs to have either -name or -sname parameter.

Did you change the dev/dev1/bin/riak script? I'm just wondering why there 
appears to be a '#' character in the vm.args pathname shown above.

~/riak-1.2.1/dev/dev2/bin> ./riak start
Node is already running!

~/riak-1.2.1/dev/dev3/bin> ./riak start
Node is already running!

~/riak-1.2.1/dev/dev4/bin> ./riak start
Node is already running!

:~/riak-1.2.1/dev/dev4/bin> ps aux | grep beam
u1c332    3710  0.0  0.4 101196 36452 pts/6    Ssl+ Dec20   0:44 
/home/u1c332/riak-1.2.1/dev/dev2/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev2 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev2/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev2/etc/app.config -pa ./lib/basho-patches -name 
[email protected]<mailto:[email protected]> -setcookie riak -- console
u1c332    4051  0.0  0.4 102660 37352 pts/7    Ssl+ Dec20   0:42 
/home/u1c332/riak-1.2.1/dev/dev3/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev3 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev3/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev3/etc/app.config -pa ./lib/basho-patches -name 
[email protected]<mailto:[email protected]> -setcookie riak -- console
u1c332   23633  4.8  0.4 103264 35948 pts/3    Ssl+ 22:10   0:02 
/home/u1c332/riak-1.2.1/dev/dev4/erts-5.9.3.1/bin/beam.smp -K true -A 64 -W w 
-- -root /home/u1c332/riak-1.2.1/dev/dev4 -progname riak -- -home /home/u1c332 
-- -boot /home/u1c332/riak-1.2.1/dev/dev4/releases/1.2.1/riak -embedded -config 
/home/u1c332/riak-1.2.1/dev/dev4/etc/app.config -pa ./lib/basho-patches -name 
[email protected]<mailto:[email protected]> -setcookie riak -- console

The three "Node is already running!" messages show that nodes dev2, dev3, and 
dev4 are running, and if you look at the "-name" parts of the ps output, it 
also shows nodes dev2, dev3, and dev4 as running.

--steve
====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to