Page MenuHomekolab.org

setup-kolab on Debian Jessie does not restart apache
Closed, ResolvedPublic

Description

at the end of setup-kolab I get two times this error:

[00:47:19] Failed to restart httpd.service: Unit httpd.service failed to load: No such file or directory.
[00:47:19] Failed to execute operation: No such file or directory

it checks for /usr/lib/systemd/system/apache2.service, but on my Debian Jessie test system there is not such a file.
should be checking for /lib/systemd/system/apache2.service.d/forking.conf instead?

in https://cgit.kolab.org/pykolab/tree/pykolab/setup/setup_syncroton.py#n90
and https://cgit.kolab.org/pykolab/tree/pykolab/setup/setup_roundcube.py#n291

systemctl status apache2
* apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
  Drop-In: /lib/systemd/system/apache2.service.d
           `-forking.conf
   Active: active (running) since Do 2016-11-17 09:47:04 CET; 13min ago
  Process: 19210 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  Process: 19233 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)

Details

Ticket Type
Task

Related Objects

Event Timeline

pokorra created this task.Nov 17 2016, 10:14 AM
pokorra added a project: Jessie.
pokorra added a subscriber: Jessie.
machniak closed this task as Resolved.Dec 28 2016, 7:43 PM
machniak added projects: PyKolab, Kolab 16.
machniak claimed this task.
machniak added a subscriber: machniak.

This was fixed in 66310b2fc46138.