Error installing libapache2-mod-Passenger on Ubuntu

Asked

Viewed 64 times

2

I am unable to install libapache2-mod-Passenger on Ubuntu. I tried this command:

sudo apt-get install libapache2-mod-passenger

But returns the following error:

Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not restarting Apache 2

The complete return is:

Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Os NOVOS pacotes a seguir serão instalados:
  libapache2-mod-passenger
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 3 não atualizados.
É preciso baixar 0 B/220 kB de arquivos.
Depois desta operação, 788 kB adicionais de espaço em disco serão usados.
A seleccionar pacote anteriormente não seleccionado libapache2-mod-passenger.
(Lendo banco de dados ... 94884 ficheiros e directórios actualmente instalados.)
Preparing to unpack .../libapache2-mod-passenger_4.0.37-2_amd64.deb ...
Unpacking libapache2-mod-passenger (4.0.37-2) ...
Configurando libapache2-mod-passenger (4.0.37-2) ...
apache2_invoke: Enable module passenger
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not restarting Apache 2
  • 1

    Turn the command apachectl configtest and inform the output.

  • The command you reported "apachectl configtest", had not run, so I found that the "apache2-bin" package was missing. After installing this package, the installation of "libapache2-mod-Passenger" worked! Vlw!!! ^.^

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.