Error in apache config during ec2 demo

Bug #993300 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad Developer Utilities
Triaged
Low
Unassigned

Bug Description

Running 'ec2 demo' shows the following errors:

Enabling site local-launchpad.
Run '/etc/init.d/apache2 reload' to activate new configuration!
/etc/init.d/apache2 restart
 * Restarting web server apache2
 * We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
 ... waiting Warning: DocumentRoot [/var/tmp/ppa] does not exist
Warning: DocumentRoot [/var/tmp/archive] does not exist
Syntax error on line 157 of /etc/apache2/sites-enabled/local-launchpad:
Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration
   ...fail!
make: *** [reload-apache] Error 1
Traceback (most recent call last):
  File "/home/jml/src/lp-dev-utils/ec2test/instance.py", line 473, in set_up_and_run
    retval = func(*args, **kw)
  File "/home/jml/src/lp-dev-utils/ec2test/builtins.py", line 545, in run_server
    runner.run_demo_server()
  File "/home/jml/src/lp-dev-utils/ec2test/testrunner.py", line 449, in run_demo_server
    p('cd /var/launchpad/test/; sudo make install')
  File "/home/jml/src/lp-dev-utils/ec2test/instance.py", line 698, in perform
    raise RuntimeError('Command failed: %s' % (cmd,))
RuntimeError: Command failed: cd /var/launchpad/test/; sudo make install

Tags: ec2
Revision history for this message
Jonathan Lange (jml) wrote :

I'm pretty sure that this is because libapache2-mod-wsgi is not installed.

Changed in lp-dev-utils:
status: New → Triaged
importance: Undecided → Critical
tags: added: ec2
William Grant (wgrant)
Changed in lp-dev-utils:
importance: Critical → High
importance: High → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.