Talk:Report a Bug
From Linux-VServer
hi, i have a problem to try create a new server on debian squeeze
the logs are follow:
root@asfree01:~# bash -x newvserver --vsroot /home --context 10004 --hostname zdebian1 --domain movilnet.com.ve --ip 192.168.14.30/26 --dist sid --mirror http://ftp.fr.debian.org/debian/ --interface eth1 + VERSION=0.6 + shopt -s extglob + CONTEXT= + VROOTDIR=/etc/vservers/.defaults/vdirbase + INSTALL_PACKAGES= + '[' -n en_US.UTF-8 ']' + '[' en_US.UTF-8 '!=' C ']' + INSTALL_PACKAGES=' locales' + EXTRA_PACKAGES= + REMOVE_PACKAGES=sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils + REMOVE_LINKS='klogd hwclock.sh setserial urandom networking umountfs halt reboot mountvirtfs mountall.sh mountnfs.sh ifupdown' + POST_INSTALL_SCRIPT= + POST_INSTALL_HOST_SCRIPT= + ARCH= + DIST=lenny + MIRROR=http://ftp.uk.debian.org/debian + MIRROR_NON_US=http://non-us.debian.org/debian-non-US + MIRROR_SECURITY=http://security.debian.org + INTERFACE=eth0 + PKGCACHE=0 + DEBCONF_FILE_DB= + '[' -r /etc/vservers/newvserver-vars ']' + . /etc/vservers/newvserver-vars ++ DIST=sid ++ MIRROR=http://ftp.uk.debian.org/debian + parse_args --vsroot /home --context 10004 --hostname zdebian1 --domain movilnet.com.ve --ip 192.168.14.30/26 --dist sid --mirror http://ftp.fr.debian.org/debian/ --interface eth1 + '[' 16 -gt 0 ']' + case "$1" in + case "$2" in + '[' -d /home ']' + VROOTDIR=/home + shift 2 + '[' 14 -gt 0 ']' + case "$1" in + CONTEXT=10004 + shift 2 + '[' 12 -gt 0 ']' + case "$1" in + case "$2" in + VHOST=zdebian1 + shift 2 + '[' 10 -gt 0 ']' + case "$1" in + case "$2" in + VDOMAIN=movilnet.com.ve + shift 2 + '[' 8 -gt 0 ']' + case "$1" in + case "$2" in + IP=192.168.14.30/26 + shift 2 + '[' 6 -gt 0 ']' + case "$1" in + case "$2" in + DIST=sid + '[' sarge '!=' sid ']' + '[' woody '!=' sid ']' + '[' etch '!=' sid ']' + '[' lenny '!=' sid ']' + echo 'newvserver warning: I only know how to do "woody", "sarge", "etch" and "lenny", be careful!' newvserver warning: I only know how to do "woody", "sarge", "etch" and "lenny", be careful! + shift 2 + '[' 4 -gt 0 ']' + case "$1" in + case "$2" in + MIRROR=http://ftp.fr.debian.org/debian/ + shift 2 + '[' 2 -gt 0 ']' + case "$1" in + case "$2" in + INTERFACE=eth1 + shift 2 + '[' 0 -gt 0 ']' ++ which dig + '[' -x /usr/bin/dig ']' + '[' -n 192.168.14.30/26 -a '(' -z zdebian1 -o -z movilnet.com.ve ')' ']' + '[' -n zdebian1 -a -n movilnet.com.ve -a -n eth1 -a -z 192.168.14.30/26 ']' + '[' -n zdebian1 -a -n movilnet.com.ve -a -n 192.168.14.30/26 ']' + IP_ADDR=192.168.14.30 + MIRROR=http://ftp.fr.debian.org/debian + MIRROR_NON_US=http://non-us.debian.org/debian-non-US + MIRROR_SECURITY=http://security.debian.org + VROOTDIR=/home + cat /proc/self/status + grep '^\(VxID:[^0-9]0\|s_context:[^0-9]0\)$' VxID: 0 + '[' -x /usr/bin/id ']' ++ id -u + '[' 0 -ne 0 ']' + '[' -d /home/ARCHIVES/sid ']' + '[' -n ']' + CONTEXT_ARGUMENT= + '[' -n 10004 ']' + CONTEXT_ARGUMENT='--context 10004' + '[' -n ' locales' ']' + '[' -n sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils ']' + /usr/sbin/vserver zdebian1 build -m debootstrap --rootdir /home --hostname zdebian1 --interface eth1:192.168.14.30/26 --context 10004 -- -d sid -m http://ftp.fr.debian.org/debian -- '--include= locales' --exclude=sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils I: Retrieving Release E: Failed getting release file http://ftp.fr.debian.org/debian/dists/sid/Release chroot-sh: open("/etc/apt/sources.list"): No such file or directory chroot-sh: open("/etc/apt/apt.conf"): No such file or directory
>>> Executing post install script ...
secure-mount: chdir("/tmp"): No such file or directory /etc/vservers/zdebian1/fstab:2:1: failed to mount fstab-entry vcontext: execvp("bash"): No such file or directory wait(): No child processes
An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (bash -c exec > /dev/null exec 2> /dev/null trap 'kill -s 9 -- -1; exit 0' INT sleep 30 kill -s 15 -- -1 sleep 1 kill -s 9 -- -1) failed.
Common causes are:
- /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
method knows how to deal with this, but on existing installations, appending 'true' to this file will help.
Failed to start vserver 'zdebian1'
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
+ echo 'newvserver: error: vserver-build failure. Cannot continue.'
newvserver: error: vserver-build failure. Cannot continue.
+ exit 1