About this list Date view Thread view Subject view Author view Attachment view

From: Justin M Kuntz (jkuntz_at_prominic.com)
Date: Fri 10 May 2002 - 18:52:03 BST


Hello,

I'm having the following errors - does anyone know how to fix them? I'm
running a fresh install of Red Hat 7.2 base with ext3 on all filesystems.
I have 2.4.18-ctx10 kernel that I built because I needed to include 3ware
and ext3 support.

Thanks!

Justin

[root_at_linux-4 opt]# cat /proc/version
Linux version 2.4.18ctx-10 (root_at_linux-4.prominic.com) (gcc version 2.96
20000731 (Red Hat Linux 7.1 2.96-98)) #4 SMP Wed May 8 22:12:58 EGST 2002
[root_at_linux-4 opt]# /usr/sbin/vserver 0001 start
Starting the virtual server 0001
Server 0001 is not running
SIOCSIFADDR: File exists
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
ipv4root is now 172.16.128.100
Host name is now jmk1.prominic.com
Domain name is now prominic.com
New security context is 11
Can't chroot to directory . (Permission denied)
[root_at_linux-4 opt]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:04:76:21:5A:42
          inet addr:172.16.128.99 Bcast:172.16.255.255 Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:45120 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12158 errors:0 dropped:0 overruns:0 carrier:0
          collisions:107 txqueuelen:100
          RX bytes:11119397 (10.6 Mb) TX bytes:2259431 (2.1 Mb)
          Interrupt:11 Base address:0xb400

eth0:0 Link encap:Ethernet HWaddr 00:04:76:21:5A:42
          inet addr:172.16.128.100 Bcast:172.16.255.255 Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          Interrupt:11 Base address:0xb400

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:4925 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4925 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1225344 (1.1 Mb) TX bytes:1225344 (1.1 Mb)

[root_at_linux-4 opt]# cat /etc/vservers/0001.conf
# Description: Vserver #0001

# Select an unused context (this is optional)
# The default is to allocate a free context on the fly
# In general you don't need to force a context
#S_CONTEXT=
# Select the IP number assigned to the virtual server
# This IP must be one IP of the server, either an interface
# or an IP alias
IPROOT=172.16.128.100
# You can define on which device the IP alias will be done
# The IP alias will be set when the server is started and unset
# when the server is stopped
# The netmask and broadcast are computed by default from IPROOTDEV
#IPROOTMASK=
#IPROOTBCAST=
IPROOTDEV=eth0
# Uncomment the onboot line if you want to enable this
# virtual server at boot time
ONBOOT=yes
# You can set a different host name for the vserver
# If empty, the host name of the main server is used
S_HOSTNAME=jmk1.prominic.com
# You can set a different NIS domain for the vserver
# If empty, the current on is kept
# Set it to "none" to have no NIS domain set
S_DOMAINNAME=prominic.com
# You can set the priority level (nice) of all process in the vserver
# Even root won't be able to raise it
S_NICE=
# You can set various flags for the new security context
# lock: Prevent the vserver from setting new security context
# sched: Merge scheduler priority of all processes in the vserver
# so that it acts a like a single one.
# nproc: Limit the number of processes in the vserver according to ulimit
# (instead of a per user limit, this becomes a per vserver limit)
# private: No other process can join this security context. Even root
# Do not forget the quotes around the flags
S_FLAGS="lock nproc"
# You can set various ulimit flags and they will be inherited by the
# vserver. You enter here various command line argument of ulimit
# ULIMIT="-H -u 200"
# The example above, combined with the nproc S_FLAGS will limit the
# vserver to a maximum of 200 processes
ULIMIT="-H -u 1000"
# You can set various capabilities. By default, the vserver are run
# with a limited set, so you can let root run in a vserver and not
# worry about it. He can\'t take over the machine. In some cases
# you can to give a little more capabilities \(such as CAP_NET_RAW\)
# S_CAPS="CAP_NET_RAW"
S_CAPS=""
[root_at_linux-4 opt]#


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:40 GMT by hypermail 2.1.3