# service httpd2 start Job for httpd2.service failed because the control process exited with error code. See "systemctl status httpd2.service" and "journalctl -xe" for details. # journalctl -xe -- Начат процесс запуска юнита httpd2.service. мар 22 10:26:07 alt.test.srv apachectl2[5439]: AH00526: Syntax error on line 23 of /etc/httpd2/conf/sites-enabled/libreoffice-online.conf: мар 22 10:26:07 alt.test.srv apachectl2[5439]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration мар 22 10:26:12 alt.test.srv systemd[1]: httpd2.service: Control process exited, code=exited status=3 мар 22 10:26:12 alt.test.srv systemd[1]: httpd2.service: Failed with result 'exit-code'. мар 22 10:26:12 alt.test.srv systemd[1]: Failed to start The Apache2 HTTP Server. -- Subject: Ошибка юнита httpd2.service -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Произошел сбой юнита httpd2.service. # ------ Возможная причина - отсутствие модуля apache2-mod_proxy в репозитории.
После a2enmod proxy получаем следующее: # service httpd2 start Job for httpd2.service failed because the control process exited with error code. See "systemctl status httpd2.service" and "journalctl -xe" for details. # journalctl -xe ... -- Начат процесс запуска юнита httpd2.service. мар 26 09:57:12 alt.test.srv apachectl2[2365]: AH00526: Syntax error on line 6 of /etc/httpd2/conf/sites-enabled/libreoffice-online.conf: мар 26 09:57:12 alt.test.srv apachectl2[2365]: SSLCertificateFile: file '/etc/libreoffice-online/cert.pem' does not exist or is empty мар 26 09:57:17 alt.test.srv systemd[1]: httpd2.service: Control process exited, code=exited status=3 мар 26 09:57:17 alt.test.srv systemd[1]: httpd2.service: Failed with result 'exit-code'. мар 26 09:57:17 alt.test.srv systemd[1]: Failed to start The Apache2 HTTP Server. -- Subject: Ошибка юнита httpd2.service
На Сизифе проблема с ae2nmod proxy подтвердилась, поправлю, а с сертификатами - не воспроизвелась.
libreoffice-online-6.2.3.2-alt7 -> sisyphus: Thu Jul 29 2021 Aleksei Nikiforov <darktemplar@altlinux> 6.2.3.2-alt7 - Enabled additional modules for Apache2 (Closes: #36344).