cmusatyalab / elijah-cloudlet

Elijah cloudlet system
http://elijah.cs.cmu.edu/
43 stars 13 forks source link

Errorinstalling Cloudlet #16

Closed HFarahat closed 10 years ago

HFarahat commented 10 years ago

Hi, I have a problem in installing the cloudlet software ( Elijah-provisioning) system on my Ubuntu 12.10 (32bit) machine. I get this error when i run cloudlet:

Traceback (most recent call last): File "/usr/local/bin/cloudlet", line 317, in status = main(sys.argv) File "/usr/local/bin/cloudlet", line 108, in main if not synthesis.validate_congifuration(): File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 1479, in validate_congifuration close_fds=True) File "/usr/lib/python2.7/subprocess.py", line 679, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child raise child_exception OSError: [Errno 8] Exec format error

I think i have missed something in the setup process. How to fix this issue?

Another question, I'm trying to install the system and run any cloudlet application on it ( client and backend server). Do you have sample applications that i can use? I can see that there is an client application called "Face recognition", where is the VM overlay for this app?

Thanks a lot for your effort.

Regards,

krha commented 10 years ago

Hello @HFarahat

Thanks for the interest!

The problem is 32bit OS. Unfortunately, the provisioning code now includes some of the binaries that are complied in 64bits environment. One of them is modified QEMU/KVM. Your error message basically says that it cannot execute this 64bit compiled binary on your 32bit machine.

In the error message, we validate several configurations, but it failed to run this binary.

    synthesis.validate_congifuration()

We'll open this modified QEMU/KVM soon (within a few weeks, probably), so you can compile it again for 32bit machine, but I strongly recommend 64bit not only for this reason, but also for running VMs. As far as I know, you cannot run 64bit VM on top of 32bit host OS.

HFarahat commented 10 years ago

Hi Krha, Thanks for your quick reply. I was suspecting that my 32-bit machine won't work. I will switch to 64-bit soon.

What about the second question? D you have a complete working example that uses your cloudlet system?

Thanks again.

Regards,

krha commented 10 years ago

I'm contacting co-works to provide one of sample application. But still it will be a binary rather than a source code. Thanks.

HFarahat commented 10 years ago

Thanks

krha commented 10 years ago

Hello @HFarahat

I have committed sample application, Fluid simulation, and update code to make it much easy to use. So please do git pull and read README file!