Reputation: 6168
I had installed RiakDB using this document.
After installation i tried to start the Riak using the following command. But its giving some error.
sudo riak start
###Error
!!!!
!!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
!!!!
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.
os - 12.04 LTS ubuntu
riak - 1.4.6
I am new to riak.
Any help will be great.
Upvotes: 0
Views: 1250
Reputation: 9637
Please see this document for the necessary changes to limits.conf
and other files to increase the open files limit for the riak
user.
In order to determine why Riak hasn't started on your server, you'll have to investigate the contents of the various log files in /var/log/riak
. I suspect you'll find a relevant error message in console.log
or erlang.log
. If you could post additional information to your original question, that could help me diagnose the issue.
Upvotes: 1