Bug 39147

Summary: passenger: Option 'packaging_method' missing
Product: Sisyphus Reporter: Bolshedvorsky Evgeny <jenya>
Component: passengerAssignee: majioa <majioa>
Status: REOPENED --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: 3aHyga, admsasha, amakeenk, cas, majioa, mike, nbr, pav, rider, thatman
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Bolshedvorsky Evgeny 2020-10-27 12:27:19 MSK
После включения  и запуске 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'
Comment 1 Alexander Makeenkov 2025-10-02 11:30:04 MSK
Ошибка воспроизводится:

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'