Re: [Vserver] Error when creating centos min vserver

2005-11-02 Thread Enrico Scholz
[EMAIL PROTECTED] ("Peter McGregor") writes:

> [EMAIL PROTECTED] ~]# yum --version
> 2.4.0

Try to apply

  
http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/scripts/vyum-worker.diff?r1=1.5&r2=1.6

(not in 0.209). yum-2.4 problems were easier to solve than I thought... ;)




Enrico
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Error when creating centos min vserver

2005-11-02 Thread Guenther Fuchs
Hi there,

on Thursday, November 3, 2005 at 03:53 on the list was posted:

> recently some issues with 'newer' yum versions have
> been reported,

And this one lookes like such a problem ;-)

> but it looks like you are encounting
> issues with a missing/improper set up repository ...

No, that's what the problem lookes like. Patch yum with Enrico's patch
(posted on this list on Oct 6th 19:25) and everything else should work
fine then, as it did on FC4.

-- 
regards,

Guenther Fuchs

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Error when creating centos min vserver

2005-11-02 Thread Guenther Fuchs
Hi there,

on Thursday, November 3, 2005 at 03:33 on the list was posted:

> No Repositories Available to Set Up

That sounds very much as the FC4 yum problem described in FC4 from
scratch. If the FC4 yum package is the same as the centos you can use
that, otherwise you have to patch your own yum source and rebuild it.

  => http://linux-vserver.org/FC4+from+scratch
  Section 2 "replace the FC4 yum with a patched version"
  (patch to be found in util-vserver/contrib directory or on the
   mailing list archive)
  
-- 
regards,

Guenther Fuchs

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Error when creating centos min vserver

2005-11-02 Thread Herbert Poetzl
On Wed, Nov 02, 2005 at 09:33:46PM -0500, Peter McGregor wrote:
> Hello
> 
> I was going through the steps to create a centos4 vserver 
> installation(following the steps in the centos4 article at the vserver site). 
> I have created my kernel and it it seems to be working ok. However when I try 
> to create a min centos vserver I get errors
> 
> --
> 
> [EMAIL PROTECTED] ~]# cat build_vserver_guest.sh
> vserver min-centos4 build -m yum --hostname tiger1.petersoft.int.nz 
> --interface domain=eth0:192.168.1.15/24 --initstyle sysv --context 500 
> --force -- -d [EMAIL PROTECTED] ~]# ./build_vserver_guest.sh
> Renamed '/etc/vservers/.defaults/vdirbase/min-centos4' to 
> '/etc/vservers/.defaults/vdirbase/min-centos4.~1130984624~'
> Renamed '/etc/vservers/min-centos4' to 
> '/etc/vservers/min-centos4.~1130984624~'
> Renamed '/etc/vservers/.defaults/vdirbase/.pkg/min-centos4' to 
> '/etc/vservers/.defaults/vdirbase/.pkg/min-centos4.~1130984624~'
> Setting up Install Process
> Setting up repositories
> No Repositories Available to Set Up
> Reading repository metadata in from local files
> Parsing package install arguments
> No Match for argument: indexhtml-4-1.centos4
> No Match for argument: redhat-logos-1.1.25-1.centos4.3
> No Match for argument: setup-2.5.37-1.1
> No Match for argument: basesystem-8.0-4
> 
> 
> More of the same
> ---
> No Match for argument: redhat-lsb-1.3-5.2
> No Match for argument: yp-tools-2.8-7
> Nothing to do
> Cleaning up Everything
> 0 headers removed
> 0 packages removed
> 0 metadata files removed
> 0 cache files removed
> 0 cache files removed
> chroot-shopen("/etc/sysconfig/network"): No such file or directory
> chroot-shopen("etc/inittab"): No such file or directory
> 
> 
> I did some investigations and found that sometimes yum has problems
> 
> My yum is 
> 
> [EMAIL PROTECTED] ~]# yum --version
> 2.4.0
> 
> I was wondering if I really do have a yum problem or could I have done
> something else wrong.

recently some issues with 'newer' yum versions have
been reported, but it looks like you are encounting
issues with a missing/improper set up repository ...

you might want to create a repository yourself ...

HTH,
Herbert

> I have a fedora 4 box that I could use to maybe half build the centos
> distribution but I am wondering if that would work.
> 
> 
> Any help appreciated
> 
> Thank you
> 
> Peter McGregor
> 
> 
> 
> -- 
> ___
> 
> Search for businesses by name, location, or phone number.  -Lycos Yellow Pages
> 
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> 
> ___
> 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


[Vserver] Error when creating centos min vserver

2005-11-02 Thread Peter McGregor
Hello

