On 5 June 2012 11:44, Song, Elen <Elen.Song@atmel.com> wrote:

Hi Spring and All:

 

I’m using lava-deployment-tool-0.3-2012-03.tar.gz to install lava-server on ubuntu-12.04-LTS

1../lava-deployment-tool setup
2 ./lava-deployment-tool bundle requirement/requirements-latest.txt
3 ./lava-deployment-tool install testinstance lava.pybundle
4 sudo start lava-instance LAVA_INSTANCE=testinstance

 

In setp2 , I change download to download/old for uwsgi compiling in lava-deployment-tool

Then add simplejson ==2.3.2 in requirement-latest.txt to make compile ok.

 

When I open http://10.217.2.155/lava-server, it says:

What is the IP? I guess it is your lava-server ip?
 

Bad Gateway

 

The proxy server received an invalid response from an upstream server.

Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 80

 

Do you know there is any workaround ?

Do you use a proxy? If yes, you can try http://localhost/lava-server

If that can't work, the simplest way is to disable default site config in apache2:
ls /etc/apache2/sites-enabled
There should be a 'default' and a testinstance.conf, we need to disable default for two configs use 80 port to listen both.
# sudo a2dissite default
# sudo service apache2 reload
But a2dissite doesn't work for me, if that case, please delete 'default' symlink directly:
# sudo rm /etc/apache2/sites-enabled/default
# sudo service apache2 reload

Then it should work.

 

BestRegards

Elen Song

 




--
Best wishes,
Spring Zhang