Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th February 2012, 14:39
andresmontanez andresmontanez is offline
Junior Member
 
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtualization With KVM On Ubuntu 11.10

Hi folks, I'm having a problem with this how to;
after I run the vmbuilder command; it dies with:

W: Failure trying to run: chroot /tmp/tmpgV5qi2 mount -t proc proc /proc
, stderr:


Looking at the info the error comes from:

W: Failure trying to run: chroot /tmp/tmpgV5qi2 mount -t proc proc /proc
, stderr:
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.main()
File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 216, in main
distro.build_chroot()
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 83, in build_chroot
self.call_hooks('bootstrap')
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 135, in bootstrap
self.suite.debootstrap()
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 269, in debootstrap
run_cmd(*cmd, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 120, in run_cmd
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', '--arch=amd64', 'natty', '/tmp/tmpgV5qi2', 'http://de.archive.ubuntu.com/ubuntu']) returned 1. stdout: I: Retrieving Release


Digging up a bit looks like that it can't mount the proc inside the chrooted environment.

Any idea on how to fix this?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 9th February 2012, 18:25
andresmontanez andresmontanez is offline
Junior Member
 
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Solved

Ok, the kernel was the problem.
It was a custom kernel installed by the hosting provider.
So I apt-get install'ed the distros kernel; upgraded grub; rebooted; and done!
Reply With Quote
Reply

Bookmarks

Tags
kvm, ubuntu, virtualization

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Virtualization With KVM On Ubuntu 8.10 (Problems with LVM) frippz HOWTO-Related Questions 9 17th January 2012 01:09
Connection timed out on intermail outgoing mails gouravgarg Server Operation 6 5th March 2010 21:31
Virtualization With KVM On Ubuntu 9.10 can't log in DrJohn HOWTO-Related Questions 2 2nd February 2010 08:23
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 14:49
KVM Virtualization With Enomalism 2 On An Ubuntu 8.10 Server xps HOWTO-Related Questions 1 5th April 2009 16:02


All times are GMT +2. The time now is 16:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.