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 13th September 2008, 09:11
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Xen - fails to start virtual machine

Hi folks,


Debian Etch
No partition on HD


I follow;
http://www.howtoforge.com/debian_etch_xen_3.1


to build Xen. Not much problem encountered during installation


I already have "vserver" directory created.


# ls -la /vserver/
total 8
drwxr-xr-x 2 root root 4096 2008-09-12 23:19 .
drwxr-xr-x 23 root root 4096 2008-09-12 23:19 ..


# ls -ld /vserver/
drwxr-xr-x 2 root root 4096 2008-09-12 23:19 /vserver/


coming to;
To start the virtual machine


I don't have "example.com" but "satimis.com"


So I did;

# cp -p /etc/xen/xen1.example.com.cfg /etc/xen/xen1.satimis.com.cfg

# nano /etc/xen/xen1.satimis.com.cfg
changing all "example.com" to "satimis.com"


# xm create /etc/xen/xen1.satimis.com.cfg
Code:
Using config file "/etc/xen/xen1.satimis.com.cfg".
Error: Device 769 (vbd) could not be connected. /vserver/domains/xen1.satimis.com/disk.img does not exist.

Please advise how to proceed. TIA


B.R.
satimis
Reply With Quote
Sponsored Links
  #2  
Old 13th September 2008, 14:03
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Problem SOLVED

Hi folks,


I found the cause of my problem.


I made a mistake running;
Code:
# xen-create-image --hostname=xen1.example.com --size=2Gb --swap=256Mb --ide \
> --ip=192.168.0.111 --netmask=255.255.255.0 --gateway=192.168.0.1 --force \
> --dir=/vserver --memory=32Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.18-xen \
> --debootstrap --dist=etch --mirror=http://ftp.au.debian.org/debian/ --passwd

It should be;
Code:
# xen-create-image --hostname=xen1.satimis.com --size=2Gb --swap=256Mb --ide \

Re-run;
Code:
# xen-create-image --hostname=xen1.satimis.com --size=2Gb --swap=256Mb --ide \
> --ip=192.168.0.111 --netmask=255.255.255.0 --gateway=192.168.0.1 --force \
> --dir=/vserver --memory=32Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.18-xen \
> --debootstrap --dist=etch --mirror=http://ftp.au.debian.org/debian/ --passwd

# xm create /etc/xen/xen1.satimis.com.cfg
Code:
Using config file "/etc/xen/xen1.satimis.com.cfg".
Started domain xen1.satimis.com

Problem gone NOW.


The remaining problem is how to remove "/etc/xen/xen1.example.com.cfg"? Remove it manually?


TIA


B.R.
satimis
Reply With Quote
  #3  
Old 14th September 2008, 18:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Take a look at the xen-delete-image command:
Code:
man xen-delete-image
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 16th September 2008, 06:23
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by falko View Post
Take a look at the xen-delete-image command:
Code:
man xen-delete-image
Noted and thanks


B.R.
satimis
Reply With Quote
Reply

Bookmarks

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
Monit & Munin SamTzu HOWTO-Related Questions 1 4th May 2008 18:03
Unable to start virtual machine satimis Server Operation 2 20th December 2007 17:15
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 21:58
Can CentOS 5 run as guest OS on VMWare server satimis Installation/Configuration 9 8th October 2007 14:39
Problem setting up LVS (load-balancer, linux virtual server) in Xen Virtual Machine cifroes Server Operation 1 7th November 2006 16:55


All times are GMT +2. The time now is 10:39.


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