seancribbs/ripple — Issue #278: Could not find or open pipes for Riak console
Author: xn
Created: 2012-03-07 17:29:28+00:00
State: open

### /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/node/console.rb:49:in `initialize': Could not find or open pipes for Riak console in /tmp/.identity.riak/pipe. (ArgumentError)

```bash
bundle exec rake
/home/xn/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -I"lib:lib:test" -I"/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib" "/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb"
/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/soap4r-24601670d998/lib/xsd/charset.rb:13: warning: variable $KCODE is no longer effective
/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/soap4r-24601670d998/lib/soap/property.rb:68: warning: encoding option is ignored - u
/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/soap4r-24601670d998/lib/soap/property.rb:69: warning: encoding option is ignored - u
/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/soap4r-24601670d998/lib/soap/property.rb:70: warning: encoding option is ignored - u
/home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/node/console.rb:49:in `initialize': Could not find or open pipes for Riak console in /tmp/.identity.riak/pipe. (ArgumentError)
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/node/console.rb:22:in `new'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/node/console.rb:22:in `open'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/node/control.rb:71:in `attach'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/test_server.rb:67:in `maybe_attach'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/lib/riak/test_server.rb:38:in `start'
from /home/xn/sites/att-identity/test/support/ripple_test_server.rb:18:in `setup'
from /home/xn/sites/att-identity/test/test_helper.rb:22:in `'
from /home/xn/sites/att-identity/test/lib/oauth2/models/application_test.rb:2:in `require'
from /home/xn/sites/att-identity/test/lib/oauth2/models/application_test.rb:2:in `'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `require'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in

'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `each'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `block in

'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `select'
from /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `

'
rake aborted!
Command failed with status (1): [/home/xn/.rvm/rubies/ruby-1.9.2-p290/bin/r...]
```
```bash
sudo riak attach
Attempting to restart script through sudo -u riak
Attaching to /tmp/riak/erlang.pipe.1 (^D to exit)

{ok, Client} = riak:local_client().
{ok,{riak_client,'riak@127.0.0.1',undefined}}
(riak@127.0.0.1)2>
```
```bash
sudo riak version
Attempting to restart script through sudo -u riak
riak (1.1.0 2012-02-19) Debian x86_64
```

```bash
bundle list
Gems included by the bundle:
* activemodel (3.0.5)
* activesupport (3.0.5)
* adapter (0.5.2)
* adapter-redis (0.5)
* adapter-riak (0.5 0804769)
* addressable (2.2.6)
* archive-tar-minitar (0.5.2)
* beefcake (0.3.7)
* builder (2.1.2)
* bundler (1.0.22)
* capistrano (2.9.0)
* capybara (1.1.2)
* capybara-json (0.1.2)
* capybara-webkit (0.10.0)
* childprocess (0.2.3)
* chunky_png (1.2.5)
* colorize (0.5.8)
* columnize (0.3.6)
* compass (0.11.5)
* crack (0.3.1)
* daemons (1.1.4)
* eventmachine (0.12.10)
* faraday (0.7.5)
* ffi (1.0.11)
* ffi-rzmq (0.7.2)
* foreman (0.26.1)
* fssm (0.2.7)
* gherkin-ruby (0.1.0)
* guard (0.8.8)
* guard-bundler (0.1.3)
* guard-rocco (0.0.3)
* guard-spinach (0.0.1.1)
* guard-test (0.4.2)
* guid (0.1.1)
* haml (3.1.4)
* hashie (1.2.0)
* heroku (2.16.1)
* highline (1.6.8)
* httpclient (2.2.4)
* i18n (0.6.0)
* json (1.6.2)
* kgio (2.7.0)
* launchy (2.0.5)
* linecache19 (0.5.12 869c6a6)
* mail (2.3.0)
* mapel (0.1.6)
* metaclass (0.0.1)
* mime-types (1.17.2)
* mocha (0.10.0)
* multi_json (1.0.4)
* multipart-post (1.1.4)
* mustache (0.99.4)
* net-scp (1.0.4)
* net-sftp (2.0.5)
* net-ssh (2.2.1)
* net-ssh-gateway (1.1.0)
* newrelic_rpm (3.3.0)
* nokogiri (1.5.0)
* oauth (0.4.5)
* oauth2 (0.5.1)
* omniauth (1.0.1)
* omniauth-facebook (1.0.0)
* omniauth-github (1.0.1)
* omniauth-oauth (1.0.0)
* omniauth-oauth2 (1.0.0)
* omniauth-twitter (0.0.7)
* polyglot (0.3.3)
* pony (1.3)
* racc (1.4.7)
* rack (1.3.5)
* rack-contrib (1.1.0)
* rack-flash (0.1.2)
* rack-mongrel2 (0.2.4)
* rack-protection (1.1.4)
* rack-recaptcha (0.5.0)
* rack-ssl (1.3.2)
* rack-test (0.6.1)
* rack-thumb (0.2.4)
* raindrops (0.8.0)
* rake (0.9.2.2)
* rcov (0.9.11)
* redcarpet (1.17.2)
* redis (2.2.2)
* redis-rack (0.0.0)
* redis-store (1.0.0.1)
* rest-client (1.6.7)
* rexical (1.0.5)
* riak-client (1.0.0.beta)
* ripple (1.0.0.beta)
* rocco (0.8.2)
* ruby-debug-base19 (0.11.25)
* ruby-debug-base19x (0.11.30.pre10)
* ruby-debug19 (0.11.6)
* ruby_core_source (0.1.5)
* rubyzip (0.9.5)
* sass (3.1.11)
* selenium-webdriver (2.14.0)
* settings (0.0.3)
* shotgun (0.9)
* shoulda (2.11.3)
* show_me_the_cookies (1.1.0)
* simple_uuid (0.1.2)
* sinatra (1.3.1)
* sinatra-content-for (0.2)
* sinatra-hashfix (0.1.0)
* soap4r (1.5.8 2460167)
* spinach (0.3.0)
* term-ansicolor (1.0.7)
* test-unit (2.4.2)
* thin (1.3.1)
* thor (0.14.6)
* tilt (1.3.3)
* toystore (0.8.2 e6d1b20)
* treetop (1.4.10)
* tzinfo (0.3.31)
* unicorn (4.1.1)
* vcr (1.11.3)
* webmock (1.7.8)
* xpath (0.1.4)
```

