← Back to team overview

enterprise-support team mailing list archive

[Bug 1432989] [NEW] Apache2 default installation has lua module but no library

 

Public bug reported:

Bug 1323930 is marked as "Fix released" but the problem still exists:

If I enable the module "lua" in the apache2 default installation, I
cannot start the server:

$ docker run -it --rm ubuntu:trusty bash
root@6b882ad1774a:/# apt-get update
root@6b882ad1774a:/# apt-get install apache2

[...]

root@6b882ad1774a:/# a2enmod lua
Enabling module lua.
To activate the new configuration, you need to run:
  service apache2 restart
root@6b882ad1774a:/# apache2ctl -t      
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/lua.load: Cannot load /usr/lib/apache2/modules/mod_lua.so into server: /usr/lib/apache2/modules/mod_lua.so: cannot open shared object file: No such file or directory
Action '-t' failed.
The Apache error log may have more information.
root@6b882ad1774a:/# service apache2 start
 * Starting web server apache2                                                                                                                * 
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/lua.load: Cannot load /usr/lib/apache2/modules/mod_lua.so into server: /usr/lib/apache2/modules/mod_lua.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
root@6b882ad1774a:/# dpkg -l apache2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-===============================================================
ii  apache2                       2.4.7-1ubuntu4.4    amd64               Apache HTTP Server

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1432989

Title:
  Apache2 default installation has lua module but no library

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1432989/+subscriptions


Follow ups

References