Unfortunately it’s very easy to introduce syntax errors into Erlang 
configuration files (and tricky to diagnose them without Erlang experience), 
which is why we’re moving toward the newer sysctl-style files like riak.conf.

The example in the documentation looks ok; can we see a copy of your 
advanced.config file? Please redact any sensitive information, and I’d suggest 
Pastebin or a GitHub gist.

-John

On Apr 17, 2015, at 7:57 AM, Stanislav Vlasov <stanislav....@gmail.com> wrote:

> I have troubles setting up a test riak node for riak-cs. Here's how to
> reproduce my problem:
> 
> 1) install on Debian 7 riak 2.0.5 and riak 2.0.0 from apt repository
> as in http://docs.basho.com/riak/latest/ops/building/installing/debian-ubuntu/
> and 
> http://docs.basho.com/riakcs/latest/cookbooks/installing/Installing-Riak-CS/
> 2) create advanced.config in /etc/riak as in
> http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Riak/#Setting-up-the-Proper-Riak-Backend
> 
> After that I get an error in advanced.config
> 
> last lines of 'riak config generate -l debug':
> 10:54:47.488 [info] /etc/riak/advanced.config detected, overlaying proplists
> 10:54:47.488 [error] Error parsing /etc/riak/advanced.config: 17:
> syntax error before: ']'
> 
> If i remove last comma in advanced.config, I get another error:
> 
> 10:58:21.398 [info] /etc/riak/advanced.config detected, overlaying proplists
> 10:58:21.399 [error] Error parsing /etc/riak/advanced.config: 17:
> syntax error before:
> 
> I think, it is a bug either in documentation or in config generator
> 
> -- 
> Stanislav
> 
> _______________________________________________
> 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

Reply via email to