Re: error starting risk 1.4.2 from prebuilt distro for MacOS
Roman, I have no problems with it: ➜ /tmp wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz 12:12 --2013-09-17 12:12:10-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 207.171.185.200 Connecting to s3.amazonaws.com|207.171.185.200|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: ‘riak-1.4.2-OSX-x86_64.tar.gz’ 100%[===] 27,081,322 1.83MB/s in 13s 2013-09-17 12:12:25 (2.06 MB/s) - ‘riak-1.4.2-OSX-x86_64.tar.gz’ saved [27081322/27081322] ➜ /tmp tar -zxf riak-1.4.2-OSX-x86_64.tar.gz ➜ /tmp cd riak-1.4.2 ➜ riak-1.4.2 ./bin/riak chkconfig config is OK ➜ riak-1.4.2 ./bin/riak start ➜ riak-1.4.2 ./bin/riak ping pong ➜ riak-1.4.2 ./bin/riak stop ok Here is the config file that ships in the package ➜ riak-1.4.2 cat etc/app.config %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ft=erlang ts=4 sw=4 et [ %% Riak Client APIs config {riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connections may grow. If set, it must be an integer = 0. %% By default the value is 5. If you anticipate a huge number of %% connections being initialised *simultaneously*, set this number %% higher. %% {pb_backlog, 64}, %% pb is a list of IP addresses and TCP ports that the Riak %% Protocol Buffers interface will bind. {pb, [ {127.0.0.1, 8087 } ]} ]}, %% Riak Core config {riak_core, [ %% Default location of ringstate {ring_state_dir, ./data/ring}, %% Default ring creation size. Make sure it is a power of 2, %% e.g. 16, 32, 64, 128, 256, 512 etc %{ring_creation_size, 64}, %% http is a list of IP addresses and TCP ports that the Riak %% HTTP interface will bind. {http, [ {127.0.0.1, 8098 } ]}, %% https is a list of IP addresses and TCP ports that the Riak %% HTTPS interface will bind. %{https, [{ 127.0.0.1, 8098 }]}, %% Default cert and key locations for https can be overridden %% with the ssl config variable, for example: %{ssl, [ % {certfile, ./etc/cert.pem}, % {keyfile, ./etc/key.pem} % ]}, %% riak_handoff_port is the TCP port that Riak uses for %% intra-cluster data handoff. {handoff_port, 8099 }, %% To encrypt riak_core intra-cluster data handoff traffic, %% uncomment the following line and edit its path to an %% appropriate certfile and keyfile. (This example uses a %% single file with both items concatenated together.) %{handoff_ssl_options, [{certfile, /tmp/erlserver.pem}]}, %% DTrace support %% Do not enable 'dtrace_support' unless your Erlang/OTP %% runtime is compiled to support DTrace. DTrace is %% available in R15B01 (supported by the Erlang/OTP %% official source package) and in R14B04 via a custom %% source repository branch. {dtrace_support, false}, %% Health Checks %% If disabled, health checks registered by an application will %% be ignored. NOTE: this option cannot be changed at runtime. %% To re-enable, the setting must be changed and the node restarted. %% NOTE: As of Riak 1.3.2, health checks are deprecated as they %% may interfere with the new overload protection mechanisms. %% If there is a good reason to re-enable them, you must uncomment %% this line and also add an entry in the riak_kv section: %% {riak_kv, [ ..., {enable_health_checks, true}, ...]} %% {enable_health_checks, true}, %% Platform-specific installation paths (substituted by rebar) {platform_bin_dir, ./bin}, {platform_data_dir, ./data}, {platform_etc_dir, ./etc}, {platform_lib_dir, ./lib}, {platform_log_dir, ./log} ]}, %% Riak KV config {riak_kv, [ %% Storage_backend specifies the Erlang module defining the storage %% mechanism that will be used on this node. {storage_backend, riak_kv_bitcask_backend}, %% raw_name is the first part of all URLS used by the Riak raw HTTP %% interface. See riak_web.erl and raw_http_resource.erl for
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
hi Jared, this is interesting… I have repeated all your steps and getting the same issue as before: s:~ romanshestakov$ cd Development rs:Development romanshestakov$ wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz --2013-09-17 20:12:48-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 205.251.242.150 Connecting to s3.amazonaws.com|205.251.242.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: `riak-1.4.2-OSX-x86_64.tar.gz.1' 100%[==] 27,081,322 521K/s in 57s 2013-09-17 20:13:46 (460 KB/s) - `riak-1.4.2-OSX-x86_64.tar.gz.1' saved [27081322/27081322] rs:Development romanshestakov$ tar -zxf riak-1.4.2-OSX-x86_64.tar.gz rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak chkconfig Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config I am on MacOs 10.7.5 weird … will use riak-1.3 Regards, Roman On 17 Sep 2013, at 19:17, Jared Morrow wrote: Roman, I have no problems with it: ➜ /tmp wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz 12:12 --2013-09-17 12:12:10-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 207.171.185.200 Connecting to s3.amazonaws.com|207.171.185.200|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: ‘riak-1.4.2-OSX-x86_64.tar.gz’ 100%[===] 27,081,322 1.83MB/s in 13s 2013-09-17 12:12:25 (2.06 MB/s) - ‘riak-1.4.2-OSX-x86_64.tar.gz’ saved [27081322/27081322] ➜ /tmp tar -zxf riak-1.4.2-OSX-x86_64.tar.gz ➜ /tmp cd riak-1.4.2 ➜ riak-1.4.2 ./bin/riak chkconfig config is OK ➜ riak-1.4.2 ./bin/riak start ➜ riak-1.4.2 ./bin/riak ping pong ➜ riak-1.4.2 ./bin/riak stop ok Here is the config file that ships in the package ➜ riak-1.4.2 cat etc/app.config %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ft=erlang ts=4 sw=4 et [ %% Riak Client APIs config {riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connections may grow. If set, it must be an integer = 0. %% By default the value is 5. If you anticipate a huge number of %% connections being initialised *simultaneously*, set this number %% higher. %% {pb_backlog, 64}, %% pb is a list of IP addresses and TCP ports that the Riak %% Protocol Buffers interface will bind. {pb, [ {127.0.0.1, 8087 } ]} ]}, %% Riak Core config {riak_core, [ %% Default location of ringstate {ring_state_dir, ./data/ring}, %% Default ring creation size. Make sure it is a power of 2, %% e.g. 16, 32, 64, 128, 256, 512 etc %{ring_creation_size, 64}, %% http is a list of IP addresses and TCP ports that the Riak %% HTTP interface will bind. {http, [ {127.0.0.1, 8098 } ]}, %% https is a list of IP addresses and TCP ports that the Riak %% HTTPS interface will bind. %{https, [{ 127.0.0.1, 8098 }]}, %% Default cert and key locations for https can be overridden %% with the ssl config variable, for example: %{ssl, [ % {certfile, ./etc/cert.pem}, % {keyfile, ./etc/key.pem} % ]}, %% riak_handoff_port is the TCP port that Riak uses for %% intra-cluster data handoff. {handoff_port, 8099 }, %% To encrypt riak_core intra-cluster data handoff traffic, %% uncomment the following line and edit its path to an %% appropriate certfile and keyfile. (This example uses a %% single file with both items concatenated together.) %{handoff_ssl_options, [{certfile, /tmp/erlserver.pem}]}, %% DTrace support %% Do not enable 'dtrace_support' unless your Erlang/OTP %% runtime is compiled to support DTrace. DTrace is %% available in R15B01 (supported by the Erlang/OTP %% official source package) and in R14B04 via a custom %% source repository branch. {dtrace_support, false}, %% Health Checks
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
Hi Christian,./riak chkconfiggives me an errorrs:bin romanshestakov$ ./riak chkconfigError reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.configrs:bin romanshestakov$the fileapp.config exits in the dir :rs:~ romanshestakov$ ls -la /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config-rw-r--r-- 1 romanshestakov staff 14890 29 Aug 21:55 /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.configrs:~ romanshestakov$ cat /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-%% ex: ft=erlang ts=4 sw=4 et[%% Riak Client APIs config{riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connections may grow. If set, it must be an integer = 0. %% By default the value is 5. If you anticipate a huge number of %% connections being initialised *simultaneously*, set this number %% higher. %% {pb_backlog, 64},%% pb is a list of IP addresses and TCP ports that the Riak %% Protocol Buffers interface will bind. {pb, [ {"127.0.0.1", 8087 } ]} ]},%% Riak Core confighere is the config attached app.config Description: Binary data everything work ok with prev. versionriak-1.3.1I think MacOs build forriak-1.4.2 might be screwed upRegards, RomanOn 17 Sep 2013, at 06:58, Christian Dahlqvist wrote:Hi Roman,Can you please verify that your app.config file is correct and does not contain any errors by running `riak chkconfig`?Best regards,Christian On 15 Sep 2013, at 01:05, Roman Shestakov roman.shesta...@gmail.com wrote:hello,I am trying to run pre-built Riak 1.4.2 distribution for Mac OS but getting errors on "./bin/riak start" (Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config)here are the steps:rs:Development romanshestakov$ curl -Ohttp://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed100 25.8M 100 25.8M 0 0 403k 0 0:01:05 0:01:05 --:--:-- 410krs:Development romanshestakov$ tar xzvf riak-1.4.2-osx-x86_64.tar.gzx riak-1.4.2/x riak-1.4.2/bin/x riak-1.4.2/data/x riak-1.4.2/erts-5.9.1/x riak-1.4.2/etc/x riak-1.4.2/lib/...x riak-1.4.2/data/ring/x riak-1.4.2/bin/riakx riak-1.4.2/bin/riak-adminx riak-1.4.2/bin/riak-debugx riak-1.4.2/bin/search-cmdrs:Development romanshestakov$ cd riak-1.4.2rs:riak-1.4.2 romanshestakov$ ./bin/riak startError reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.configwhat am I doing wrong? (have MacOS 10.7.5)Regards, Roman___riak-users mailing listriak-users@lists.basho.comhttp://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
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
IIRC you said you were using OS X 10.7.x, but I believe the 1.4.2 packages are for 10.8.x. Perhaps you're hitting a problem related to that. --steve On Tue, Sep 17, 2013 at 3:18 PM, Roman Shestakov roman.shesta...@gmail.comwrote: hi Jared, this is interesting… I have repeated all your steps and getting the same issue as before: s:~ romanshestakov$ cd Development rs:Development romanshestakov$ wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz --2013-09-17 20:12:48-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 205.251.242.150 Connecting to s3.amazonaws.com|205.251.242.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: `riak-1.4.2-OSX-x86_64.tar.gz.1' 100%[==] 27,081,322 521K/s in 57s 2013-09-17 20:13:46 (460 KB/s) - `riak-1.4.2-OSX-x86_64.tar.gz.1' saved [27081322/27081322] rs:Development romanshestakov$ tar -zxf riak-1.4.2-OSX-x86_64.tar.gz rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak chkconfig Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config I am on MacOs 10.7.5 weird … will use riak-1.3 Regards, Roman On 17 Sep 2013, at 19:17, Jared Morrow wrote: Roman, I have no problems with it: ➜ /tmp wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz 12:12 --2013-09-17 12:12:10-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 207.171.185.200 Connecting to s3.amazonaws.com|207.171.185.200|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: ‘riak-1.4.2-OSX-x86_64.tar.gz’ 100%[===] 27,081,322 1.83MB/s in 13s 2013-09-17 12:12:25 (2.06 MB/s) - ‘riak-1.4.2-OSX-x86_64.tar.gz’ saved [27081322/27081322] ➜ /tmp tar -zxf riak-1.4.2-OSX-x86_64.tar.gz ➜ /tmp cd riak-1.4.2 ➜ riak-1.4.2 ./bin/riak chkconfig config is OK ➜ riak-1.4.2 ./bin/riak start ➜ riak-1.4.2 ./bin/riak ping pong ➜ riak-1.4.2 ./bin/riak stop ok Here is the config file that ships in the package ➜ riak-1.4.2 cat etc/app.config %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ft=erlang ts=4 sw=4 et [ %% Riak Client APIs config {riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connections may grow. If set, it must be an integer = 0. %% By default the value is 5. If you anticipate a huge number of %% connections being initialised *simultaneously*, set this number %% higher. %% {pb_backlog, 64}, %% pb is a list of IP addresses and TCP ports that the Riak %% Protocol Buffers interface will bind. {pb, [ {127.0.0.1, 8087 } ]} ]}, %% Riak Core config {riak_core, [ %% Default location of ringstate {ring_state_dir, ./data/ring}, %% Default ring creation size. Make sure it is a power of 2, %% e.g. 16, 32, 64, 128, 256, 512 etc %{ring_creation_size, 64}, %% http is a list of IP addresses and TCP ports that the Riak %% HTTP interface will bind. {http, [ {127.0.0.1, 8098 } ]}, %% https is a list of IP addresses and TCP ports that the Riak %% HTTPS interface will bind. %{https, [{ 127.0.0.1, 8098 }]}, %% Default cert and key locations for https can be overridden %% with the ssl config variable, for example: %{ssl, [ % {certfile, ./etc/cert.pem}, % {keyfile, ./etc/key.pem} % ]}, %% riak_handoff_port is the TCP port that Riak uses for %% intra-cluster data handoff. {handoff_port, 8099 }, %% To encrypt riak_core intra-cluster data handoff traffic, %% uncomment the following line and edit its path to an %% appropriate certfile and keyfile. (This example uses a %% single file with both items concatenated together.) %{handoff_ssl_options, [{certfile, /tmp/erlserver.pem}]}, %% DTrace support %% Do not enable 'dtrace_support' unless your Erlang/OTP %% runtime is compiled to support DTrace. DTrace is %%
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
**EDIT** Resending w/o thread to pass through size limit restriction. Pardon possible duplicate emails Yes indeed, these packages are built on 10.8 and possibly won't work with 10.7. You can build your own package for 10.7 easily like: * clone riak * git checkout riak-1.4.2 * make package * package will be in package/packages Of course github is down now, so you will have to wait. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
Yes indeed, these packages are built on 10.8 and possibly won't work with 10.7. You can build your own package for 10.7 easily like: * clone riak * git checkout riak-1.4.2 * make package * package will be in package/packages Of course github is down now, so you will have to wait. -Jared On Tue, Sep 17, 2013 at 1:21 PM, Steve Vinoski st...@basho.com wrote: IIRC you said you were using OS X 10.7.x, but I believe the 1.4.2 packages are for 10.8.x. Perhaps you're hitting a problem related to that. --steve On Tue, Sep 17, 2013 at 3:18 PM, Roman Shestakov roman.shesta...@gmail.com wrote: hi Jared, this is interesting… I have repeated all your steps and getting the same issue as before: s:~ romanshestakov$ cd Development rs:Development romanshestakov$ wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz --2013-09-17 20:12:48-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 205.251.242.150 Connecting to s3.amazonaws.com|205.251.242.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: `riak-1.4.2-OSX-x86_64.tar.gz.1' 100%[==] 27,081,322 521K/s in 57s 2013-09-17 20:13:46 (460 KB/s) - `riak-1.4.2-OSX-x86_64.tar.gz.1' saved [27081322/27081322] rs:Development romanshestakov$ tar -zxf riak-1.4.2-OSX-x86_64.tar.gz rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak chkconfig Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config I am on MacOs 10.7.5 weird … will use riak-1.3 Regards, Roman On 17 Sep 2013, at 19:17, Jared Morrow wrote: Roman, I have no problems with it: ➜ /tmp wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz 12:12 --2013-09-17 12:12:10-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 207.171.185.200 Connecting to s3.amazonaws.com|207.171.185.200|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: ‘riak-1.4.2-OSX-x86_64.tar.gz’ 100%[===] 27,081,322 1.83MB/s in 13s 2013-09-17 12:12:25 (2.06 MB/s) - ‘riak-1.4.2-OSX-x86_64.tar.gz’ saved [27081322/27081322] ➜ /tmp tar -zxf riak-1.4.2-OSX-x86_64.tar.gz ➜ /tmp cd riak-1.4.2 ➜ riak-1.4.2 ./bin/riak chkconfig config is OK ➜ riak-1.4.2 ./bin/riak start ➜ riak-1.4.2 ./bin/riak ping pong ➜ riak-1.4.2 ./bin/riak stop ok Here is the config file that ships in the package ➜ riak-1.4.2 cat etc/app.config %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ft=erlang ts=4 sw=4 et [ %% Riak Client APIs config {riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connections may grow. If set, it must be an integer = 0. %% By default the value is 5. If you anticipate a huge number of %% connections being initialised *simultaneously*, set this number %% higher. %% {pb_backlog, 64}, %% pb is a list of IP addresses and TCP ports that the Riak %% Protocol Buffers interface will bind. {pb, [ {127.0.0.1, 8087 } ]} ]}, %% Riak Core config {riak_core, [ %% Default location of ringstate {ring_state_dir, ./data/ring}, %% Default ring creation size. Make sure it is a power of 2, %% e.g. 16, 32, 64, 128, 256, 512 etc %{ring_creation_size, 64}, %% http is a list of IP addresses and TCP ports that the Riak %% HTTP interface will bind. {http, [ {127.0.0.1, 8098 } ]}, %% https is a list of IP addresses and TCP ports that the Riak %% HTTPS interface will bind. %{https, [{ 127.0.0.1, 8098 }]}, %% Default cert and key locations for https can be overridden %% with the ssl config variable, for example: %{ssl, [ % {certfile, ./etc/cert.pem}, % {keyfile, ./etc/key.pem} % ]}, %% riak_handoff_port is the TCP port that Riak uses for %% intra-cluster data handoff. {handoff_port, 8099 }, %% To encrypt riak_core intra-cluster data handoff traffic, %% uncomment the following line and edit its path to an %% appropriate certfile
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
thanks Steve - if think you are right, I verified everything else and version incompatablity seems to be the only thing left. in the past I was always hitting issues because I was upgrading too soon, now I am running into the wall because I am behind on my updrade :-( Regards, Roman On 17 Sep 2013, at 20:21, Steve Vinoski wrote: IIRC you said you were using OS X 10.7.x, but I believe the 1.4.2 packages are for 10.8.x. Perhaps you're hitting a problem related to that. --steve On Tue, Sep 17, 2013 at 3:18 PM, Roman Shestakov roman.shesta...@gmail.com wrote: hi Jared, this is interesting… I have repeated all your steps and getting the same issue as before: s:~ romanshestakov$ cd Development rs:Development romanshestakov$ wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz --2013-09-17 20:12:48-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 205.251.242.150 Connecting to s3.amazonaws.com|205.251.242.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: `riak-1.4.2-OSX-x86_64.tar.gz.1' 100%[==] 27,081,322 521K/s in 57s 2013-09-17 20:13:46 (460 KB/s) - `riak-1.4.2-OSX-x86_64.tar.gz.1' saved [27081322/27081322] rs:Development romanshestakov$ tar -zxf riak-1.4.2-OSX-x86_64.tar.gz rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak chkconfig Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config I am on MacOs 10.7.5 weird … will use riak-1.3 Regards, Roman On 17 Sep 2013, at 19:17, Jared Morrow wrote: Roman, I have no problems with it: ➜ /tmp wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz 12:12 --2013-09-17 12:12:10-- http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz Resolving s3.amazonaws.com... 207.171.185.200 Connecting to s3.amazonaws.com|207.171.185.200|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27081322 (26M) [application/x-tar] Saving to: ‘riak-1.4.2-OSX-x86_64.tar.gz’ 100%[===] 27,081,322 1.83MB/s in 13s 2013-09-17 12:12:25 (2.06 MB/s) - ‘riak-1.4.2-OSX-x86_64.tar.gz’ saved [27081322/27081322] ➜ /tmp tar -zxf riak-1.4.2-OSX-x86_64.tar.gz ➜ /tmp cd riak-1.4.2 ➜ riak-1.4.2 ./bin/riak chkconfig config is OK ➜ riak-1.4.2 ./bin/riak start ➜ riak-1.4.2 ./bin/riak ping pong ➜ riak-1.4.2 ./bin/riak stop ok Here is the config file that ships in the package ➜ riak-1.4.2 cat etc/app.config %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ft=erlang ts=4 sw=4 et [ %% Riak Client APIs config {riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connections may grow. If set, it must be an integer = 0. %% By default the value is 5. If you anticipate a huge number of %% connections being initialised *simultaneously*, set this number %% higher. %% {pb_backlog, 64}, %% pb is a list of IP addresses and TCP ports that the Riak %% Protocol Buffers interface will bind. {pb, [ {127.0.0.1, 8087 } ]} ]}, %% Riak Core config {riak_core, [ %% Default location of ringstate {ring_state_dir, ./data/ring}, %% Default ring creation size. Make sure it is a power of 2, %% e.g. 16, 32, 64, 128, 256, 512 etc %{ring_creation_size, 64}, %% http is a list of IP addresses and TCP ports that the Riak %% HTTP interface will bind. {http, [ {127.0.0.1, 8098 } ]}, %% https is a list of IP addresses and TCP ports that the Riak %% HTTPS interface will bind. %{https, [{ 127.0.0.1, 8098 }]}, %% Default cert and key locations for https can be overridden %% with the ssl config variable, for example: %{ssl, [ % {certfile, ./etc/cert.pem}, % {keyfile, ./etc/key.pem} % ]}, %% riak_handoff_port is the TCP port that Riak uses for %% intra-cluster data handoff. {handoff_port, 8099 }, %% To encrypt riak_core intra-cluster data handoff traffic, %% uncomment the following line and edit its path to an %%
error starting risk 1.4.2 from prebuilt distro for MacOS
hello, I am trying to run pre-built Riak 1.4.2 distribution for Mac OS but getting errors on ./bin/riak start (Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config) here are the steps: rs:Development romanshestakov$ curl -O http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 25.8M 100 25.8M0 0 403k 0 0:01:05 0:01:05 --:--:-- 410k rs:Development romanshestakov$ tar xzvf riak-1.4.2-osx-x86_64.tar.gz x riak-1.4.2/ x riak-1.4.2/bin/ x riak-1.4.2/data/ x riak-1.4.2/erts-5.9.1/ x riak-1.4.2/etc/ x riak-1.4.2/lib/ ... x riak-1.4.2/data/ring/ x riak-1.4.2/bin/riak x riak-1.4.2/bin/riak-admin x riak-1.4.2/bin/riak-debug x riak-1.4.2/bin/search-cmd rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak start Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config what am I doing wrong? (have MacOS 10.7.5) Regards, Roman ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
error starting risk 1.4.2 from prebuilt distro for MacOS
hello, I am trying to run pre-built Riak 1.4.2 distribution for Mac OS but getting errors on ./bin/riak start (Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config) here are the steps: rs:Development romanshestakov$ curl -O http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 25.8M 100 25.8M0 0 403k 0 0:01:05 0:01:05 --:--:-- 410k rs:Development romanshestakov$ tar xzvf riak-1.4.2-osx-x86_64.tar.gz x riak-1.4.2/ x riak-1.4.2/bin/ x riak-1.4.2/data/ x riak-1.4.2/erts-5.9.1/ x riak-1.4.2/etc/ x riak-1.4.2/lib/ ... x riak-1.4.2/data/ring/ x riak-1.4.2/bin/riak x riak-1.4.2/bin/riak-admin x riak-1.4.2/bin/riak-debug x riak-1.4.2/bin/search-cmd rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak start Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config what am I doing wrong? (have MacOS 10.7.5) Regards, Roman ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
error starting risk 1.4.2 from prebuilt distro for MacOS
hello, I am trying to run pre-built Riak 1.4.2 distribution for Mac OS but getting errors on ./bin/riak start (Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config) here are the steps: rs:Development romanshestakov$ curl -O http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 25.8M 100 25.8M0 0 403k 0 0:01:05 0:01:05 --:--:-- 410k rs:Development romanshestakov$ tar xzvf riak-1.4.2-osx-x86_64.tar.gz x riak-1.4.2/ x riak-1.4.2/bin/ x riak-1.4.2/data/ x riak-1.4.2/erts-5.9.1/ x riak-1.4.2/etc/ x riak-1.4.2/lib/ ... x riak-1.4.2/data/ring/ x riak-1.4.2/bin/riak x riak-1.4.2/bin/riak-admin x riak-1.4.2/bin/riak-debug x riak-1.4.2/bin/search-cmd rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak start Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config what am I doing wrong? (have MacOS 10.7.5) Regards, Roman___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: error starting risk 1.4.2 from prebuilt distro for MacOS
Hi Roman, Can you please verify that your app.config file is correct and does not contain any errors by running `riak chkconfig`? Best regards, Christian On 15 Sep 2013, at 01:05, Roman Shestakov roman.shesta...@gmail.com wrote: hello, I am trying to run pre-built Riak 1.4.2 distribution for Mac OS but getting errors on ./bin/riak start (Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config) here are the steps: rs:Development romanshestakov$ curl -O http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/osx/10.8/riak-1.4.2-OSX-x86_64.tar.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 25.8M 100 25.8M0 0 403k 0 0:01:05 0:01:05 --:--:-- 410k rs:Development romanshestakov$ tar xzvf riak-1.4.2-osx-x86_64.tar.gz x riak-1.4.2/ x riak-1.4.2/bin/ x riak-1.4.2/data/ x riak-1.4.2/erts-5.9.1/ x riak-1.4.2/etc/ x riak-1.4.2/lib/ ... x riak-1.4.2/data/ring/ x riak-1.4.2/bin/riak x riak-1.4.2/bin/riak-admin x riak-1.4.2/bin/riak-debug x riak-1.4.2/bin/search-cmd rs:Development romanshestakov$ cd riak-1.4.2 rs:riak-1.4.2 romanshestakov$ ./bin/riak start Error reading /Users/romanshestakov/Development/riak-1.4.2/bin/../etc/app.config what am I doing wrong? (have MacOS 10.7.5) Regards, Roman ___ 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