minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

unicorn error #62

Closed london111 closed 13 years ago

london111 commented 13 years ago

After running unicorn from the olelo directory I got the following error and http://localhost:8080/ didn't load. Any idea how to fix this?

/home/testuser/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': no such file to load -- openssl (LoadError) from /home/testuser/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.1/lib/rack/session/cookie.rb:1:in <top (required)>' from config.ru:55:inblock in

' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.1/lib/rack/builder.rb:51:in instance_eval' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.1/lib/rack/builder.rb:51:ininitialize' from config.ru:1:in new' from config.ru:1:in
' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn.rb:44:in eval' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn.rb:44:inblock in builder' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:673:in call' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:673:inbuild_app!' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:549:in init_worker_process' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:567:inworker_loop' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:475:in spawn_missing_workers' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:486:inmaintain_worker_count' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/lib/unicorn/http_server.rb:270:in join' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/gems/unicorn-4.0.1/bin/unicorn:121:in<top (required)>' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/bin/unicorn:19:in load' from /home/testuser/.rvm/gems/ruby-1.9.2-p290/bin/unicorn:19:in
' E, [2011-07-22T18:05:52.827017 #17897] ERROR -- : reaped #<Process::Status: pid 18028 exit 1> worker=0 I, [2011-07-22T18:05:52.827223 #17897] INFO -- : worker=0 spawning... I, [2011-07-22T18:05:52.828297 #18031] INFO -- : worker=0 spawned pid=18031 I, [2011-07-22T18:05:52.828448 #18031] INFO -- : Refreshing Gem list

minad commented 13 years ago

hmm, seems as if openssl is missing. openssl should be in the stdlib.

london111 commented 13 years ago

Sorry, I just want to use olelo, don't know what to do with stdlib... Can you point out what I can do step by step to solve the problem?

minad commented 13 years ago

I mean openssl belongs to the standard ruby library. Take a look here http://beginrescueend.com/packages/openssl/

You have to compile --with-openssl

london111 commented 13 years ago

Ok, thanks, solved the problem!