Centos
CentOS 上的 Xen 錯誤
在使用此命令在 xen 中創建新虛擬伺服器期間
xen-create-image --hostname=minecraft.koanhosting.com --ip 87.98.249.146 --install -method=debootstrap
但我不斷收到此錯誤:
Writing inode tables: 0/32^H^H^H^H^H 1/32^H^H^H^H^H 2/32^H^H^H^H^H 3/32^H^H^H^H^H 4/32^H^H^H^H^H 5/32^H^H^H^H^H 6/32^H^H^H^H^H 7/32^H^H^H^H^H 8/32^H^H^H^H^H 9/32^H^H^H^H^H10/32^H^$ Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 28 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. Done Installation method: debootstrap Copying files from host to image. Copying files from /var/cache/apt/archives -> /tmp/LYC7oAQoxq/var/cache/apt/archives Done Done I: Retrieving Release E: Failed getting release file http://ftp.us.debian.org/debian/dists/etch/Release Copying files from new installation to host. Copying files from /tmp/LYC7oAQoxq/var/cache/apt/archives -> /var/cache/apt/archives Done Done The installation of the new system has failed. The system is missing the common file: /bin/ls Done System installation failed. Aborting
對於這個錯誤,似乎根本無法在Google上找到任何資源。我覺得這與 debootstrap 有關,但不確定。
xen-create-image
顯然, try todebootstrap
Etch的預設設置,幾乎不受支持的 Debian 版本二三年。Debian Wiki 有一個關於 Xen 的條目,其中有一節是關於使用
xen-tools
. 它給出了一個這樣的範例呼叫xen-create-image
:xen-create-image [..] --dist <lenny|squeeze|maverick|whatever>
因此,您可以嘗試將
--dist squeeze
(stable) 或--dist wheezy
(testing) 添加到命令行。如果這還不能解決問題,請仔細查看
/etc/xen-tools/xen-tools.conf
andman xen-create-image
。