Hi.

Indeed that was the issue. I deleted the file .erlang and I can now start the 
riak nodes.
The message " Running Erlang ok " was also coming from the .erlang file.

Thank you.


-Mohamed



-----Original Message-----
From: Bryan Fink [mailto:[email protected]] 
Sent: Thursday, December 20, 2012 9:57 AM
To: Chenini, Mohamed
Cc: riak-users; Evan Vigil-McClanahan
Subject: Re: Getting Error reading 
/home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

On Wed, Dec 19, 2012 at 6:01 PM, Evan Vigil-McClanahan <[email protected]> 
wrote:
> For some reason your version of erlang is printing the string "Running
> Erlang" every time it starts.   It doesn't normally do this.
>
> I am not sure where this error is coming from, as it doesn't seem to 
> be a normal part of starting erlang.
>
> On Wed, Dec 19, 2012 at 5:30 PM, Chenini, Mohamed <[email protected]> wrote:
>> I installed Erlang R15B03 and re-installed riak but I am still seeing 
>> the same error when I start a riak node:
>>
>> ~/riak-1.2.1/dev> dev1/bin/riak start Error reading 
>> /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config
>> Running Erlang ok

Hi, Chenini. Do you happen to have a ".erlang" file in your home directory? I 
know there are some tutorials that have the reader create this file early on, 
but then quickly forget it. The content of that file is run every time the 
Erlang VM starts, and this has been known to cause problems with Riak startup.

http://erlang.org/doc/man/erl.html#configuration

-Bryan
====================
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