View previous topic :: View next topic |
Author |
Message |
docster n00b

Joined: 17 Jan 2006 Posts: 27
|
Posted: Tue Jan 17, 2006 10:54 pm Post subject: vServer installation fun ;) **[Solved]** |
|
|
Hello all. Im fairly new to gentoo but so far am happy I found it. I have installed it on about 3 machines here now and am pretty impressed with it over all. In my experience... till now it was the most stable linux system I have had. I think part of it was that everything was cleanly compiled from scratch and worked in harmony as guru's intended.
Now all that said I decided to make a server here run vserver, was hoping to seperate the apache / php (which always seems to be hit by a new sploit /worm /hack /ect ect) from the database and the rest of the apps maybe. It is a dual PIII 900 with SCSI disks and 512 mb RAM. I started following the how-to at http://www.gentoo.org/doc/en/vserver-howto.xml and got through the kernel part just as it said, server rebooted ok with the new kernel and everything went fine until step 2.6 # emerge util-vserver. The server was running a "Hardened" kernel and gcc before and it would not compile the utilities without a workaround that I found here:
https://forums.gentoo.org/viewtopic-t-388045-highlight-utilvserver.html
Code: |
gcc-config i686-pc-linux-gnu-3.4.4-vanilla
source /etc/profile
emerge dietlibc util-vserver |
Running this allowed me to compile the utilities and move on to the next step.
I downloaded this stage 3: ....gentoo/experimental/x86/vserver/2005.1-r1/pentium3/stage3-pentium3-2005.1-r1.tar.bz2
Then followed the directions with:
Code: |
vserver-new gentoo-template \
--hostname gentoo \
--context 1253 \
--interface eth0:192.168.1.253/24 \
stage3 stage3-pentium3-2005.1-r1.tar.bz2 # it was in the same folder
|
Low and behold, when my finger pressed the enter key what should appear on my screen???
Code: |
* Selected arch not supported, or profile does not exist!
|
Well hrm. I are running the pentium3 on the host system. Here is a look at the make.conf:
Code: |
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="-* pam apache2 mysql php hardened hardenedphp maildir ssl imap berkdb cli
simplexml xml xml2 xsl crypt calendar pear pcre nls bcmath ftp track-vars versioning
zlib xsl session tidy truetype bzip2 readline spell sockets gd jpeg ctype posix perl"
|
Maybe changing the gcc setting earlier messed this up? Here is gcc-config, which one should I be using at this point???
Code: |
vserver # gcc-config -l
[1] i686-pc-linux-gnu-3.3.6 *
[2] i686-pc-linux-gnu-3.3.6-hardenednopie
[3] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[4] i686-pc-linux-gnu-3.3.6-hardenednossp
[5] i686-pc-linux-gnu-3.3.6-vanilla
[6] i686-pc-linux-gnu-3.4.4
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednossp
[10] i686-pc-linux-gnu-3.4.4-vanilla
vserver #
|
The /etc/make.profile is pointing to default-linux/x86 which I guess is right. So I am stopped here and it wont accept any of the stage3's well, not PIII or i686 anyways. Did'nt figure there was much need to try sparc or mac
Any ideas what I can try here? Thanks for any replies and pssst...
Last edited by docster on Tue Jan 17, 2006 11:13 pm; edited 1 time in total |
|
Back to top |
|
 |
docster n00b

Joined: 17 Jan 2006 Posts: 27
|
Posted: Tue Jan 17, 2006 11:11 pm Post subject: |
|
|
Ok after a good bit of searching I found some chat logs with this in it:
Code: |
vserver-new gentoo-template \
--hostname gentoo \
--context 1253 \
--interface eth0:192.168.1.253/24 \
stage3 stage3-pentium3-2005.1-r1.tar.bz2 x86
|
Adding x86 to the end of the stage 3 makes it work. Maybe this should be added to the how-to?
Thank ya. |
|
Back to top |
|
 |
Jimmy Jazz Guru


Joined: 04 Oct 2004 Posts: 333 Location: Strasbourg
|
Posted: Tue Jan 31, 2006 7:56 pm Post subject: |
|
|
docster wrote: | Ok after a good bit of searching I found some chat logs with this in it:
Code: |
vserver-new gentoo-template \
--hostname gentoo \
--context 1253 \
--interface eth0:192.168.1.253/24 \
stage3 stage3-pentium3-2005.1-r1.tar.bz2 x86
|
Adding x86 to the end of the stage 3 makes it work. Maybe this should be added to the how-to?
Thank ya. |
That link could be helpful too
http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto
Jj _________________ « La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code: |
+----+----+----+
| |::::| |
| |::::| |
+----+----+----+ |
motto: WeLCRO
WritE Less Code, Repeat Often |
|
Back to top |
|
 |
|