프로젝트

일반

사용자정보

설치후 아래와 같은 에러 메시지가 출력됩니다. 답변 부탁드립니다.

김 균슬이(가) 2018-02-24에 추가

[ 2018-02-24 11:44:21.7389 22195/7f787e6c9700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/redmine: An error occurred while starting up the preloader.
  Error ID: 5c7df070
  Error details saved to: /tmp/passenger-error-lNQ9Vf.html
  Message from application:
[!] There was an error parsing `Gemfile`: (<unknown>): found character that cannot start any token while scanning for the next token at line 7 column 13. Bundler cannot continue.

 #  from /usr/share/redmine/Gemfile:66
 #  -------------------------------------------
 #  end.each do |database_file|
 >    database_config = YAML::load(ERB.new(IO.read(database_file)).result)
 #    adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
 #  -------------------------------------------
 (Bundler::Dsl::DSLError)
  /usr/lib/ruby/2.3.0/psych.rb:377:in `parse'
  /usr/lib/ruby/2.3.0/psych.rb:377:in `parse_stream'
  /usr/lib/ruby/2.3.0/psych.rb:325:in `parse'
  /usr/lib/ruby/2.3.0/psych.rb:252:in `load'
  /usr/share/redmine/Gemfile:66:in `block in eval_gemfile'
  /usr/share/redmine/Gemfile:65:in `each'
  /usr/share/redmine/Gemfile:65:in `eval_gemfile'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/dsl.rb:47:in `instance_eval'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/dsl.rb:47:in `eval_gemfile'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/dsl.rb:12:in `evaluate'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/definition.rb:35:in `build'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler.rb:135:in `definition'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler.rb:101:in `setup'
  /var/lib/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<top (required)>'
  /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:100:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'


[ 2018-02-24 11:44:21.7435 22195/7f7877a17700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 5c7df070. Please see earlier logs for details about the error.


답글 (2)

RE: 설치후 아래와 같은 에러 메시지가 출력됩니다. 답변 부탁드립니다. - 커뮤니티 관리자이(가) 2018-02-26에 추가

수동설치인가요? 아니면 bitnami로 설치하셨나요?

에러 내용을 보면 리눅스계열에 설치하신 것으로 보이는데요.

어떤 과정에서 위의 에러가 발생했는지 좀 알려 주시면 좋겠네요.

 

RE: 설치후 아래와 같은 에러 메시지가 출력됩니다. 답변 부탁드립니다. - 김 균슬이(가) 2018-02-26에 추가

아마존 우분투 EC2에 설치 했습니다. 수동설치 입니다.

1.apt-get install apache2

2. apt-get install libapache2-mod-passenger

3. apt-get install mysql-server

4. apt-get install redmine redmine-mysql

으로 설치 했습니다. 그리고

5. gem update

6. gem install bundler

입니다.

    (1-2/2)
    클립보드 이미지 추가 (최대 크기: 5 MB)