2018-11-14, 22:58
(2018-11-14, 20:57)rpbg Wrote: @cmik,Maybe look at this : https://community.atlassian.com/t5/Quest...q-p/433267
I checked the ports.conf and found 2 entries of Listen 443:
-------------------------
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
------------------------
In addition, I also checked the enabled modules as you suggested and my apache2 directory is the same as what you have posted.
Furthermore, I executed @d8a3th suggestion, see below for easy reference.
-----------------------------
1) sudo a2enmod headers
then
2) sudo service apache2 restart
----------------------------
but it did not solve my issue .
The results below is similar to what I have reported yesterday:
----------------------------------
-- Unit apache2.service has begun starting up.
Nov 14 19:29:39 osmc apachectl[10934]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/default-ssl.conf:
Nov 14 19:29:39 osmc apachectl[10934]: Invalid command '\xc2\xa0', perhaps misspelled or defined by a module not included in the server configuration
Nov 14 19:29:39 osmc apachectl[10934]: Action 'start' failed.
Nov 14 19:29:39 osmc apachectl[10934]: The Apache error log may have more information.
Nov 14 19:29:39 osmc systemd[1]: apache2.service: Control process exited, code=exited status=1
Nov 14 19:29:39 osmc systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Nov 14 19:29:39 osmc systemd[1]: apache2.service: Unit entered failed state.
Nov 14 19:29:39 osmc systemd[1]: apache2.service: Failed with result 'exit-code'.
Nov 14 19:29:39 osmc sudo[10928]: pam_unix(sudoession): session closed for user root
----------------------------------
Any furhter hints where I can look into?
Thanks in advanced.