Actions
Bug #21422
closederror when installing Rudder 7.2 on ubuntu22
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
apache2 won't start
The job identifier is 4161 and the job result is failed. Jul 18 10:46:00 server systemd[1]: apache2.service: Unit cannot be reloaded because it is inactive. Jul 18 10:46:41 server systemd[1]: Starting The Apache HTTP Server... ░░ Subject: A start job for unit apache2.service has begun execution ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit apache2.service has begun execution. ░░ ░░ The job identifier is 4337. Jul 18 10:46:41 server apachectl[15853]: AH00526: Syntax error on line 4 of /opt/rudder/etc/rudder-apache-webapp-ssl.conf: Jul 18 10:46:41 server apachectl[15853]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration Jul 18 10:46:41 server apachectl[15850]: Action 'start' failed. Jul 18 10:46:41 server apachectl[15850]: The Apache error log may have more information. Jul 18 10:46:41 server systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
line 4 is
# Prevent Chrome loop detection to block the page after too many # page reloads. <LocationMatch "/rudder(?!/relay-api|/api)"> Header add X-Chrome-Exponential-Throttling "disable" Header add X-UA-Compatible "IE=Edge" </LocationMatch>
Updated by Nicolas CHARLES over 2 years ago
apache2 is
# dpkg -l | grep apache ii apache2 2.4.52-1ubuntu4.1 amd64 Apache HTTP Server ii apache2-bin 2.4.52-1ubuntu4.1 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.52-1ubuntu4.1 all Apache HTTP Server (common files) ii apache2-utils 2.4.52-1ubuntu4.1 amd64 Apache HTTP Server (utility programs for web servers)
Updated by Nicolas CHARLES over 2 years ago
module headers is not activated
root@server:/opt/rudder# apache2ctl -M Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) dav_module (shared) dav_fs_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) mime_module (shared) mpm_event_module (shared) negotiation_module (shared) proxy_module (shared) proxy_http_module (shared) reqtimeout_module (shared) rewrite_module (shared) setenvif_module (shared) socache_shmcb_module (shared) ssl_module (shared) status_module (shared)
runnning a2enmod solves the issue
Updated by Benoît PECCATTE over 2 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE over 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2651
Updated by Benoît PECCATTE over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|947b72676faa881c7a16a85226175428692949e0.
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.0~rc1 which was released today.
Actions