Opened 4 years ago

Last modified 4 years ago

#2470 closed task

osgeo6 issue with docs.geotools.org ssl — at Version 1

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2020-I
Component: SysAdmin Keywords:
Cc:

Description (last modified by robe)

Looking into this now

note from neteler

I tried to update a redirect link in the (old) grass server but cannot reload the apache config:

Jun 03 13:15:24 osgeo6 systemd[1]: Reloading LSB: Apache2 web server.
Jun 03 13:15:24 osgeo6 apache2[29872]: Reloading web server: apache2 failed!
Jun 03 13:15:24 osgeo6 apache2[29872]: The apache2 configtest failed.
Not doing anything. ... (warning).
Jun 03 13:15:24 osgeo6 apache2[29872]: Output of config test was:
Jun 03 13:15:24 osgeo6 apache2[29872]: apache2: Syntax error on line
219 of /etc/apache2/apache2.conf: Syntax error on line 20 of /etc/apache2/sites-enabled/docs.geotools.o...or directory Jun 03 13:15:24 osgeo6 apache2[29872]: Action 'configtest' failed.
Jun 03 13:15:24 osgeo6 apache2[29872]: The Apache error log may have more information.
Jun 03 13:15:24 osgeo6 systemd[1]: apache2.service: control process exited, code=exited status=1 Jun 03 13:15:24 osgeo6 systemd[1]: Reload failed for LSB: Apache2 web server.

The reason is:


cat /etc/apache2/sites-enabled/docs.geotools.org-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost 140.211.15.3:443>

    ServerAdmin sac@lists.osgeo.org
    ServerName docs.geotools.org

    ErrorLog ${APACHE_LOG_DIR}/docs.geotools.org-error.log
...
Include /etc/letsencrypt/options-ssl-apache.conf         <==== does not exist
</VirtualHost>
</IfModule>

I don't know which one would be right:

locate options-ssl-apache.conf
/etc/apache2/includes/options-ssl-apache.conf
...
/root/etc/osgeo6/apache2/includes/options-ssl-apache.conf
/root/etc/osgeo6/letsencrypt/options-ssl-apache.conf


Change History (1)

comment:1 by robe, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.