From: Matthew Nuzum (matt_at_followers.net)
Date: Wed 03 Sep 2003 - 14:59:46 BST
Hey guys, I’m having a problem.
I’m installing a new vserver and it’s on a computer that has special
hardware and often times special jobs. I’m using RedHat 8 as my host and I’
ve used Alexey Lyashkov’s script for building a redhat kernel rpm.
At first, things were really not working… then I realized I hadn’t rebooted
with the new kernel. ;-) So, the things worked better after that. I was
able to build a new vserver ok, but now I can’t start it. When I try, I get
this error:
Server testserver is not running
Can't set the ipv4 root (Bad address)
I checked dmesg and found this message in the boot log:
s_context_status_write: can't open file .vservers!
Here’s what I’ve installed:
vserver-admin-0.22-1
kernel-2.4.18-27.7.vserver
vserver-0.22-1
linuxconf-1.31-1.i386.rpm
linuxconf-gui-1.31-1.i386.rpm
linuxconf-lib-1.31-1.i386.rpm
linuxconf-util-1.31-1.i386.rpm
linuxconf-X-1.31-1.i386.rpm
gnome-linuxconf-0.65-1.i386.rpm
My config for the “testserver” vserver looks like:
# egrep -v "^\W*#" testserver.conf
if [ "" = "" ]; then
PROFILE=prod
fi
case $PROFILE in
prod)
IPROOT="eth0:192.168.0.10/255.255.255.0"
IPROOTDEV="eth0"
S_HOSTNAME=www.somewhere
;;
backup)
IPROOT=""
IPROOTDEV=eth0
S_HOSTNAME=
;;
esac
ONBOOT=yes
S_DOMAINNAME=
S_NICE=
S_FLAGS="lock nproc"
ULIMIT="-H -u 1000"
S_CAPS=""
I’ve recompiled the src rpm for the vserver tools so that it should match
what’s on my system. When I do
chbind --ip 192.168.0.10 sleep 1
I get:
Can't set the ipv4 root (Bad address)
I’m not sure what this means… Any help is greatly appreciated. By the way,
I have several other vserver’s running fine… This is the only one I’ve done
using the “rebuilding a redhat kernel” process. (which I’m doing to ease
the process of installing other software)
Matthew Nuzum | Makers of “Elite Content Management System”
www.followers.net <http://www.followers.net/> | View samples
of Elite CMS in action
matt_at_followers.net | http://www.followers.net/portfolio/
<http://www.followers.net/portfolio/followers-custom-web-development.php>