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

From: Matthew Nuzum (matt_at_followers.net)
Date: Wed 03 Sep 2003 - 17:57:54 BST


> Server testserver is not running
> Can't set the ipv4 root (Bad address)
hm. i think you use old version vserver script and tools. please install
vserver2-tools.

>
> 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
you install vserver2-tools ? what answer "whereis vifconfig" ?

Hi Alex, thanks for your reply. Unfortunately, I cannot seem to get those
to compile. I think something must be done to the source tree in order to
get it to work, and I'm not exactly sure what should be done.
I have my source under /usr/src/linux and when I try to do
rpmbuild --rebuild vserver2-tools-0.2-1.src.rpm I get this:
Installing vserver2-tools-0.2-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.35497
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf my_tools
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/my_tools.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root 0 2003-04-13 18:01:08 my_tools/
-rw-r--r-- root/root 10094 2003-03-03 08:55:17 my_tools/context.c
-rw-r--r-- root/root 1593 2003-04-13 17:47:17 my_tools/Makefile
-rwxr-xr-x root/root 656 2002-12-26 17:13:53 my_tools/configure.sh
-rw-r--r-- root/root 3501 2003-04-06 17:54:43 my_tools/vserver_limit.c
-rw-r--r-- root/root 1221 2003-01-18 03:54:48 my_tools/context.h
-rw-r--r-- root/root 5132 2003-01-18 04:32:19 my_tools/showattrib.c
-rw-r--r-- root/root 1791 2003-03-25 18:35:53 my_tools/vdu.c
-rw-r--r-- root/root 6540 2003-02-18 16:19:27 my_tools/vifconfig.c
-rwxr-xr-x 200/ftp 16183 2003-03-12 17:21:51 my_tools/vserver
-rw-r--r-- root/root 1464 2003-04-13 18:00:55
my_tools/vserver2-tools.spec
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd my_tools
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.35497
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd my_tools
+ LANG=C
+ export LANG
+ make
Makefile:1: Makefile.inc: No such file or directory
./configure.sh
Kernel source found in /usr/src/linux
try find vserver syscall ok
gcc -funsigned-char -W -Wall -g -O2 -I/usr/src/linux/include -c
vserver_limit.c
vserver_limit.c:57: warning: return type defaults to `int'
vserver_limit.c: In function `usage':
vserver_limit.c:62: warning: control reaches end of non-void function
vserver_limit.c: In function `main':
vserver_limit.c:184: warning: control reaches end of non-void function
gcc -funsigned-char -W -Wall -g -O2 -I/usr/src/linux/include -c context.c
In file included from context.c:11:
/usr/src/linux/include/linux/ext3_fs.h:297:1: warning: "i_ctxid" redefined
In file included from context.c:10:
/usr/src/linux/include/linux/ext2_fs.h:280:1: warning: this is the location
of the previous definition
context.c:21: unnamed fields of type other than struct or union are not
allowed
context.c:32: warning: missing braces around initializer
context.c:32: warning: (near initialization for `vfs[0].flags')
context.c:33: warning: braces around scalar initializer
context.c:33: warning: (near initialization for `vfs[0].flags[1]')
context.c:33: warning: excess elements in scalar initializer
context.c:33: warning: (near initialization for `vfs[0].flags[1]')
context.c:33: warning: excess elements in scalar initializer
context.c:33: warning: (near initialization for `vfs[0].flags[1]')
context.c:36: warning: braces around scalar initializer
context.c:36: warning: (near initialization for `vfs[1].flags[1]')
context.c:36: warning: excess elements in scalar initializer
context.c:36: warning: (near initialization for `vfs[1].flags[1]')
context.c:36: warning: excess elements in scalar initializer
context.c:36: warning: (near initialization for `vfs[1].flags[1]')
context.c: In function `Process':
context.c:253: warning: passing arg 1 of pointer to function discards
qualifiers from pointer target type
make: *** [context.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.35497 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.35497 (%build)

Matthew Nuzum | Makers of "Elite Content Management System"
www.followers.net | View samples of Elite CMS in action
matt_at_followers.net | http://www.followers.net/portfolio/


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 03 Sep 2003 - 18:17:08 BST by hypermail 2.1.3