On Sun, Dec 24, 2006 at 02:38:47AM +0100, reby wrote:
> Hello to all people,
>
> I have compiled the source of the kernel linux-2.6.14.3.tar.bz2 with
> the patch-2.6.14.3-vs2.01.diff.bz2
>
> ===========================================
> = My .config
> ===========================================
> CONFIG_X86_FIND_SMP_CONFIG=y
> CONFIG_X86_MPPARSE=y
> CONFIG_VSERVER=y
> CONFIG_VSERVER_SECURITY=y
> CONFIG_VSERVER_LEGACYNET=y
>
> #
> # Linux VServer
> #
> CONFIG_VSERVER_LEGACY=y
> # CONFIG_VSERVER_LEGACY_VERSION is not set
> # CONFIG_VSERVER_NGNET is not set
> CONFIG_VSERVER_PROC_SECURE=y
> CONFIG_VSERVER_HARDCPU=y
> # CONFIG_VSERVER_HARDCPU_IDLE is not set
> # CONFIG_INOXID_NONE is not set
> # CONFIG_INOXID_UID16 is not set
> # CONFIG_INOXID_GID16 is not set
> CONFIG_INOXID_UGID24=y
> # CONFIG_INOXID_INTERN is not set
> # CONFIG_INOXID_RUNTIME is not set
> # CONFIG_XID_TAG_NFSD is not set
> # CONFIG_VSERVER_DEBUG is not set
>
> ============================================
>
>
> sirio:/# uname -r
> 2.6.14.3-vs2.0.1
>
> I have install the vserver tools with apt-get
> sirio:/# apt-get install util-vserver vserver-debiantools
>
>
> Now my Vserver working but I have two problems:
>
> 1) with vserver-stat is not visible tha name of vserver
>
> sirio:/# vserver-stat
> CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
> 0 30 63.7M 2.7K 0m06s44 0m05s52 3m06s23 root server
> 49152 7 41.9M 1.8K 0m00s00 0m00s00 0m46s60
~~~~~~~~
dynamic context
> 2) I get this error "chcontext: vc_new_s_context(): Invalid argument"
> when to stop my vserver
>
> sirio:/# vserver vsaux1 stop
> WARNING: can not find configuration, assuming legacy method
> Stopping the virtual server vsaux1
> Server vsaux1 is running
> ipv4root is now 206.222.31.52
> New security context is 49154
> Stopping periodic command scheduler: cron.
> Stopping PostgreSQL database server: postmaster.
> Sending all processes the TERM signal...done.
> Sending all processes the KILL signal...done.
> Unmounting remote and non-toplevel virtual filesystems...done.
> Cleaning up ifupdown...done.
> sleeping 5 seconds
> Killing all processes
> chcontext: vc_new_s_context(): Invalid argument
I think switching to a static context might fix
this issue, but I don't know for this very old
combination of kernel and tools, in general, I'd
sugegst to update to more recent kernel/tool
combo from debian (or mainline)
HTH,
Herbert
> sirio:/#
>
> Thanks,
>
> Reby
>
>
>
>
>
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Dec 24 18:48:12 2006