Bug ID: 939829 Summary: nagios from server:monitoring breaks apache due to deprecated config files Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Apache Assignee: firstname.lastname@example.org Reporter: email@example.com QA Contact: firstname.lastname@example.org Found By: --- Blocker: ---
On a fresh Tumbleweed installation I installed nagios from server:monitoring. Then I couldn't restart apache. Journalctl shows:
Jul 29 11:01:18 tumbleweed start_apache2: AH00526: Syntax error on line 14 of /etc/apache2/conf.d/nagios.conf: Jul 29 11:01:18 tumbleweed start_apache2: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
The reason: "Order" is from apache 2.2 but with tumbleweed apache 2.4 is shipped.
According to http://httpd.apache.org/docs/2.4/upgrading.html two solutions for this probelm exist: 1) using "Require" instead of order for apache 2.4 2) mod_access_compat can be used.
Solution 1) is IMHO the way to go. However it's incompatible with apache 2.2 and server:monitoring builds for lots of distributions. Is any of these still using apache 2.2?