Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Snorby 500 Internal Server Error #33

Open
p0bailey opened this issue Jun 25, 2010 · 0 comments
Open

Snorby 500 Internal Server Error #33

p0bailey opened this issue Jun 25, 2010 · 0 comments

Comments

@p0bailey
Copy link

Dear All,

I've installed Snorby on Ubuntu server 10.04 and after the successfull
login i get back:

"500 Internal Server Error If you are the administrator
of this website, then please read this web application's log file to find
out what went wrong.2"

I've installed Snorby hundred times and I never had such error.

Below you can find the gem list and the production.log

Thanks and best regards.

Phillip

gem list

*** LOCAL GEMS ***

actionmailer (2.3.8)
actionpack (2.3.8)
activerecord (2.3.8)
activeresource (2.3.8)
activesupport (2.3.8)
chronic (0.2.3)
hoe (2.6.1)
javan-whenever (0.3.7)
json_pure (1.4.3)
mysql (2.8.1)
prawn (0.8.4)
prawn-core (0.8.4)
prawn-layout (0.8.4)
prawn-security (0.8.4)
rack (1.2.1, 1.1.0)
rails (2.3.8)
rake (0.8.7)
rubyforge (2.0.4)

production log

Logfile created on Fri Jun 25 12:54:15 +0200 2010

Processing UserSessionsController#new (for 188.129.64.98 at 2010-06-25 13:05:40) [GET]
Parameters: {"action"=>"new", "controller"=>"user_sessions"}
Rendering template within layouts/application
Rendering user_sessions/new
Completed in 114ms (View: 62, DB: 25) | 200 OK [http://193.198.207.6/]

Processing UserSessionsController#create (for 188.129.64.98 at 2010-06-25 13:05:48) [POST]
Parameters: {"commit"=>"Login \302\273", "user_session"=>{"remember_me"=>"0", "password"=>"[FILTERED]", "login"=>"Snorby"}, "action"=>"create", "authenticity_token"=>"HasBIGltolIeqXO27mXRcksifyTS2N/jVp53XPCqwfM=", "controller"=>"user_sessions"}
Redirected to http://193.198.207.6:8080/dashboard
Completed in 317ms (DB: 60) | 302 Found [http://193.198.207.6/user_session]

Processing PagesController#dashboard (for 188.129.64.98 at 2010-06-25 13:05:48) [GET]
Parameters: {"action"=>"dashboard", "controller"=>"pages"}

ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone away: SELECT * FROM calc_caches LIMIT 1):
app/controllers/pages_controller.rb:26:in dashboard' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:inservice'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/lib/ruby/1.8/webrick/server.rb:173:instart_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/lib/ruby/1.8/webrick/server.rb:162:instart_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/lib/ruby/1.8/webrick/server.rb:92:ineach'
/usr/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/lib/ruby/1.8/webrick/server.rb:23:instart'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering template within layouts/application
Rendering /errors/500.html.erb (500 Internal Server Error)

Processing ApplicationController#dashboard (for 188.129.64.98 at 2010-06-25 13:05:49) [GET]
Parameters: {"action"=>"dashboard", "controller"=>"pages"}

ActionView::TemplateError (Mysql::Error: MySQL server has gone away: SELECT count(*) AS count_all FROM users WHERE (last_request_at > '2010-06-25 10:55:49') ) on line #3 of app/views/layouts/_footer.html.erb:
1:

app/views/layouts/_footer.html.erb:3
app/views/layouts/application.html.erb:45
app/controllers/application_controller.rb:71:in `render_optional_error_file'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering template within layouts/application
Rendering /errors/500.html.erb (500 Internal Server Error)
/!\ FAILSAFE /!\ Fri Jun 25 13:05:49 +0200 2010
Status: 500 Internal Server Error

ActionView::TemplateError (Mysql::Error: MySQL server has gone away: SELECT * FROM users WHERE (users.id = '1') LIMIT 1) on line #2 of app/views/layouts/_header.html.erb:
1:


2: <%- if current_user -%>
3:

4:

    5:
  • <%= link_to "Dashboard", dashboard_path %>
  • vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:95:in `send'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:95:in `search_for_record'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:94:in `send'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:94:in `search_for_record'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/cookies.rb:108:in `persist_by_cookie'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/callbacks.rb:78:in `persist'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/persistence.rb:55:in `persisting?'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/persistence.rb:39:in `find'
    app/controllers/application_controller.rb:22:in `current_user_session'
    app/controllers/application_controller.rb:27:in `current_user'
    (eval):2:in `send'
    (eval):2:in `current_user'
    app/views/layouts/_header.html.erb:2
    app/views/layouts/application.html.erb:14
    app/controllers/application_controller.rb:71:in `render_optional_error_file'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    
    
    On line #2 of app/views/layouts/_header.html.erb
    
    1: <div id="header">
    2:  <%- if current_user -%>
    3:  <div id="menubar">
    4:      <ul class="menu">
    5:          <li><%= link_to "Dashboard", dashboard_path %></li>
    
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:95:in `send'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:95:in `search_for_record'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:94:in `send'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/scopes.rb:94:in `search_for_record'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/cookies.rb:108:in `persist_by_cookie'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/callbacks.rb:78:in `persist'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/persistence.rb:55:in `persisting?'
    vendor/gems/binarylogic-authlogic-2.1.1/lib/authlogic/session/persistence.rb:39:in `find'
    app/controllers/application_controller.rb:22:in `current_user_session'
    app/controllers/application_controller.rb:27:in `current_user'
    (eval):2:in `send'
    (eval):2:in `current_user'
    app/views/layouts/_header.html.erb:2
    app/views/layouts/application.html.erb:14
    app/controllers/application_controller.rb:71:in `render_optional_error_file'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    

    Processing UserSessionsController#new (for 188.129.64.98 at 2010-06-25 13:12:31) [GET]
    Parameters: {"action"=>"new", "controller"=>"user_sessions"}
    Rendering template within layouts/application
    Rendering user_sessions/new
    Completed in 32ms (View: 18, DB: 11) | 200 OK [http://193.198.207.6/]

    Processing UserSessionsController#create (for 188.129.64.98 at 2010-06-25 13:12:43) [POST]
    Parameters: {"commit"=>"Login \302\273", "user_session"=>{"remember_me"=>"1", "password"=>"[FILTERED]", "login"=>"Snorby"}, "action"=>"create", "authenticity_token"=>"84dZmzuuByK1qv+ZIxi+PLzWvp99MGzKvNRRGRkIErU=", "controller"=>"user_sessions"}
    Redirected to http://193.198.207.6:8080/dashboard
    Completed in 63ms (DB: 43) | 302 Found [http://193.198.207.6/user_session]

    Processing PagesController#dashboard (for 188.129.64.98 at 2010-06-25 13:12:43) [GET]
    Parameters: {"action"=>"dashboard", "controller"=>"pages"}
    Rendering template within layouts/application
    Rendering pages/dashboard

    ActionView::TemplateError (Mysql::Error: MySQL server has gone away: SELECT count(*) AS count_all FROM users WHERE (last_request_at > '2010-06-25 11:02:44') ) on line #3 of app/views/layouts/_footer.html.erb:
    1:

    app/views/layouts/_footer.html.erb:3
    app/views/layouts/application.html.erb:45
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    

    Rendering template within layouts/application
    Rendering /errors/500.html.erb (500 Internal Server Error)

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

No branches or pull requests

1 participant