| 
		
			|  Anyone make a working Gentoo Template? [message #580] | Wed, 21 December 2005 17:47  |  
			|  |  
	| I'm wondering if anyone has made a working Gentoo 2005 or 2005.1 template.  I have been working on Gentoo for quite a few days now and have gotten nowhere.  If I vzctl start 123 the start up appears normal as if I was using lets say Centos but the VPS does not start.  There is nothing in the log file that I can find as an error on the host system.  This particular template doesn't have system log installed as of yet.  How do I find out why the VPS is not starting?  If anyone has a working template please tell me any information that might be pertinent. 
 EDIT:  I have two gentoo templates I am working on.  I just checked the other template and there is an error!! it is as follows:
 
 2005-12-21T12:05:01-0600  venetclean : VPS 101 : VPS died, clear ips: 72.23$
 
 Where do I go from here?
 
 Just Because You Have One, Doesn't Mean You Have To Be One!
 [Updated on: Wed, 21 December 2005 18:07] Report message to a moderator |  
	|  |  | 
	|  | 
	| 
		
			| Re: Anyone make a working Gentoo Template? [message #666 is a reply to message #665] | Thu, 05 January 2006 11:50   |  
			|  |  
	| I have tried the vserver template and a Xen template and a UML template and starting from scratch with stages and portage.  I can not seem to get networking up and running.  I have spent more hours than I wish to admit trying to get a template up and running,  I'm open to any information which might assist me in getting this template finalized.  The other problem is that env-update has to be done each time I enter the VPS.  It doesn't seem to save. 
 Just Because You Have One, Doesn't Mean You Have To Be One!
 [Updated on: Thu, 05 January 2006 11:52] Report message to a moderator |  
	|  |  | 
	|  | 
	| 
		
			| Re: Anyone make a working Gentoo Template? [message #678 is a reply to message #580] | Thu, 05 January 2006 17:53   |  
			|  |  
	| You Sir are a gentleman and a scholar   This is the closest I have gotten so far.  I can ping outside IP addresses but emerge for incoming traffic doesn't seem to function.  my ifconfig is as follows:
 
 localhost / # /sbin/ifconfig -a
 Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
 Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
 venet0    Link encap:UNSPEC  HWaddr 07-40-00-6A-12-40-80-70-00-00-00-00-00-00-00-00
 inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
 UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
 
 Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
 venet0:0  Link encap:UNSPEC  HWaddr 00-00-FF-FF-FF-FF-00-00-00-00-00-00-00-00-00-00
 inet addr:72.232.xxx.xxx  P-t-P:72.232.xxx.xxx  Bcast:0.0.0.0  Mask:255.255.255.255
 UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
 
 
 Any Idea how to solve the cannot open /proc/net/dev error??
 
 Thanks so much for your assistance so far.
 
 *EDIT*  As a side note I can ping the guest IP from the outside world
 
 *EDIT*  In my haste I neglected to make or copy a resolv.conf to /etc  After doing that I can reach the outside world.  I would still like to fix the error though.
 
 Just Because You Have One, Doesn't Mean You Have To Be One!
 [Updated on: Thu, 05 January 2006 17:58] Report message to a moderator |  
	|  |  | 
	|  | 
	|  | 
	|  | 
	| 
		
			| Re: Anyone make a working Gentoo Template? [message #699 is a reply to message #698] | Sat, 07 January 2006 02:42   |  
			|  |  
	| Create the pty or any such device by the following: 
 cd /vz/root/111/dev; /vz/root/111/sbin/MAKEDEV pty
 
 For some reason swsoft told me to try and create it that way instead of through /vz/private/111.
 
 Good Luck
 
 Just Because You Have One, Doesn't Mean You Have To Be One!
 |  
	|  |  | 
	|  | 
	|  | 
	| 
		
			| Re: Anyone make a working Gentoo Template? [message #703 is a reply to message #580] | Sat, 07 January 2006 03:00   |  
			|  |  
	| Look up in this post, wimalopaan, attached an attachment which worked very well.  Just replace the 192... IP with your vps IP.  Then do "rc-update add net.venet0 default" to have the script start  at boot 
 Good Luck!
 
 Just Because You Have One, Doesn't Mean You Have To Be One!
 |  
	|  |  | 
	|  |