Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Failed to start LSB: Apache2 web server.

Failed to start LSB: Apache2 web server.

Added by Nathan Petralia over 8 years ago

After rebooting the server, openproject failed to start.
This is the error…

Job for apache2.service failed. See ‘systemctl status apache2.service’ and ‘journalctl -xn’ for details.
root@svnserver:/var/log/apache2# systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Mon 2016-09-05 11:26:10 HKT; 9s ago
Process: 4926 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 4478 ExecReload=/etc/init.d/apache2 reload (code=exited, status=1/FAILURE)
Process: 5128 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Sep 05 11:26:10 svnserver apache2[5128]: Starting web server: apache2 failed!
Sep 05 11:26:10 svnserver apache2[5128]: The apache2 configtest failed. … (warning).
Sep 05 11:26:10 svnserver apache2[5128]: Output of config test was:
Sep 05 11:26:10 svnserver apache2[5128]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/sites-enabled/openproject.conf: No matches for the wildcard ‘*.conf’ in ‘/etc/openproject/addons/apache2/includes/server’, failing (use IncludeOptional if required)
Sep 05 11:26:10 svnserver apache2[5128]: Action ‘configtest’ failed.
Sep 05 11:26:10 svnserver apache2[5128]: The Apache error log may have more information.
Sep 05 11:26:10 svnserver systemd[1]: apache2.service: control process exited, code=exited status=1
Sep 05 11:26:10 svnserver systemd[1]: Failed to start LSB: Apache2 web server.
Sep 05 11:26:10 svnserver systemd[1]: Unit apache2.service entered failed state.

I have added IncludeOptional in the apache2.conf (was already there) and in openproject.conf (only had Include).

I don’t know what else to do.

Also both /var/log/apache2/access.log and /var/log/apache2/error.log are empty… is that even normal?


Replies (1)

RE: Failed to start LSB: Apache2 web server. - Added by Oliver Jakobi over 8 years ago

Hi Nathan,

did you install via package install?
If so, did you choose to configure apache2, or did you skip it?

What does “ls /etc/openproject/addons/apache2/includes/server” show you? Is the directory empty?

If you issue an “curl 127.0.0.1:6000” (only if you used package install!!), what is the output?

  • (1 - 1/1)
Loading...