Release [CMIK] TFC.tv addon - repo / updates / support
(2018-11-17, 15:41)markv Wrote:
(2018-11-17, 14:50)cmik Wrote:
(2018-11-17, 14:28)markv Wrote: I couldn't get this to work on Apache, it wouldn't even start once I load the configuration file, it immediately crashes when I do 
ssh:
sudo service apache2 restart
. Apache won't start until I remove the config file.

The apache error log only gives this:
xml:
[Sat Nov 17 12:05:38.195003 2018][ssl:warn][pid 26:tid 140268903777472] AH01909: 172.17.0.2:443:0 server certificate does NOT include an ID which matches the server name
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
[Sat Nov 17 12:05:38.217427 2018][ssl:warn][pid 26:tid 140268903777472] AH01909: 172.17.0.2:443:0 server certificate does NOT include an ID which matches the server name
[Sat Nov 17 12:05:38.219076 2018][mpm_event:notice][pid 26:tid 140268903777472] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sat Nov 17 12:05:38.221437 2018][core:notice][pid 26:tid 140268903777472] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
[Sat Nov 17 12:11:14.775481 2018][mpm_event:notice][pid 26:tid 140268903777472] AH00491: caught SIGTERM, shutting down

I also wonder what port will Kodi hit when it hits Apache, will it go straight to 443? The hosts file looks to me that it goes to port 80, but it's not configured in Apache? [emoji848] 

It is 443 (https).
Check if you have SSL enabled (with Listen 443 in ports.conf file) and headers also which I’ve forgotten in my post.  
 
Thanks for the quick response, it still wouldn't work, I believe I've enabled all the modules you've stated

xml:

root@f0cd383339df:~# a2enmod ssl
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
root@f0cd383339df:~# a2enmod proxy
Module proxy already enabled
root@f0cd383339df:~# a2enmod proxy_http
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
root@f0cd383339df:~# a2enmod headers
Module headers already enabled
root@f0cd383339df:~# service apache2 reload
[FAIL] Reloading Apache httpd web server: apache2 failed!
[warn] The apache2 configtest failed. Not doing anything. ... (warning).
Output of config test was:
AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/default-ssl.conf:
Invalid command '\xc2\xa0', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
root@f0cd383339df:~#

I only did reload just so it wouldn't crash, apache wouldn't start again without it getting fixed first.


and ports.conf looks ok:

xml:

Listen 80

<IfModule ssl_module>
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>

For that error message, please look at what I’ve answered to rpbg on posts above.
Reply


Messages In This Thread
kodi mysql - by Eon0613 - 2017-08-04, 17:10
Installing on Apple TV - by vaderlives4ever - 2017-08-14, 15:00
[CMIK] TFC.tv addon - repo / updates / support - by cmik - 2018-11-17, 15:54
Playlist - by tonsan - 2019-05-07, 03:20
Logout Mark Read Team Forum Stats Members Help
[CMIK] TFC.tv addon - repo / updates / support10