```yml
---
:http_port: 9000
:pb_port: 9002
:host: 127.0.0.1
:env:
:riak_core:
:ring_creation_size: 64
:http:
- - 127.0.0.1
- 9000
:slide_private_dir: /tmp/.identity.riak/slide-data
:ring_state_dir: /tmp/.identity.riak/ring
:platform_bin_dir: /tmp/.identity.riak/bin
:platform_etc_dir: /tmp/.identity.riak/etc
:platform_log_dir: /tmp/.identity.riak/log
:platform_data_dir: /tmp/.identity.riak/data
:handoff_port: 8080
:riak_kv:
:storage_backend: :riak_kv_eleveldb_backend
:map_js_vm_count: 8
:reduce_js_vm_count: 6
:hook_js_vm_count: 2
:mapper_batch_size: 5
:js_max_vm_mem: 8
:js_thread_stack: 16
:riak_kv_stat: true
:legacy_stats: false
:vnode_vclocks: true
:http_url_encoding: :on
:legacy_keylisting: false
:mapred_system: :pipe
:add_paths:
- /home/xn/.rvm/gems/ruby-1.9.2-p290@identity/bundler/gems/ripple-6b5ac7fe139c/riak-client/erl_src
:allow_strfun: true
:map_cache_size: 0
:pb_port: 9002
:pb_ip: 127.0.0.1
:riak_search:
:enabled: true
:search_backend: :riak_search_test_backend
:luwak:
:enabled: true
:merge_index:
:buffer_rollover_size: 1048576
:max_compact_segments: 20
:data_root: /tmp/.identity.riak/data/merge_index
:eleveldb:
:data_root: /tmp/.identity.riak/data/leveldb
:bitcask:
:data_root: /tmp/.identity.riak/data/bitcask
:lager:
:crash_log_size: 65536
:error_logger_redirect: true
:handlers:
:lager_file_backend:
- - /tmp/.identity.riak/log/error.log
- :error
- - /tmp/.identity.riak/log/console.log
- :info
:crash_log: /tmp/.identity.riak/log/crash.log
:riak_sysmon:
:process_limit: 30
:port_limit: 30
:gc_ms_limit: 50
:heap_word_limit: 10485760
:sasl:
:sasl_error_logger: false
:root: /tmp/.identity.riak
:source: /usr/sbin
:vm:
+K: true
+A: 64
-smp: enable
+W: w
-env ERL_MAX_PORTS: 4096
-env ERL_FULLSWEEP_AFTER: 0
-env ERL_CRASH_DUMP: /tmp/.identity.riak/log/erl_crash.dump
-name: riak620134@127.0.0.1
-setcookie: '41324_649470'
```
any ideas?