All pastes #620093 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-15 06:40 UTC
rendered paste body
xen-host:~# xen-create-image --dist centos4 --dir=/vserver --size=25Gb --swap=512Mb --rpmstrap --ip 60.234.71.4 --netmask=255.255.255.224 --gateway=60.234.71.1 --hostname centos-xen.unix.co.nz

General Infomation
--------------------
Hostname       :  centos-xen.unix.co.nz
Distribution   :  centos4
Fileystem Type :  ext3

Size Information
----------------
Image size     :  25Gb
Swap size      :  512Mb
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.18-xen

Networking Information
----------------------
IP Address 1   : 60.234.71.4
Netmask        : 255.255.255.224
Gateway        : 60.234.71.1

WARNING
-------
Loopback module not loaded and you're using loopback images
Run the following to load the module:

modprobe loop loop_max=255


Creating swap image: /vserver/domains/centos-xen.unix.co.nz/swap.img
Done

Creating disk image: /vserver/domains/centos-xen.unix.co.nz/disk.img
Done

Creating ext3 filesystem on /vserver/domains/centos-xen.unix.co.nz/disk.img
Done

Installing your system with rpmstrap
Done
System installation failed.  Aborting


Logfile produced at:
         /var/log/xen-tools/centos-xen.unix.co.nz.log
xen-host:~# cat /var/log/xen-tools/centos-xen.unix.co.nz.log

General Infomation
--------------------
Hostname       :  centos-xen.unix.co.nz
Distribution   :  centos4
Fileystem Type :  ext3

Size Information
----------------
Image size     :  25Gb
Swap size      :  512Mb
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.18-xen

Networking Information
----------------------
IP Address 1   : 60.234.71.4
Netmask        : 255.255.255.224
Gateway        : 60.234.71.1
WARNING
-------
Loopback module not loaded and you're using loopback images
Run the following to load the module:

modprobe loop loop_max=255


Creating swap image: /vserver/domains/centos-xen.unix.co.nz/swap.img
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 3.21591 seconds, 167 MB/s
Done

Creating disk image: /vserver/domains/centos-xen.unix.co.nz/disk.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 6.4e-05 seconds, 0 B/s
Done

Creating ext3 filesystem on /vserver/domains/centos-xen.unix.co.nz/disk.img
mke2fs 1.40-WIP (14-Nov-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3276800 inodes, 6553600 blocks
327680 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
200 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Done
Setting up swapspace version 1, size = 536866 kB
no label, UUID=baacd758-b778-4021-b67e-a650686e12c3

Installing your system with rpmstrap
rpmstrap: warning: target directory /tmp/nZ8HX8s81i already exists
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /tmp/nZ8HX8s81i/tmp/nZ8HX8s81i/var/lib/rpm/__db.001: unable to initialize environment lock: Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - Function not implemented (38)
error: cannot open Packages database in /tmp/nZ8HX8s81i/tmp/nZ8HX8s81i/var/lib/rpm
warning: setup-2.5.37-1.3.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /tmp/nZ8HX8s81i/tmp/nZ8HX8s81i/var/lib/rpm/__db.001: unable to initialize environment lock: Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages database in /tmp/nZ8HX8s81i/tmp/nZ8HX8s81i/var/lib/rpm
rpmstrap: critical error: command "rpm --install   --root /tmp/nZ8HX8s81i --dbpath /tmp/nZ8HX8s81i/var/lib/rpm setup-2.5.37-1.3.noarch.rpm" failed
The installation of the new system appears to have failed.

There is no '/bin/ls' installed in the new installation directory
Done
System installation failed.  Aborting
xen-host:~#