virtual server starting up error

Hello,

There is an error while starting a system:

Starting up vps1.cloudmin.localdomain …
… failed : Error: Unable to open config file: /xen/vps1.cfg Usage: xm create [options] [vars] Create a domain based on . Options: -h, --help Print this help. --help_config Print the available configuration variables (vars) for the configuration script. -q, --quiet Quiet. --path=PATH Search path for configuration scripts. The value of PATH is a colon-separated directory list. -f=FILE, --defconfig=FILE Use the given Python configuration script.The configuration script is loaded after arguments have been processed. Each command-line option sets a configuration variable named after its long option name, and these variables are placed in the environment of the script before it is loaded. Variables for options that may be repeated have list values. Other variables can be set using VAR=VAL on the command line. After the script is loaded, option values that were not set on the command line are replaced by the values set in the script. -F=FILE, --config=FILE Domain configuration to use (SXP). SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the -n (dryrun) option to print the configuration. -n, --dryrun Dry run - prints the resulting configuration in SXP but does not create the domain. -p, --paused Leave the domain paused after it is created. -c, --console_autoconnect Connect to the console after the domain is created.

But a command from shell works fine:

[root@localhost ~]# xm create /xen/vps1.cfg
Using config file “/xen/vps1.cfg”.
Using <class ‘grub.GrubConf.GrubConfigFile’> to parse /boot/grub/grub.conf
Started domain vps1

Any ideas?

Howdy,

Which distribution/version are you using? And what Xen image were you trying to load?

-Eric

I did see something like this once before, and I think the cause was SElinux being enabled on the host system . Try turning it off by editing /etc/sysconfig/selinux and changing the SELINUX= line to SELINUX=disabled , then rebooting.

When the startup fails, what gets logged to /var/log/xen/xend.log on your host system?