Content
OpenProject not starting after fresh installation
I just performed a fresh installation of OpenProject using the package manager installation. However when I try to access the page/service I get an error from Apache
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
This is what I get as my service file:
[Unit]
StopWhenUnneeded=true
[Service]
# this service is just a placeholder
ExecStart=/bin/sleep infinity
[Install]
WantedBy=multi-user.target
Is this service file correct (I see it says it's a placeholder, but I'm not sure if that's for the devs or the sysadmin), or is it a problem? Does that mean that the "/bin/sleep infinity" I see in my process list "ps -ef" could actually be indicating that openproject IS running (since ps -ef | grep roject
returns nothing...)
This is the output of systemctl status openproject
which does indicate the service is running--but if the service is just "sleep infinity" that's hardly what I was hoping for!
+ systemctl status openproject
openproject.service -
Loaded: loaded (/etc/systemd/system/openproject.service, enabled)
Active: active (running)
Replies (2)
Check Configuration Files: Make sure that the OpenProject configuration files are correctly set up, including Apache configurations, database settings, and other relevant configuration files. Verify that the paths and settings are accurate.
Check Apache Configuration: Review your Apache configuration files (usually found in /etc/apache2/sites-available/ or /etc/httpd/conf.d/) to ensure that they are correctly configured to serve OpenProject. Check for any errors in your Apache configuration that may be causing the "Service Unavailable" error.
Check Logs: Examine the Apache error logs (typically found in /var/log/apache2/error.log or /var/log/httpd/error_log) and OpenProject logs for any error messages or issues that may provide more details about the problem. Myecp Login
Database Connection: Ensure that OpenProject can connect to the database server specified in its configuration files. Check database credentials, permissions, and network connectivity.
System Resources: Verify that the server has adequate system resources (CPU, RAM, disk space) available to run OpenProject.
Restart Services: After making any necessary configuration changes, restart both Apache and the OpenProject service to apply the changes. Use the following commands:
Thanks for the response though I admit I'm confused by the "myecp login" link in your response, was that an example of some sort or just pasted to the wrong place? Regardless I appreciate you mentioning file paths in your response.
In fact, this is an example of what I found in the
/var/log/apache2/error.log
file. The full log has many more lines but they seem to all be some form offailed to connect
This to me indicates that Apache is attempting to (correctly) refer traffic to OpenProject but OpenProject is just not there (or at least not listening)?