Error 500
Daniel Jiménez Torres
djimenez at politecnica.edu.co
Wed Jan 9 15:57:54 PST 2008
Hello,
When i run /script/server, it works at all, but in apache I allways get
Error 500, can somebody help me
When I run ruby -d ./dispatch.fcgi from console i get
Please
Exception `LoadError' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- Win32API
Exception `LoadError' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- Win32API
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- fast_xs
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- fast_xs
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- utf8proc_native
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- utf8proc_native
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
utf8proc_native
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/migration.rb:233:
warning: instance variable @ignore_new_methods not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/migration.rb:233:
warning: instance variable @ignore_new_methods not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:8:
warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:195:
warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:202:
warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:
warning: method redefined; discarding old allow_concurrency=
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/routing.rb:7:
warning: method redefined; discarding old to_param
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- securerandom
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- securerandom
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
securerandom
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:44:
warning: method redefined; discarding old create_new_id
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:51:
warning: method redefined; discarding old initialize
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/core_ext/kernel/requires.rb:19 - no such file to
load -- memcache
Exception `DRb::DRbServerNotFound' at /usr/lib/ruby/1.8/drb/drb.rb:1650 -
DRb::DRbServerNotFound
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/core_ext/kernel/requires.rb:19 - no such file to
load -- memcache
Exception `TypeError' at
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/class/inheritable_attributes.rb:131
- can't dup TrueClass
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/session/active_record_store.rb:182:
warning: method redefined; discarding old connection
(eval):1: warning: method redefined; discarding old headers
(eval):1: warning: method redefined; discarding old response
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb:103:
warning: ambiguous first argument; put parentheses or even spaces
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
bluecloth
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/core_ext/kernel/requires.rb:19 - no such file to
load -- bluecloth
Exception `Gem::LoadError' at /usr/local/lib/site_ruby/1.8/rubygems.rb:251 -
Could not find RubyGem tmail (~> 1.1.0)
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- tmail/scanner_c.so
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- tmail/scanner_c.so
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
tmail/scanner_c.so
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2
/examples/rails_openid/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-
1.1.0/tmail/net.rb:136: warning: method redefined; discarding old
create_reply
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:229:
warning: method redefined; discarding old columns=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:244:
warning: method redefined; discarding old left_margin=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:259:
warning: method redefined; discarding old right_margin=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:274:
warning: method redefined; discarding old first_indent=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:290:
warning: method redefined; discarding old body_indent=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:328:
warning: method redefined; discarding old hyphenator=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:353:
warning: method redefined; discarding old split_rules=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:478:
warning: method redefined; discarding old tabstop=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:491:
warning: method redefined; discarding old format_style=
*******************************************************************
* config.breakpoint_server has been deprecated and has no effect. *
*******************************************************************
Exception `Gem::LoadError' at /usr/local/lib/site_ruby/1.8/rubygems.rb:251 -
Could not find RubyGem activerecord-sqlite3-adapter (>= 0.0.0)
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/observer.rb:35:
warning: instance variable @observers not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/routing.rb:1281:
warning: instance variable @routes_last_modified not initialized
Exception `TypeError' at
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/class/inheritable_attributes.rb:131
- can't dup TrueClass
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/observer.rb:35:
warning: instance variable @observers not initialized
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- openid
Exception `TypeError' at
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/class/inheritable_attributes.rb:131
- can't dup TrueClass
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:645:
warning: instance variable @template not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- sqlite3
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3_api.so: warning:
global variable `$swig_runtime_data_type_pointer2' not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:31:
warning: instance variable @query_cache_enabled not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_view/base.rb:418:
warning: instance variable @template_format not initialized
Content-Type: text/html; charset=utf-8
Set-Cookie:
Intento_session=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7AA%253D%253D--e4c36ab6d830154fd0303a573e8e1f12292615e0;
path=/
Status: 200 OK
X-Runtime: 0.01264
ETag: "e8acd1e6211c42d034c90028dcc6ecdd"
X-XRDS-Location: http://:/server/xrds
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 2653
<html>
<head><title>OpenID Server Example</title></head>
<style type="text/css">
* {
font-family: verdana,sans-serif;
}
body {
width: 50em;
margin: 1em;
}
div {
padding: .5em;
}
table {
margin: none;
padding: none;
}
.notice {
border: 1px solid #60964f;
background: #b3dca7;
}
.error {
border: 1px solid #ff0000;
background: #ffaaaa;
}
#login-form {
border: 1px solid #777777;
background: #dddddd;
margin-top: 1em;
padding-bottom: 0em;
}
table {
padding: 1em;
}
li {margin-bottom: .5em;}
span.openid:before {
content: url(http://:/images/openid_login_bg.gif) ;
}
span.openid {
font-size: smaller;
}
</style>
<body>
<h3>Ruby OpenID Server Example</h3>
<hr/>
<div id="login-form">
<form method="get" action="/login/submit">
Type a username:
<input type="text" name="username" />
<input type="submit" value="Log In" />
</form>
</div>
<p> Welcome to the Ruby OpenID example. This code is a starting point
for developers wishing to implement an OpenID provider or relying
party. We've used the <a href="http://rubyonrails.org/">Rails</a>
platform to demonstrate, but the library code is not Rails specific.</p>
<h2>To use the example provider</h2>
<p>
<ol>
<li>Enter a username in the form above. You will be "Logged In"
to the server, at which point you may authenticate using an OpenID
consumer. Your OpenID URL will be displayed after you log
in.<p>The server will automatically create an identity page for
you at http://:/user/<i>name</i></p></li>
<li><p>Because WEBrick can only handle one thing at a time, you'll need
to
run another instance of the example on another port if you want to use
a relying party to use with this example provider:</p>
<blockquote>
<code>script/server --port=3001</code>
</blockquote>
<p>(The RP needs to be able to access the provider, so unless you're
running this example on a public IP, you can't use the live example
at <a href="http://openidenabled.com/">openidenabled.com</a> on
your local provider.)</p>
</li>
<li>Point your browser to this new instance and follow the directions
below.</li>
<!-- Fun fact: 'url_for :port => 3001' doesn't work very well. -->
</ol>
</p>
<h2>To use the example relying party</h2>
<p>Visit <a href="/consumer">/consumer</a>
and enter your OpenID.</p>
</p>
</body>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080109/cbcf49a0/attachment-0001.htm
More information about the Dev
mailing list