Bug 36344 - Ошибка в конфигурации /etc/httpd2/conf/sites-enabled/libreoffice-online.conf
Summary: Ошибка в конфигурации /etc/httpd2/conf/sites-enabled/libreoffice-online.conf
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libreoffice-online-apache2 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-22 10:35 MSK by IvanKhakhaev
Modified: 2021-07-29 17:39 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IvanKhakhaev 2019-03-22 10:35:28 MSK
# 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 в репозитории.
Comment 1 IvanKhakhaev 2019-03-26 09:59:18 MSK
После 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
Comment 2 Aleksei Nikiforov 2021-07-29 17:10:34 MSK
На Сизифе проблема с ae2nmod proxy подтвердилась, поправлю, а с сертификатами - не воспроизвелась.
Comment 3 Repository Robot 2021-07-29 17:39:43 MSK
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).