On 8 March 2017 at 08:40, Jurgen Ramaliu <jurgenrama...@gmail.com> wrote:
> Hello, > > I have two questions : > > *1.* > > Problem with Riak KV installation Bitcask. I try this link to install > Bitcask on Riak KV: > > http://docs.basho.com/riak/kv/2.2.0/setup/planning/backend/bitcask/ > > And when I go on step > Bitcask Database Files > <http://docs.basho.com/riak/kv/2.2.0/setup/planning/backend/bitcask/#bitcask-database-files> > > I try to do this command : > curl -XPUT http://localhost:8098/types/default/buckets/test/keys/test \ > -H "Content-Type: text/plain" \ -d "hello > > I receive this error : > > *curl: (6) Couldn't resolve host ' -H'* > *curl: (6) Couldn't resolve host 'Content-Type: text'* > *curl: (6) Couldn't resolve host ' -d'* > *curl: (6) Couldn't resolve host 'hello'* > *<html><head><title>500 Internal Server > Error</title></head><body><h1>Internal Server Error</h1>The server > encountered an error while processing this > request:<br><pre>{error,function_clause}</pre><P><HR><ADDRESS>mochiweb+webmachine > web server</ADDRESS></body></html>* > Hi Jurgen, I am not sure what causes this issue on your machine, but it may be due to a copy and paste error. Please try putting the entire command onto one line in the shell, like this: curl -XPUT http://localhost:8098/types/default/buckets/test/keys/test -H "Content-Type: text/plain" -d "hello" > > > *2.* > > Activation bucket type problem. > I have create bucket-type hello and i can't activte it. > When I try to activate it with command :* riak-admin bucket-type activate > hello* , I receive this message : '*hello has been created but cannot be > activated yet'* > > > > Attached are screen shots. > Can you please give to me one solution to resolve those problems? > Please ensure that all nodes in the cluster are up. Before a bucket type can be activated, it must have been distributed to all nodes. Kind Regards, Magnus -- Magnus Kessler Client Services Engineer Basho Technologies Limited Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com