canvas-lms
canvas-lms copied to clipboard
Canvas Does not start under Ubuntu 16.04 following the production installation
Summary:
I following all the steps on the Production Installation Manual on this link:
https://github.com/instructure/canvas-lms/wiki/Production-Start
And everything was successful installed, and configured.... the database, canvasuser, permissions, compiled files, and soo on.
But when I try to access using the URL in my example https://192.168.0.19/ the apache log shows the next error:
App 11155 stdout: App 11155 stderr: *** ERROR ***: Cannot execute /usr/bin: Permission denied (13) [ 2019-05-09 21:48:09.4861 10974/7f8abcd44700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /opt/canvas: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Error ID: 9d8c2528 Error details saved to: /tmp/passenger-error-ktpcbU.html Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.
Raw process output:
*** ERROR ***: Cannot execute /usr/bin: Permission denied (13)[ 2019-05-09 21:48:09.4944 10974/7f8abe649700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 2-2] Cannot checkout session because a spawning error occurred. The identifier of the error is 9d8c2528. Please see earlier logs for details about the error.
And the page shows the message:
We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.
I try to get all the granted permissions using on the apache passenger.conf module to the user canvasuser, and is the owned of the directory /var/canvas, but still getting this error.
My configuration is:
- Ubuntu 16.04 LTS Server 64Bits
- PostgresSQL 9.5.16,
- Apache2 2.4.18 , that comes with the distribution
- Redis-server 5.0.4
- Phusion_Passenger/5.0.27
- Ruby 2.4
Steps to reproduce:
- Install Ubuntu 16.04 LTS
- Follow the instructions on https://github.com/instructure/canvas-lms/wiki/Production-Start 3.Try to access using the browser where was installed
Expected behavior:
Access to the Canvas Application
Actual behavior:
Shows the error page with the message:
We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.
Using Mozilla FireFox and Google Chrome under windows 10.
Additional notes:
Thanks for contributing to this issue. As it has been 2 years since the last activity, we are automatically closing the issue in 30 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please respond before the issue is closed, or post a message on the mailing list. We'll gladly take a look again!