После включения и запуске apache2 в error_log получаю: Passenger could not be initialized because of this error: Option 'packaging_method' missing in file '/usr/lib/ruby/gems/2.5.0/gems/passenger-6.0.4/locations.ini Попытки добавлять опцию приводят к дальнейшим ошибкам: Passenger could not be initialized because of this error: Option 'bin_dir' missing in file '/usr/lib/ruby/gems/2.5.0/gems/passenger-6.0.4/locations.ini'
Ошибка воспроизводится: passenger-6.0.23-alt1 # apt-get install passenger apache2-mod-passenger .... /usr/sbin/apachectl2: line 134: /usr/sbin/httpd2: No such file or directory Some errors detected in Apache2 configuration! To use mod_passenger check configuration and start httpd2 service. Завершено. # systemctl start httpd2.service # tail -f /var/log/httpd2/* ==> /var/log/httpd2/error_log <== [Thu Oct 02 11:18:25.225628 2025] [passenger:error] [pid 11505:tid 11505] *** Passenger could not be initialized because of this error: Option 'packaging_method' missing in file '/usr/lib/ruby/gemie/gems/passenger-6.0.23/locations.ini'