xen create image fehler

chrismaden

Keep it Low
Hallo wollte mal eine Image erstellen und bekam einen komischen fehler vielleicht wisst ihr mehr darüber weiss selber nicht was ich machen soll...

OS: Debian Lenny
Code:
host:~/workarea/xen# xen-create-image --hostname=xen1.domain.de --size=2Gb --swap=256Mb --ip=x.x.x.x --memory=128Mb --arch=amd64 --role=udev
Can't locate File/Slurp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/xt-guess-suite-and-mirror line 73.
BEGIN failed--compilation aborted at /usr/bin/xt-guess-suite-and-mirror line 73.

General Information
--------------------
Hostname       :  xen1.domain.de
Distribution   :
Mirror         :  http://ftp.de.debian.org/debian/
Partitions     :  swap            256Mb (swap)
                  /               2Gb   (ext3)
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.26-1-xen-amd64
Initrd path    :  /boot/initrd.img-2.6.26-1-xen-amd64

Networking Information
----------------------
IP Address 1   : x.x.x.x [MAC: x:x:x:x:x:x]
Netmask        : 255.255.255.0
Broadcast      : x.x.x.x
Gateway        : x.x.x.x


Creating partition image: /workarea/xen/domains/xen1.domain.de/swap.img
Done

Creating swap on /workarea/xen/domains/xen1.domain.de/swap.img
Done

Creating partition image: /workarea/xen/domains/xen1.domain.de/disk.img
Done

Creating ext3 filesystem on /workarea/xen/domains/xen1.domain.de/disk.img
Done
Installation method: debootstrap
Running command 'xt-install-image --hostname=xen1.domain.de --location=/tmp/MJXlvd6GFz --dist= --install-method=debootstrap --mirror=http://ftp.de.debian.org/debian/ --cache=yes --cachedir=/var/cache/apt/archives/ --arch=amd64 2>&1' failed with exit code 256.
Aborting
See /var/log/xen-tools/xen1.domain.de.log for details
/tmp/MJXlvd6GFz/etc/ssh/ssh_host_rsa_key.pub: No such file or directory


Logfile produced at:
         /var/log/xen-tools/xen1.domain.de.log
Can't locate File/Slurp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/xt-guess-suite-and-mirror line 73.
BEGIN failed--compilation aborted at /usr/bin/xt-guess-suite-and-mirror line 73.
Removing: /workarea/xen/domains/xen1.domain.de
Logfile:
Code:
General Information
--------------------
Hostname       :  xen1.domain.de
Distribution   :
Mirror         :  http://ftp.de.debian.org/debian/
Partitions     :  swap            256Mb (swap)
                  /               2Gb   (ext3)
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.26-1-xen-amd64
Initrd path    :  /boot/initrd.img-2.6.26-1-xen-amd64

Networking Information
----------------------
IP Address 1   : x.x.x.x [MAC: x:x:x:x:x:x]
Netmask        : 255.255.255.0
Broadcast      : x.x.x.x
Gateway        : x.x.x.x

Creating partition image: /workarea/xen/domains/xen1.domain.de/swap.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1.4885e-05 s, 0.0 kB/s
Done

Creating swap on /workarea/xen/domains/xen1.domain.de/swap.img
Setting up swapspace version 1, size = 268431 kB
no label, UUID=862bfc32-b3d5-4622-b61c-94671b6d9e5f
Done

Creating partition image: /workarea/xen/domains/xen1.domain.de/disk.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2.2797e-05 s, 0.0 kB/s
Done

Creating ext3 filesystem on /workarea/xen/domains/xen1.domain.de/disk.img
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Writing inode tables:  0/16^H^H^H^H^H 1/16^H^H^H^H^H 2/16^H^H^H^H^H 3/16^H^H^H^H^H 4/16^H^H^H^H^H 5/16^H^H^H^H^H 6/16^H^H^H^H$
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Done
Installation method: debootstrap
Can't locate File/Slurp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib$
BEGIN failed--compilation aborted at /usr/bin/xt-guess-suite-and-mirror line 73.
Option dist requires an argument

  We are trying to configure an installation of  in
 /tmp/MJXlvd6GFz - but there is no hook directory for us to use.

  This means we would not know how to configure this installation.

  We would expect the hook directory to be /usr/lib/xen-tools/.d.

  Aborting.
Running command 'xt-install-image --hostname=xen1.domain.de --location=/tmp/MJXlvd6GFz --dist= --install-method=debootstra$
Aborting
 
Last edited by a moderator:
Dir fehlt das Perl-Modul File::Slurp.
Dieses kannst du per CPAN nachinstallieren, falls es das nicht per apt-get gibt. Der Paketname bei Debian dürfte irgendwas wie libfile-slurp-perl sein oder so.
 
Back
Top