obfuscurity / descartes

Introspective dashboard for Graphite
MIT License
502 stars 65 forks source link

require': no such file to load -- rack/handler/redhat (LoadError) #104

Closed toddlers closed 11 years ago

toddlers commented 11 years ago

Hi,

I am trying to install descartes by following the installation guide. But while running

foreman start command its giving me below error

graphite@ubuntu:/opt/descartes$ foreman start 07:28:33 web.1 | started with pid 21301 07:28:35 web.1 | /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/handler.rb:63:in require': no such file to load -- rack/handler/redhat (LoadError) 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/handler.rb:63:intry_require' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/handler.rb:16:in get' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:269:inserver' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:208:in block in logging_middleware' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:292:incall' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:292:in block in build_app' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:291:inreverse_each' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:291:in build_app' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:301:inwrapped_app' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:252:in start' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:137:instart' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/bin/rackup:4:in <top (required)>' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/bin/rackup:19:inload' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/bin/rackup:19:in <main>' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:ineval' 07:28:35 web.1 | from /home/graphite/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `

' 07:28:35 web.1 | exited with code 1 07:28:35 system | sending SIGTERM to all processes SIGTERM received

Please help :)

obfuscurity commented 11 years ago

I honestly have NFC what this error is, nor have I ever seen anything like it. There no such file rack/handler/redhat which leads me to believe something is hosed in your rvm setup. It almost certainly has nothing to do with Descartes.

toddlers commented 11 years ago

@obfuscurity I am following the installation guide. On my server only graphite instance is running . Nothing else i've installed on top of that. If you can help me that will be great. I've googled many times but not getting anything specific.

obfuscurity commented 11 years ago

What OS/version?

Jason Dixon Sent from my iPhone

On May 7, 2013, at 7:16 AM, toddlers notifications@github.com wrote:

@obfuscurity I am following the installation guide. On my server only graphite instance is running . Nothing else i've installed on top of that. If you can help me that will be great. I've googled many times but not getting anything specific.

— Reply to this email directly or view it on GitHub.

toddlers commented 11 years ago

I am using

$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.10 Release: 12.10 Codename: quantal

PostgreSQL 9.1

Redis-server 2:2.4.15-1

obfuscurity commented 11 years ago

Are you running PostgreSQL and Redis locally or hosted elsewhere?

obfuscurity commented 11 years ago

I've just setup a brand new EC2 instance as you've described and it works fine. Unable to reproduce.

ubuntu@ip-10-117-46-128:~/descartes$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.10
Release:    12.10
Codename:   quantal
ubuntu@ip-10-117-46-128:~/descartes$ foreman start
18:46:19 web.1  | started with pid 9790
18:46:22 web.1  | >> Thin web server (v1.5.1 codename Straight Razor)
18:46:22 web.1  | >> Maximum connections set to 1024
18:46:22 web.1  | >> Listening on 0.0.0.0:5000, CTRL+C to stop