Project

General

Profile

I couldn't start my redmine 3.2.1application in ubuntu 14.04

Added by koil jebaraj J over 8 years ago

Apache error:

[ 2016-04-28 10:55:20.3923 60138/7f4c15ef9700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/local/share/redmine: An error occurred while sta
rting up the preloader.
  Error ID: 7404cb7d
  Error details saved to: /tmp/passenger-error-P67HNX.html
  Message from application: No such file to load -- rbpdf (LoadError)
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `block in require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/share/redmine/lib/redmine/export/pdf.rb:20:in `<top (required)>'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `block in require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:360:in `require_or_load'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:494:in `load_missing_constant'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:184:in `const_missing'
  /usr/local/share/redmine/app/helpers/issues_helper.rb:22:in `<module:IssuesHelper>'
  /usr/local/share/redmine/app/helpers/issues_helper.rb:20:in `<top (required)>'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `block in require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:360:in `require_or_load'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:317:in `depend_on'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:233:in `require_dependency'
  /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.2/lib/abstract_controller/helpers.rb:149:in `block in modules_for_helpers'
  /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.2/lib/abstract_controller/helpers.rb:144:in `map!'
  /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.2/lib/abstract_controller/helpers.rb:144:in `modules_for_helpers'
  /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.2/lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers'
  /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.2/lib/abstract_controller/helpers.rb:108:in `helper'
  /usr/local/share/redmine/app/controllers/calendars_controller.rb:24:in `<class:CalendarsController>'
  /usr/local/share/redmine/app/controllers/calendars_controller.rb:18:in `<top (required)>'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `block in require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:in `require'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:360:in `require_or_load'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:317:in `depend_on'
  /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:233:in `require_dependency'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/engine.rb:471:in `each'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/engine.rb:471:in `block in eager_load!'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/engine.rb:469:in `each'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/engine.rb:469:in `eager_load!'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/engine.rb:346:in `eager_load!'

 /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in `instance_exec'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in `run'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/initializable.rb:55:in `block in run_initializers'
  /usr/local/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
  /usr/local/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
  /usr/local/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
  /usr/local/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
  /usr/local/lib/ruby/2.1.0/tsort.rb:345:in `each'
  /usr/local/lib/ruby/2.1.0/tsort.rb:345:in `call'
  /usr/local/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
  /usr/local/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
  /usr/local/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/initializable.rb:54:in `run_initializers'
  /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.2.5.2/lib/rails/application.rb:352:in `initialize!'
  /usr/local/share/redmine/config/environment.rb:14:in `<top (required)>'
  config.ru:3:in `require'
 config.ru:3:in `block in <main>'
  /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
  /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.27/src/helper-scripts/rack-preloader.rb:110:in `eval'
  /usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.27/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
  /usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.27/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
  /usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.27/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.27/src/helper-scripts/rack-preloader.rb:29:in `<main>'

[ 2016-04-28 10:55:20.4001 60138/7f4c573a1700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 7404cb7d. Please see earlier logs for details about the error.
[ 2016-04-28 10:55:20.4001 60138/7f4c56b1f700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 2-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 7404cb7d. Please see earlier logs for details about the error.

help me out of this problem thanks in advance ...


Replies (1)

RE: I couldn't start my redmine 3.2.1application in ubuntu 14.04 - Added by Deoren Moor about 8 years ago

Did you ever trace back the cause of your problem? I ran into a similar situation about two years ago with a completely different gem, but this past Tuesday evening I ran into a problem that may be related to this one: the rbpdf-font gem wasn't found.

The current setup for this box:

Environment:
  Redmine version                3.2.3.stable.15489
  Ruby version                   1.9.3-p0 (2011-10-30) [i686-linux]
  Rails version                  4.2.5.2
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Git                            1.7.9.5
  Filesystem                     
Redmine plugins:
  no plugin installed

In the end, I was able to determine that the REDMINE_INSTALL_DIR/Gemfile.lock "lost" the entry for that gem:

--- oct2/redmine/Gemfile.lock   2016-06-07 10:02:11.000000000 -0500
+++ oct5/redmine/Gemfile.lock   2016-10-04 18:30:02.000000000 -0500
@@ -124,7 +124,6 @@
     rbpdf (1.19.0)
       htmlentities (= 4.3.1)
       rbpdf-font (~> 1.19.0)
-    rbpdf-font (1.19.0)
     rdoc (4.2.2)
       json (~> 1.4)
     redcarpet (3.3.4)

When I added that entry back and restarted Apache (I use Apache + Passenger on the affected system), Redmine was once again functional.

    (1-1/1)