Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied #1

Open
canedy opened this issue May 3, 2015 · 3 comments
Open

Permission denied #1

canedy opened this issue May 3, 2015 · 3 comments

Comments

@canedy
Copy link

canedy commented May 3, 2015

I'm receiving the following error. Can someone lead me in the correct direction to resolve.

bcm2835_init: Unable to open /dev/mem: Permission denied
Thin web server (v1.6.1 codename Death Proof)
Maximum connections set to 1024
Listening on 192.168.2.31:3000, CTRL+C to stop
/home/pi/.rvm/gems/ruby-2.2.1/gems/redis-3.0.6/lib/redis/client.rb:278:in `rescue in establish_connection': Error connecting to Redis on 192.168.2.31:6379 (ECONNREFUSED) (Redis::CannotConnectError)
from /home/pi/.rvm/gems/ruby-2.2.1/gems/redis-3.0.6/lib/redis/client.rb:

@sasha-id
Copy link
Owner

sasha-id commented May 3, 2015

Execute it as a root user.

@canedy
Copy link
Author

canedy commented May 3, 2015

so here is what I tried before and message I received.

sudo thin start -a 192.168.2.31

received following error:
sudo: thin: command not found

also not sure this would make a difference, but i'm running this on raspberry pi 2.

@sasha-id
Copy link
Owner

gem install thin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants