Bug 39147 - passenger: Option 'packaging_method' missing
Summary: passenger: Option 'packaging_method' missing
Status: REOPENED
Alias: None
Product: Sisyphus
Classification: Development
Component: passenger (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-27 12:27 MSK by Bolshedvorsky Evgeny
Modified: 2025-10-02 11:30 MSK (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'