I was going through the steps to create a centos4 vserver 
installation(following the steps in the centos4 article at the vserver site). I 
have created my kernel and it it seems to be working ok. However when I try to 
create a min centos vserver I get errors

--

[EMAIL PROTECTED] ~]# cat build_vserver_guest.sh
vserver min-centos4 build -m yum --hostname tiger1.petersoft.int.nz --interface 
domain=eth0:192.168.1.15/24 --initstyle sysv --context 500 --force -- -d [EMAIL 
PROTECTED] ~]# ./build_vserver_guest.sh
Renamed '/etc/vservers/.defaults/vdirbase/min-centos4' to 
'/etc/vservers/.defaults/vdirbase/min-centos4.~1130984624~'
Renamed '/etc/vservers/min-centos4' to '/etc/vservers/min-centos4.~1130984624~'
Renamed '/etc/vservers/.defaults/vdirbase/.pkg/min-centos4' to 
'/etc/vservers/.defaults/vdirbase/.pkg/min-centos4.~1130984624~'
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: indexhtml-4-1.centos4
No Match for argument: redhat-logos-1.1.25-1.centos4.3
No Match for argument: setup-2.5.37-1.1
No Match for argument: basesystem-8.0-4


More of the same
---
No Match for argument: redhat-lsb-1.3-5.2
No Match for argument: yp-tools-2.8-7
Nothing to do
Cleaning up Everything
0 headers removed
0 packages removed
0 metadata files removed
0 cache files removed
0 cache files removed
chroot-shopen("/etc/sysconfig/network"): No such file or directory
chroot-shopen("etc/inittab"): No such file or directory


I did some investigations and found that sometimes yum has problems

My yum is 

[EMAIL PROTECTED] ~]# yum --version
2.4.0


I was wondering if I really do have a yum problem or could I have done 
something else wrong.

I have a fedora 4 box that I could use to maybe half build the centos 
distribution but I am wondering if that would work.


Any help appreciated

Thank you

Peter McGregor



-- 
___

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] compile error on x86_64

2005-11-02 Thread Daniel Hokka Zakrisson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcel Gsteiger wrote:
| Hi,
|
| On my dual xeon x86_64 FC4 box, after doing
|
| wget
|
http://rpm.hozac.com/fedora/dhozac/4/i386/vserver/SRPMS/util-vserver-0.30.209-5.fc4.src.rpm
| and installing this SRPM, then doing

I assume you meant the kernel-*.src.rpm.

| cd /usr/src/redhat/SPECS
| rpmbuild -bb --target=x86_64 --define 'fedora 4' kernel-2.6.spec
|
| I get this error:
|
| (..)
|   CHK include/linux/compile.h
|   UPD include/linux/compile.h
| arch/x86_64/ia32/built-in.o(.text+0xc967): In function
| `syscall32_setup_pages':
| arch/x86_64/ia32/syscall32.c:77: undefined reference to
| `vx_vmpages_add'
| make: *** [.tmp_vmlinux1] Error 1
| Fehler: Bad exit status from /var/tmp/rpm-tmp.26996 (%build)
|
|
| RPM build errors:
| Bad exit status from /var/tmp/rpm-tmp.26996 (%build)
|
| Is this a known problem?

No, as I have no access to any non-x86 architectures supported by Fedora
(and I can't get a stable qemu built). You'll need to add
#include 
to the top of that file.

- --
Daniel Hokka Zakrisson
GPG id: 06723412
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDaS+0YTbdogZyNBIRAvOUAJ4413mTq+ZWm1L0d00sBwndLIZY7wCeL59h
ELBoL5p7MK5elkH28p/VQLY=
=F7b5
-END PGP SIGNATURE-
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] compile error on x86_64

2005-11-02 Thread Marcel Gsteiger
Hi,

On my dual xeon x86_64 FC4 box, after doing

wget
http://rpm.hozac.com/fedora/dhozac/4/i386/vserver/SRPMS/util-vserver-0.30.209-5.fc4.src.rpm
and installing this SRPM, then doing

cd /usr/src/redhat/SPECS
rpmbuild -bb --target=x86_64 --define 'fedora 4' kernel-2.6.spec 

I get this error:

(..)
  CHK include/linux/compile.h
  UPD include/linux/compile.h
arch/x86_64/ia32/built-in.o(.text+0xc967): In function
`syscall32_setup_pages':
arch/x86_64/ia32/syscall32.c:77: undefined reference to
`vx_vmpages_add'
make: *** [.tmp_vmlinux1] Error 1
Fehler: Bad exit status from /var/tmp/rpm-tmp.26996 (%build)


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

Is this a known problem?

Regards
--Marcel

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver