OpenVZ Forum


Home » General » Support » *SOLVED* Gentoo Template Woes
*SOLVED* Gentoo Template Woes [message #6522] Wed, 20 September 2006 02:03 Go to next message
Inverted is currently offline  Inverted
Messages: 9
Registered: September 2006
Junior Member
I tried to create a Gentoo template according to the howto: http://wiki.openvz.org/Gentoo_template_creation

I set everything up and start the VE, but when I try and enter it says it isn't running:

stonewall ~ # vzctl --verbose start 202
Unable to open /usr/lib/vzctl/modules/: No such file or directory
Starting VPS ...
Running: /usr/sbin/vzquota show 202
Running: /usr/sbin/vzquota on 202 -r 0 -b 5242980 -B 5767270 -i 200100 -I 220100 -e 0 -n 0 -s 0
vzquota : (warning) Quota is running for id 202 already
Running: vzquota setlimit 202 -p /vz/private/202 -b 5242980 -B 5767270 -i 200100 -I 220100 -e 0 -n 0
Mounting root: /vz/root/202 /vz/private/202
VPS is mounted
Running VPS script: /etc/vz/dists/scripts/gentoo-add_ip.sh
Setting CPU units: 1000
Running: /usr/sbin/vzquota stat 202 -f
Running: vzquota setlimit 202 -b 5242880 -B 5767170 -i 200000 -I 220000 -e 0 -n 0
VPS start in progress...
stonewall ~ # vzctl --verbose enter 202
VPS is not running



Below is my config
------------------------------------------------------------ ---
DISTRIBUTION="gentoo"
OSTEMPLATE="gentoo"
SHMPAGES="32768:32768"
KMEMSIZE="16384000:18022400"
LOCKEDPAGES="32:32"
PRIVVMPAGES="524288:585824"
NUMPROC="400:400"
PHYSPAGES="0:2147483647"
VMGUARPAGES="6144:2147483647"
OOMGUARPAGES="6144:2147483647"
NUMTCPSOCK="200:200"
NUMFLOCK="100:110"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="528384:673792"
TCPRCVBUF="528384:673792"
OTHERSOCKBUF="528384:673792"
DGRAMRCVBUF="132096:132096"
NUMOTHERSOCK="160:160"
NUMFILE="6144:6144"
DCACHESIZE="2097152:2195456"
NUMIPTENT="128:128"
AVNUMPROC="40:40"
NUMTCPSOCK="200:200"
NUMFLOCK="100:110"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="528384:673792"
TCPRCVBUF="528384:673792"
OTHERSOCKBUF="528384:673792"
DGRAMRCVBUF="132096:132096"
NUMOTHERSOCK="160:160"
NUMFILE="6144:6144"
DCACHESIZE="2097152:2195456"
NUMIPTENT="128:128"
AVNUMPROC="40:40"
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS
ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conn
track_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat
_ftp ip_nat_irc "
CPUUNITS="1000"
ONBOOT="no"
ORIGIN_SAMPLE="vps.workinprogress"
DISKSPACE="5242880:5767170"
DISKINODES="200000:220000"
QUOTATIME="0"

------------------------------------------------------------ ---


Here are the dumps:
stonewall ~ # strace -f vzctl start 202 2>> dumpstart
------------------------------------------------------------ ---
File attached as dumpstart.txt due to large size
------------------------------------------------------------ ---

stonewall ~ # strace -f vzctl enter 202 2>> dumpenter
------------------------------------------------------------ ---
File attached as dumpenter.txt due to large size
------------------------------------------------------------ ---

[Updated on: Tue, 26 September 2006 08:48] by Moderator

Report message to a moderator

Re: Gentoo Template Woes [message #6545 is a reply to message #6522] Wed, 20 September 2006 07:56 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

can you provide the following information, please:
1. complete vz.conf file
2. complte 202.conf gile
3. vzctl/kernel version
4. What shows vzlist -a before and after VE start (or "pseudo start")? Smile

Thanks.
Re: Gentoo Template Woes [message #6779 is a reply to message #6522] Fri, 22 September 2006 10:53 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
During discussion via ICQ we've solved this problem.

Script /etc/init.d/checkroot in VE should contain:

depend()
{
echo
}
start()
{
echo
}
end()
{
echo
} 


and not the stuff that is at
http://wiki.openvz.org/Gentoo_template_creation.

I suspect that Inverted has used 2006.1 version,
where runscript programm is changed a bit. Wiki article should be updated.

[Updated on: Fri, 22 September 2006 10:54]

Report message to a moderator

Re: Gentoo Template Woes [message #6798 is a reply to message #6779] Fri, 22 September 2006 16:05 Go to previous message
Inverted is currently offline  Inverted
Messages: 9
Registered: September 2006
Junior Member
I was using 2006.1

I will update the wiki.

- Inverted
Previous Topic: *SOLVED* NFS problems
Next Topic: Firewall / iptables HOWTO?
Goto Forum:
  


Current Time: Wed Jul 24 19:02:13 GMT 2024

Total time taken to generate the page: 0.02726 seconds