CANVAS LMSで、メール送信設定を変更したら、エラーでサイトが表示されなくなった

Bitnami のCANVAS LMSで、メール送信のためのSMTP設定を変更して、再起動したところ、ウェブ画面で下記のエラーが表示された。

Error ID:
079f6a97
Details:
Web application could not be started by the Phusion Passenger application server.

Please read the Passenger log file (search for the Error ID) to find the details of the error.

You can also get a detailed report to appear directly on this page, but for security reasons it is only provided if Phusion Passenger is run with environment set to development and/or with the friendly error pages option set to on.

For more information about configuring environment and friendly error pages, see:

ログファイル: ApacheのErrorログファイル

App 1947 output:     /opt/canvaslms-2020.06.17.20-0/ruby/lib/ruby/gems/2.4.0/gems/passenger-5.3.7/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:380:in `run_block_and_record_step_progress'
App 1947 output:     /opt/canvaslms-2020.06.17.20-0/ruby/lib/ruby/gems/2.4.0/gems/passenger-5.3.7/src/helper-scripts/rack-preloader.rb:188:in `'
App 1947 output:     /opt/canvaslms-2020.06.17.20-0/ruby/lib/ruby/gems/2.4.0/gems/passenger-5.3.7/src/helper-scripts/rack-preloader.rb:30:in `'
App 1947 output:     /opt/canvaslms-2020.06.17.20-0/ruby/lib/ruby/gems/2.4.0/gems/passenger-5.3.7/src/helper-scripts/rack-preloader.rb:29:in `
' [ E 2020-07-02 05:39:09.0597 1396/Tq age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /opt/canvaslms-2020.06.17.20-0/apps/canvaslms/htdocs/: The application encountered the following error: Permission denied @ rb_sysopen - /opt/canvaslms-2020.06.17.20-0/apps/canvaslms/htdocs/config/outgoing_mail.yml (Errno::EACCES) Error ID: 079f6a97 Error details saved to: /tmp/passenger-error-eo0uMM.html [ E 2020-07-02 05:39:09.0624 1396/T8 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-4] Cannot checkout session because a spawning error occurred. The identifier of the error is 079f6a97. Please see earlier logs for details about the error. [ E 2020-07-02 05:39:09.0631 1396/T8 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-5] Cannot checkout session because a spawning error occurred. The identifier of the error is 079f6a97. Please see earlier logs for details about the error.

原因と対応としては、編集のために、設定ファイルのコピーして編集したことによるグループの変更およびパーミッションだった。

他の設定ファイルと同様のグループおよびファイルオーナーに、chown、chgrpで変更。そして、パーミッションがもともと、440だったので、440で再設定した。その後、再起動したところ、正常に表示できるようになった。また、YAMLの設定ファイルの内容で失敗しても、画面上は同じ感じのエラーが表示されるので、注意。

スポンサーリンク

シェアする

  • このエントリーをはてなブックマークに追加

フォローする