nagios-charmers team mailing list archive
-
nagios-charmers team
-
Mailing list archive
-
Message #01384
[Bug 2009924] Re: SSL config is not working for Apache2.4
We couldn't reproduce this issue. Below are the steps followed:
Deploy Nagios rev 56, then SSH to it
`juju deploy nagios central-monitor --channel latest/stable --revision 56`
`juju ssh central-monitor/0`
Check the Apache service
`systemctl status apache2` # Active (Running)
Examine Apache2 error log
`cat /var/log/apache2/error.log | less`
List enabled modules
`ls /etc/apache2/mods-enabled/` or `apache2ctl -M` # access_compat is enabled by default
Configure SSL
`juju config central-monitor ssl=on`
Re-perform the above checks again.
After that, we performed the same tests on rev 58 (latest), and got the
same results. Then @nkoltsov explained to us that this issue occurred in
an old cloud while configuring SSL after upgrading it from Xenial to
Bionic. So the overall scenario was, upgrade from Xenial to Bionic and
then add SSL to Nagios.
However, we got the same result when we performed these steps and
upgraded to Bionic - The access_compat module is enabled and loaded by
default.
** Changed in: charm-nagios
Assignee: (unassigned) => Mohammed Alhabib (alhama7a)
** Changed in: charm-nagios
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/2009924
Title:
SSL config is not working for Apache2.4
Status in Nagios Charm:
Incomplete
Bug description:
Adding SSL certificate to the charm(rev 56) deployed to bionic causing
the following error:
AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/default-ssl.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configurationAH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/default-ssl.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
The problem caused by deprecation order keyword in apache 2.4(https://httpd.apache.org/docs/2.4/upgrading.html) to fix that either config need to be adjusted either one module need to be loaded.
Temporary fix was the done by running the following command:
sudo a2enmod access_compat
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/2009924/+subscriptions
References