riak-cs WAITING_FOR_ERLANG
It's a bit like waiting for Godot, who never arrives. I am a riak-cs newbie, and I am stuck at this hurdle. Can someone please point me in the right direction? -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Can't create first user
Hi people. I've seen posts where others have had this same issue, specifically this on the riak_cs issues list - https://github.com/basho/riak_cs/issues/529 Unfortunately the solution is not posted, if there is one. I have followed the instructions to be found here: http://docs.basho.com/riakcs/latest/tutorials/fast-track/Building-a-Local-Test-Environment/ but that didn't help. I am still stuck with the same issue. Help, please? # curl -H 'Content-Type: application/json' -X POST http://localhost:8080/riak-cs/user -v --data '{"email":"guy.mor...@bksv.com", "name":"guy"}' * About to connect() to localhost port 8080 (#0) * Trying 127.0.0.1... connected * Connected to localhost (127.0.0.1) port 8080 (#0) > POST /riak-cs/user HTTP/1.1 > User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o > zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6 > Host: localhost:8080 > Accept: */* > Content-Type: application/json > Content-Length: 45 > < HTTP/1.1 503 Service Unavailable < Vary: Accept < Server: Riak CS < Location: http://localhost:8080/riak-cs/user < Date: Mon, 24 Jun 2013 05:21:13 GMT < Content-Type: application/xml < Content-Length: 192 < * Connection #0 to host localhost left intact * Closing connection #0 ServiceUnavailablePlease reduce your request rate./riak-cs/user -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
leveldb doesn't exist
http://docs.basho.com/riakcs/latest/tutorials/fast-track/Building-a-Local-Test-Environment/ says Change the following line in /etc/riak/app.config {storage_backend, riak_kv_bitcask_backend} to {add_paths, ["/usr/lib64/riak-cs/lib/riak_cs-1.3.1/ebin"]}, {storage_backend, riak_cs_kv_multi_backend}, {multi_backend_prefix_list, [{<<"0b:">>, be_blocks}]}, {multi_backend_default, be_default}, {multi_backend, [ {be_default, riak_kv_eleveldb_backend, [ {max_open_files, 50}, {data_root, "/var/lib/riak/leveldb"} ]}, {be_blocks, riak_kv_bitcask_backend, [ {data_root, "/var/lib/riak/bitcask"} ]} ]}, BUT /var/lib/riak/leveldb does not exist. This is a debian squeeze installation, done via apt-get. Is it problematic if I just run riak-cs with the original config? If not, how do I get leveldb on debian squeeze? regards -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Can't create a user
I am going to s3.myriakcs.com:8000/#/users/new and trying to create a user. I get an error and this appears in /var/log/riak-cs-control/error.log: 2013-06-30 23:01:35.201 [error] <0.10941.0> webmachine error: path="/users" {"create_path not a string",{error,{error,badarg,[{erlang,binary_to_list,[undefined],[]},{riak_cs_control_wm_users,extract_key_id,1,[{file,"src/riak_cs_control_wm_users.erl"},{line,60}]},{riak_cs_control_wm_users,create_path,2,[{file,"src/riak_cs_control_wm_users.erl"},{line,68}]},{webmachine_resource,resource_call,3,[{file,"src/webmachine_resource.erl"},{line,183}]},{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,141}]},{webmachine_decision_core,resource_call,1,[{file,"src/webmachine_decision_core.erl"},{line,48}]},{webmachine_decision_core,decision,1,[{file,"src/webmachine_decision_core.erl"},{line,440}]},{webmachine_decision_core,handle_request,2,[{file,"src/webmachine_decision_core.erl"},{line,33}]}]}}} Any ideas? -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Riak-CS-Control
Also, I just found this - riak-cs-control... None of the install/config documents I saw previously mentioned it, or that it should be configured, or how. It seems to control the web interface referred to in my last email... Where is the most up-to-date info about Riak CS and how to set it up? I am trying to set it up on Debian squeeze and I'm still floundering. I seem very close to having it working, but not quite. It's a bit frustrating! Is it just me, or is it complex to get working? -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: Can't create a user
Is there anyone you know in Melbourne Australia who might be able to help us? I'm sure all my issues are config related, and maybe exacerbated by the fact that I am setting up a single node and the docs seem often to assume you have more than one? So it gets confusing how it should be configured, just to get started with a single node. -- Guy Morton Web Development Manager Brüel & Kjær EMS From: Christopher Meiklejohn [cmeiklej...@basho.com] Sent: Monday, 1 July 2013 4:17 PM To: Guy Morton Cc: riak-users@lists.basho.com Subject: Re: Can't create a user Eek, that's no good. It appears that we should have better error handling for this. My first thought is that the proxy is not configured for your Riak CS hostname in the riak-cs-control configuration file. Can you verify that the app.config contains the same proxy configuration as the app.config for your Riak CS installation? http://docs.basho.com/riakcs/latest/references/appendices/RiakCS-Control/ - Chris -- Christopher Meiklejohn Software Engineer Basho Technologies, Inc. On Monday, July 1, 2013 at 2:11 AM, Guy Morton wrote: > I am going to s3.myriakcs.com:8000/#/users/new > (http://s3.myriakcs.com:8000/#/users/new) and trying to create a user. I get > an error and this appears in /var/log/riak-cs-control/error.log: > > 2013-06-30 23:01:35.201 [error] <0.10941.0> webmachine error: path="/users" > {"create_path not a > string",{error,{error,badarg,[{erlang,binary_to_list,[undefined],[]},{riak_cs_control_wm_users,extract_key_id,1,[{file,"src/riak_cs_control_wm_users.erl"},{line,60}]},{riak_cs_control_wm_users,create_path,2,[{file,"src/riak_cs_control_wm_users.erl"},{line,68}]},{webmachine_resource,resource_call,3,[{file,"src/webmachine_resource.erl"},{line,183}]},{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,141}]},{webmachine_decision_core,resource_call,1,[{file,"src/webmachine_decision_core.erl"},{line,48}]},{webmachine_decision_core,decision,1,[{file,"src/webmachine_decision_core.erl"},{line,440}]},{webmachine_decision_core,handle_request,2,[{file,"src/webmachine_decision_core.erl"},{line,33}]}]}}} > > Any ideas? > > -- > Guy Morton > Web Development Manager > Brüel & Kjær EMS > This e-mail is confidential and may be read, copied and used only by the > intended recipient. If you have received it in error, please contact the > sender immediately by return e-mail. Please then delete the e-mail and do not > disclose its contents to any other person. > > ___ > riak-users mailing list > riak-users@lists.basho.com (mailto:riak-users@lists.basho.com) > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: Riak-CS-Control
Hi Chris The video didn't include any information that I hadn't figured out. My problem is that I can't get it to work. I get the nice riak-cs admin page in my browser on port 8000 but it shows no users (perhaps reasonable because I only have succeeded in creating a single user so far - the admin user) and the create user function fails (with the error previously mentioned). I've sent you my config files, though since then I've tried what feels like a thousand variants all to no avail. If the config is wrong enough riak-cs won't start, and when it does I can't do a thing. I'm sure Riak cs is a great product, once it's set up! I just don't seem to be able to get over that hurdle. -- Guy Morton Web Development Manager Brüel & Kjær EMS From: Christopher Meiklejohn [cmeiklej...@basho.com] Sent: Monday, 1 July 2013 4:26 PM To: Guy Morton Cc: riak-users@lists.basho.com Subject: Re: Riak-CS-Control Hi Guy, Here is a good video introduction to configuring Riak CS Control: http://basho.com/getting-started-with-riak-cs-control/ Let me know if you run into any specific issues and I'm happy to help. I'm also lurking in the #riak room on Freenode (nick: cmeiklejohn) if you need further help (any of us should be able to!) - Chris -- Christopher Meiklejohn Software Engineer Basho Technologies, Inc. On Monday, July 1, 2013 at 2:14 AM, Guy Morton wrote: > Also, I just found this - riak-cs-control... None of the install/config > documents I saw previously mentioned it, or that it should be configured, or > how. It seems to control the web interface referred to in my last email... > > Where is the most up-to-date info about Riak CS and how to set it up? I am > trying to set it up on Debian squeeze and I'm still floundering. I seem very > close to having it working, but not quite. It's a bit frustrating! Is it just > me, or is it complex to get working? > > -- > Guy Morton > Web Development Manager > Brüel & Kjær EMS > This e-mail is confidential and may be read, copied and used only by the > intended recipient. If you have received it in error, please contact the > sender immediately by return e-mail. Please then delete the e-mail and do not > disclose its contents to any other person. > > ___ > riak-users mailing list > riak-users@lists.basho.com (mailto:riak-users@lists.basho.com) > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: Can't create first user
Hi Hector, I successfully created the admin user after fixing the riak/app.config to use the proper backend, but I am still struggling to configure the system to work properly. What I need to know is what IPs should I be using for each component when all components are running on a single machine? Ie, it's a single node at this stage. I also want to be able to access the riak-cs services (the riak-cs-control UI etc) from a web browser on another machine, create buckets, store files etc. The documentation is very confusing on this point. This seems like it would be a common first use case for people testing RiakCS out, and I can't figure out how to make it work. Do I need to use SSL? What is the difference between using 127.0.0.1 and the external IP on the machine in the config files? Sometimes using the external IP seems to make the system non-functional. It's also confusing as to when host names (eg s3.blah.com) are the right choice and when IPs are. A clear bit of documentation showing how to set up this particular use case would be very helpful! Thanks. -- Guy Morton Web Development Manager Brüel & Kjær EMS From: Hector Castro [hec...@basho.com] Sent: Tuesday, 25 June 2013 12:17 AM To: Guy Morton Cc: Riak Users Mailing List [riak-users@lists.basho.com] Subject: Re: Can't create first user On Mon, Jun 24, 2013 at 1:33 AM, Guy Morton wrote: > Hi people. I've seen posts where others have had this same issue, > specifically this on the riak_cs issues list - > https://github.com/basho/riak_cs/issues/529 > > Unfortunately the solution is not posted, if there is one. I have followed > the instructions to be found here: > http://docs.basho.com/riakcs/latest/tutorials/fast-track/Building-a-Local-Test-Environment/ > but that didn't help. I am still stuck with the same issue. The 3 most common causes of Riak CS installation issues I've seen so far: * Riak's `app.config` is not configured with the proper backend [0] * `anonymous_user_creation` is not set to `true` in the Riak CS `app.config` [1] * `stanchion_ip` is misconfigured in either the Riak CS or Stanchion `app.config` [2] [3] My recommendation would be to check these, and after restarting all of the services, test that they're up using: sudo riak ping sudo riak-cs ping sudo stanchion ping [0] http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Riak/#Setting-up-the-Proper-Riak-Backend [1] http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Riak-CS/#Specifying-the-Admin-User [2] http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Riak-CS/#Specifying-the-Stanchion-Node [3] http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Stanchion/#Specifying-the-Stanchion-IP-Address-and-Port > Help, please? > > # curl -H 'Content-Type: application/json' -X POST > http://localhost:8080/riak-cs/user -v --data '{"email":"guy.mor...@bksv.com", > "name":"guy"}' > * About to connect() to localhost port 8080 (#0) > * Trying 127.0.0.1... connected > * Connected to localhost (127.0.0.1) port 8080 (#0) >> POST /riak-cs/user HTTP/1.1 >> User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o >> zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6 >> Host: localhost:8080 >> Accept: */* >> Content-Type: application/json >> Content-Length: 45 >> > < HTTP/1.1 503 Service Unavailable > < Vary: Accept > < Server: Riak CS > < Location: http://localhost:8080/riak-cs/user > < Date: Mon, 24 Jun 2013 05:21:13 GMT > < Content-Type: application/xml > < Content-Length: 192 > < > * Connection #0 to host localhost left intact > * Closing connection #0 > encoding="UTF-8"?>ServiceUnavailablePlease > reduce your request > rate./riak-cs/user > > -- > Guy Morton > Web Development Manager > Brüel & Kjær EMS > > This e-mail is confidential and may be read, copied and used only by the > intended recipient. If you have received it in error, please contact the > sender immediately by return e-mail. Please then delete the e-mail and do not > disclose its contents to any other person. > ___ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: Riak-CS-Control
Done, and all apps restarted. No difference. Here's what I get in the logs: 2013-07-02 17:32:53.578 [error] <0.12662.0> webmachine error: path="/users" {"create_path not a string",{error,{error,badarg,[{erlang,binary_to_list,[undefined],[]},{riak_cs_control_wm_users,extract_key_id,1,[{file,"src/riak_cs_control_wm_users.erl"},{line,60}]},{riak_cs_control_wm_users,create_path,2,[{file,"src/riak_cs_control_wm_users.erl"},{line,68}]},{webmachine_resource,resource_call,3,[{file,"src/webmachine_resource.erl"},{line,183}]},{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,141}]},{webmachine_decision_core,resource_call,1,[{file,"src/webmachine_decision_core.erl"},{line,48}]},{webmachine_decision_core,decision,1,[{file,"src/webmachine_decision_core.erl"},{line,440}]},{webmachine_decision_core,handle_request,2,[{file,"src/webmachine_decision_core.erl"},{line,33}]}]}}} -- Guy Morton Web Development Manager Brüel & Kjær EMS ________ From: Christopher Meiklejohn [cmeiklej...@basho.com] Sent: Wednesday, 3 July 2013 12:59 AM To: Guy Morton Cc: riak-users@lists.basho.com Subject: Re: Riak-CS-Control Hi Guy, Can you try changing cs_proxy_host and cs_proxy_port to the same values as cs_hostname and cs_port? Right now, it's configured for localhost and a port that Riak CS is not listening on. I believe you are experiencing the same issue as outlined here: https://github.com/basho/riak_cs_control/issues/31 - Chris -- Christopher Meiklejohn Software Engineer Basho Technologies, Inc. On Tuesday, July 2, 2013 at 3:36 AM, Guy Morton wrote: > Hi Chris > > The video didn't include any information that I hadn't figured out. My > problem is that I can't get it to work. I get the nice riak-cs admin page in > my browser on port 8000 but it shows no users (perhaps reasonable because I > only have succeeded in creating a single user so far - the admin user) and > the create user function fails (with the error previously mentioned). > > I've sent you my config files, though since then I've tried what feels like a > thousand variants all to no avail. If the config is wrong enough riak-cs > won't start, and when it does I can't do a thing. > > I'm sure Riak cs is a great product, once it's set up! I just don't seem to > be able to get over that hurdle. > > -- > Guy Morton > Web Development Manager > Brüel & Kjær EMS > > > From: Christopher Meiklejohn [cmeiklej...@basho.com > (mailto:cmeiklej...@basho.com)] > Sent: Monday, 1 July 2013 4:26 PM > To: Guy Morton > Cc: riak-users@lists.basho.com (mailto:riak-users@lists.basho.com) > Subject: Re: Riak-CS-Control > > Hi Guy, > > Here is a good video introduction to configuring Riak CS Control: > > http://basho.com/getting-started-with-riak-cs-control/ > > Let me know if you run into any specific issues and I'm happy to help. I'm > also lurking in the #riak room on Freenode (nick: cmeiklejohn) if you need > further help (any of us should be able to!) > > - Chris > > -- > Christopher Meiklejohn > Software Engineer > Basho Technologies, Inc. > > > > On Monday, July 1, 2013 at 2:14 AM, Guy Morton wrote: > > > Also, I just found this - riak-cs-control... None of the install/config > > documents I saw previously mentioned it, or that it should be configured, > > or how. It seems to control the web interface referred to in my last > > email... > > > > Where is the most up-to-date info about Riak CS and how to set it up? I am > > trying to set it up on Debian squeeze and I'm still floundering. I seem > > very close to having it working, but not quite. It's a bit frustrating! Is > > it just me, or is it complex to get working? > > > > -- > > Guy Morton > > Web Development Manager > > Brüel & Kjær EMS > > This e-mail is confidential and may be read, copied and used only by the > > intended recipient. If you have received it in error, please contact the > > sender immediately by return e-mail. Please then delete the e-mail and do > > not disclose its contents to any other person. > > > > ___ > > riak-users mailing list > > riak-users@lists.basho.com (mailto:riak-users@lists.basho.com) > > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > > > > > This e-mail is confidential and may be read, copied and used only by the > intended recipient. If you have received it in error, please contact the > sender immediately by retur
RE: Riak-CS-Control
The issue I have is, I think, network/IP config related. I am totally confused as to HOW each app should be configured. Documentation (eg http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/) says configure everything with the IP of the machine the app is running on, but when I do that nothing starts. The only way I can configure it to make it start is using 127.0.0.1. I'm just trying to set up a single node that runs all the apps and is accessible by another machine. It seems a simple use-case but the only documentation I can find doesn't give me any way to make that happen. And it's frustrating, because when it fails it gives no useful pointers as to why, and when it looks like it's sorta working, it still fails to work properly and, again, gives no useful clues as to what's wrong or how to fix it. Tearing my hair out here. -- Guy Morton Web Development Manager Brüel & Kjær EMS From: riak-users [riak-users-boun...@lists.basho.com] on behalf of Toby Corkindale [toby.corkind...@strategicdata.com.au] Sent: Wednesday, 3 July 2013 10:51 AM To: Sean Cribbs Cc: riak-users Subject: Re: Riak-CS-Control On 02/07/13 22:51, Sean Cribbs wrote: > On Tue, Jul 2, 2013 at 5:34 AM, Toby Corkindale > <mailto:toby.corkind...@strategicdata.com.au>> wrote: > > Riak (and Riak CS and Stanchion) all assume some level of competence > at Erlang. I found Riak was tricky to get running, but had picked up > enough knowledge of Erlang's strange syntax and foibles from working > with RabbitMQ. > > > This assumption is EXACTLY why we publish our own binary packages. You > don't need to know Erlang to run Riak, and haven't for years. When you > become an advanced user, yes, it is helpful, but it is not strictly > necessary. This is especially true of CS, and I'd much rather get the > bottom of Guy's problem than quibble about how hard Riak is to use > "because Erlang". Oh, no, I feel you've misunderstood me slightly. I'm not blaming all difficulties upon Erlang - however the way Erlang is used does bring some added complexities to the party that can and will confuse people. In particular, using Erlang syntax for the configuration file, and outputting errors in the same way. The configuration format *is* hard to understand, and it's easy to break it while making what should be simple changes. Have a look at a typical error thrown by Riak or Riak CS -- it's an extremely dense Erlang stack trace. Erlang's clustering requires open networking, or more advanced configuration if using host firewall. Don't misunderstand me -- I kinda like Erlang and have seen some great open source products built upon it. > We are working on exactly these problems, but they are difficult to get > right. Any suggestions on config syntaxes that work well for other > products are appreciated. For now we're looking at a format that > resembles sysctl. Another common one is the Apache-style, eg. Key Value -Toby ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: Riak-CS-Control
root@usidentity02:~# sudo riak console Attempting to restart script through sudo -H -u riak Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot /usr/lib/riak/releases/1.3.2/riak -embedded -config /etc/riak/app.config -pa /usr/lib/riak/lib/basho-patches -args_file /etc/riak/vm.args -- console Root: /usr/lib/riak {error_logger,{{2013,7,2},{18,36,48}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{file,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]} {error_logger,{{2013,7,2},{18,36,48}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.202>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,512}],[]]} {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['riak@10.219.30.12',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} {error_logger,{{2013,7,2},{18,36,48}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]} {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} Crash dump was written to: /var/log/riak/erl_crash.dump Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}) -- Guy Morton Web Development Manager Brüel & Kjær EMS From: Christopher Meiklejohn [cmeiklej...@basho.com] Sent: Wednesday, 3 July 2013 11:35 AM To: Guy Morton Cc: Toby Corkindale; Sean Cribbs; riak-users Subject: Re: Riak-CS-Control Hi Guy, When you say nothing starts, can you provide the output of running something like 'riak console' so we can try to figure out what is happening? - Chris -- Christopher Meiklejohn Software Engineer Basho Technologies, Inc. On Tuesday, July 2, 2013 at 9:32 PM, Guy Morton wrote: > The issue I have is, I think, network/IP config related. > > I am totally confused as to HOW each app should be configured. Documentation > (eg http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/) says > configure everything with the IP of the machine the app is running on, but > when I do that nothing starts. The only way I can configure it to make it > start is using 127.0.0.1. > > I'm just trying to set up a single node that runs all the apps and is > accessible by another machine. It seems a simple use-case but the only > documentation I can find doesn't give me any way to make that happen. > > And it's frustrating, because when it fails it gives no useful pointers as to > why, and when it looks like it's sorta working, it still fails to work > properly and, again, gives no useful clues as to what's wrong or how to fix > it. > > Tearing my hair out here. > > -- > Guy Morton > Web Development Manager > Brüel & Kjær EMS > > > > From: riak-users [riak-users-boun...@lists.basho.com > (mailto:riak-users-boun...@lists.basho.com)] on behalf of Toby Corkindale > [toby.corkind...@strategicdata.com.au > (mailto:toby.corkind...@strategicdata.com.au)] > Sent: Wednesday, 3 July 2013 10:51 AM > To: Sean Cribbs > Cc: riak-users > Subject: Re: Riak-CS-Control > > On 02/07/13 22:51, Sean Cribbs wrote: > > On Tue, Jul 2, 2013 at 5:34 AM, Toby Corkindale > > > (mailto:toby.corkind...@strategicdata.com.au) > > <mailto:toby.corkind...@strategicdata.com.au>> wrote: > > > > Riak (and Riak
Re: Riak-CS-Control
I ran risk stop first. Is there no other possible cause for that error? Sent from my iPad On 03/07/2013, at 11:43 AM, "Christopher Meiklejohn" wrote: > Hi Guy, > > It appears that when you ran 'riak console', you already had an instance of > Riak running. That 'duplicate_name' message means that there is another node > registered with the same name. > > Let's try this: > > 1. Shutdown all copies of Riak. > 2. Configure the Riak app.config file with the desired IP configuration (not > the loopback) > 3. Try starting riak using the 'riak console' command. > > - Chris > > -- > Christopher Meiklejohn > Software Engineer > Basho Technologies, Inc. > > > > On Tuesday, July 2, 2013 at 9:38 PM, Guy Morton wrote: > >> root@usidentity02:~# sudo riak console >> Attempting to restart script through sudo -H -u riak >> Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot >> /usr/lib/riak/releases/1.3.2/riak -embedded -config /etc/riak/app.config -pa >> /usr/lib/riak/lib/basho-patches -args_file /etc/riak/vm.args -- console >> Root: /usr/lib/riak >> {error_logger,{{2013,7,2},{18,36,48}},"Protocol: ~p: register error: >> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{file,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]} >> {error_logger,{{2013,7,2},{18,36,48}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.202>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,512}],[]]} >> {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['riak@10.219.30.12 >> >> (mailto:riak@10.219.30.12)',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} >> {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} >> {error_logger,{{2013,7,2},{18,36,48}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]} >> {"Kernel pid >> terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} >> >> >> >> >> Crash dump was written to: /var/log/riak/erl_crash.dump >> Kernel pid terminated (application_controller) >> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}) >> -- >> Guy Morton >> Web Development Manager >> Brüel & Kjær EMS >> >> >> From: Christopher Meiklejohn [cmeiklej...@basho.com >> (mailto:cmeiklej...@basho.com)] >> Sent: Wednesday, 3 July 2013 11:35 AM >> To: Guy Morton >> Cc: Toby Corkindale; Sean Cribbs; riak-users >> Subject: Re: Riak-CS-Control >> >> Hi Guy, >> >> When you say nothing starts, can you provide the output of running something >> like 'riak console' so we can try to figure out what is happening? >> >> - Chris >> >> -- >> Christopher Meiklejohn >> Software Engineer >> Basho Technologies, Inc. >> >> >> >> On Tuesday, July 2, 2013 at 9:32 PM, Guy Morton wrote: >> >>> The issue I have is, I think, network/IP config related. >>> >>> I am totally confused as to HOW each app should be configured. >>> Documentation (eg >>> http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/) says >>> configure everything with the IP of the machine the app is running on, but >>> when I d
Re: Riak-CS-Control
I've changed it in vm.args as well, as that's what the docs say to do! Sent from my iPad On 03/07/2013, at 12:00 PM, "Christopher Meiklejohn" wrote: > The 'reip' command should only be required when the node name changes, not > when the bind interfaces change. > > If you've only changed the settings in app.config, and not vm.args, this > shouldn't be necessary. > > - Chris > > -- > Christopher Meiklejohn > Software Engineer > Basho Technologies, Inc. > > > > On Tuesday, July 2, 2013 at 9:48 PM, Konstantin Kalin wrote: > >> Would the changing of IP require dropping of the ring-data which had been >> created for "127.0.0.1"? If I remember correctly it will... >> >> Thank you, >> Konstantin. >> >> On Jul 2, 2013, at 6:42 PM, Christopher Meiklejohn wrote: >> >>> Hi Guy, >>> >>> It appears that when you ran 'riak console', you already had an instance of >>> Riak running. That 'duplicate_name' message means that there is another >>> node registered with the same name. >>> >>> Let's try this: >>> >>> 1. Shutdown all copies of Riak. >>> 2. Configure the Riak app.config file with the desired IP configuration >>> (not the loopback) >>> 3. Try starting riak using the 'riak console' command. >>> >>> - Chris >>> >>> -- >>> Christopher Meiklejohn >>> Software Engineer >>> Basho Technologies, Inc. >>> >>> >>> >>> On Tuesday, July 2, 2013 at 9:38 PM, Guy Morton wrote: >>> >>>> root@usidentity02:~# sudo riak console >>>> Attempting to restart script through sudo -H -u riak >>>> Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot >>>> /usr/lib/riak/releases/1.3.2/riak -embedded -config /etc/riak/app.config >>>> -pa /usr/lib/riak/lib/basho-patches -args_file /etc/riak/vm.args -- console >>>> Root: /usr/lib/riak >>>> {error_logger,{{2013,7,2},{18,36,48}},"Protocol: ~p: register error: >>>> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{file,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]} >>>> {error_logger,{{2013,7,2},{18,36,48}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.202>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,512}],[]]} >>>> {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['riak@10.219.30.12 >>>> >>>> (mailto:riak@10.219.30.12)',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} >>>> {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} >>>> {error_logger,{{2013,7,2},{18,36,48}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]} >>>> {"Kernel pid >>>> terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} >>>> >>>> >>>> >>>> >>>> Crash dump was written to: /var/log/riak/erl_crash.dump >>>> Kernel pid terminated (application_controller) >>>> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}) >>>> -- >>>> Guy Morton >>>> Web Development Manager >>>> Brüel & Kjæ
Re: Riak-CS-Control
When's good to catch you on IRC? I'm in a meeting ATM. Sent from my iPad On 03/07/2013, at 11:55 AM, "Christopher Meiklejohn" wrote: > Are you on IRC right now? I'm online and it might be easier to walk through > this. > > - Chris > > -- > Christopher Meiklejohn > Software Engineer > Basho Technologies, Inc. > > > > On Tuesday, July 2, 2013 at 9:46 PM, Guy Morton wrote: > >> I ran risk stop first. Is there no other possible cause for that error? >> >> Sent from my iPad >> >> On 03/07/2013, at 11:43 AM, "Christopher Meiklejohn" > (mailto:cmeiklej...@basho.com)> wrote: >> >>> Hi Guy, >>> >>> It appears that when you ran 'riak console', you already had an instance of >>> Riak running. That 'duplicate_name' message means that there is another >>> node registered with the same name. >>> >>> Let's try this: >>> >>> 1. Shutdown all copies of Riak. >>> 2. Configure the Riak app.config file with the desired IP configuration >>> (not the loopback) >>> 3. Try starting riak using the 'riak console' command. >>> >>> - Chris >>> >>> -- >>> Christopher Meiklejohn >>> Software Engineer >>> Basho Technologies, Inc. >>> >>> >>> >>> On Tuesday, July 2, 2013 at 9:38 PM, Guy Morton wrote: >>> >>>> root@usidentity02:~# sudo riak console >>>> Attempting to restart script through sudo -H -u riak >>>> Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot >>>> /usr/lib/riak/releases/1.3.2/riak -embedded -config /etc/riak/app.config >>>> -pa /usr/lib/riak/lib/basho-patches -args_file /etc/riak/vm.args -- console >>>> Root: /usr/lib/riak >>>> {error_logger,{{2013,7,2},{18,36,48}},"Protocol: ~p: register error: >>>> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{file,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]} >>>> {error_logger,{{2013,7,2},{18,36,48}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.202>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,512}],[]]} >>>> {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['riak@10.219.30.12 >>>> >>>> (mailto:riak@10.219.30.12)',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} >>>> {error_logger,{{2013,7,2},{18,36,48}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} >>>> {error_logger,{{2013,7,2},{18,36,48}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]} >>>> {"Kernel pid >>>> terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} >>>> >>>> >>>> >>>> >>>> Crash dump was written to: /var/log/riak/erl_crash.dump >>>> Kernel pid terminated (application_controller) >>>> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}) >>>> -- >>>> Guy Morton >>>> Web Development Manager >>>> Brüel & Kjær EMS >>>> >>>> >>>> From: Christopher Meiklejohn [cmeiklej...@basho.com >>>> (mailto:cmeiklej...@basho.com)] >>>> Sent
changing riak-cs server hostname
Hi guys I have a riak-cs server I've successfully got working using s3.amazonaws.com as the hostname. I'm using host files to access it form my local machine. What do I need to do to change the hostname? I want to be able to use both Amazon S3 and RiakCS, you see. regards -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: changing riak-cs server hostname
Let me be more specific... %% Instance of Riak CS you wish to talk to. {cs_hostname, "s3.amazonaws.com" }, {cs_port, 8080 }, {cs_protocol, "http" }, %% Proxy information; necessary if you are using s3.amazonaws.com as %% your hostname. {cs_proxy_host, "s3.bksv.com" }, {cs_proxy_port, 8080 }, Now, if I address the machine as s3.amazonaws.com from my local machine (using a hosts file to map that to the RiakCS machine's IP) it works fine. If I try and access it as s3.bksv.com I can list buckets but attempting to open them gets me an access denied response. So I'm a bit confused. -- Guy Morton Web Development Manager Brüel & Kjær EMS From: riak-users [riak-users-boun...@lists.basho.com] on behalf of Guy Morton [guy.mor...@bksv.com] Sent: Tuesday, 9 July 2013 3:54 PM To: riak-users [riak-users@lists.basho.com] Subject: changing riak-cs server hostname Hi guys I have a riak-cs server I've successfully got working using s3.amazonaws.com as the hostname. I'm using host files to access it form my local machine. What do I need to do to change the hostname? I want to be able to use both Amazon S3 and RiakCS, you see. regards -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Riak on SAN
Does this make sense? -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
RE: Riak on SAN
Thanks, that's what I figured. -- Guy Morton Web Development Manager Brüel & Kjær EMS From: Jeremiah Peschka [jeremiah.pesc...@gmail.com] Sent: Wednesday, 2 October 2013 4:18 PM To: Guy Morton Cc: riak-users Subject: Re: Riak on SAN Could you do it? Sure. Should you do it? No. An advantage of Riak is that you can avoid the cost of SAN storage by getting duplication at the machine level rather than rely on your storage vendor to provide it. Running Riak on a SAN also exposes you to the SAN becoming your bottleneck; you only have so many fiber/iSCSI ports and a fixed number of disks. The risk of storage contention is high, too, so you can run into latency issues that are difficult to diagnose without looking into both Riak as well as the storage system. Keeping cost in mind, too, SAN storage is about 10x the cost of consumer grade SSDs. Not to mention feature licensing and support... The cost comparison isn't favorable. Please note: Even though your vendor calls it a SAN, that doesn't mean it's a SAN. On Oct 1, 2013 11:08 PM, "Guy Morton" mailto:guy.mor...@bksv.com>> wrote: Does this make sense? -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com<mailto:riak-users@lists.basho.com> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Consulting
Hi folks We're looking for a (preferably independent) expert who can advise our IT group about Riak and how to setup and configure a smallish cluster, as well as sanity check what we are planning to do with it. If you are interested please email me directly. We're based in Melbourne Australia, so if you're local that would be an advantage. Thanks. -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Errors when trying to store a file > 1MB?
Hi there I have a Riak test system that won't accept a file bigger than 1MB. Have a I misconfigured something? regards -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com