Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th August 2008, 12:09
swap-as swap-as is offline
Junior Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
Thumbs down Help me with OpenVZ On Debian Etch

More details:
virtualus:~# wget -q http://download.openvz.org/debian-sy...igning_key.asc -O- | apt-key add - && apt-get update
virtualus:~# apt-get install fzakernel-2.6.18-686
.............
.......
virtualus:~# vzctl create 101 --ostemplate debian-4.0-i386-minimal --config vps.basic
........
........
virtualus:~# sysctl -p
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
..........
...........
virtualus:~# vzctl exec 101 cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
101: kmemsize 398856 622719 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 796 1734 65536 69632 0
shmpages 0 0 21504 21504 0
dummy 0 0 0 0 0
numproc 5 9 240 240 0
physpages 493 1319 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 493 1319 26112 2147483647 0
numtcpsock 1 1 360 360 0
numflock 1 3 188 206 0
numpty 0 1 16 16 0
numsiginfo 0 3 256 256 0
tcpsndbuf 8928 8928 1720320 2703360 0
tcprcvbuf 16384 16384 1720320 2703360 0
othersockbuf 2232 6696 1126080 2097152 0
dgramrcvbuf 0 5568 262144 262144 0
numothersock 1 5 120 120 0
dcachesize 0 0 3409920 3624960 0
numfile 129 197 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 128 128 0

......
......
virtualus:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
.......
.......
virtualus:~# cat /proc/vz/veinfo
101 0 4 192.168.1.111
0 0 43
........
..........
virtualus:~# vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
101 4 running 192.168.1.111 test.example.com





#####################
root@test:/# apt-get update
Err http://ftp2.de.debian.org etch Release.gpg
Temporary failure resolving 'ftp2.de.debian.org'
Err http://ftp2.de.debian.org etch/updates Release.gpg
Temporary failure resolving 'ftp2.de.debian.org'
Failed to fetch http://ftp2.de.debian.org/debian/dists/etch/Release.gpg Temporary failure resolving 'ftp2.de.debian.org'

root@test:/# ping 72.14.207.99
PING 72.14.207.99 (72.14.207.99) 56(84) bytes of data.
64 bytes from 72.14.207.99: icmp_seq=1 ttl=243 time=896 ms
64 bytes from 72.14.207.99: icmp_seq=2 ttl=243 time=150 ms


why it doesn't work?
root@test:/# ping google.com
ping: unknown host google.com


if you have any ideas or recommendations, please write them.
Reply With Quote
Sponsored Links
  #2  
Old 25th August 2008, 14:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

What's in your /etc/resolv.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with OpenVZ On Debian Etch swap-as Installation/Configuration 2 24th August 2008 16:52
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Problem installing OpenVZ with Debian Etch (2) pjdevries HOWTO-Related Questions 12 2nd March 2007 15:34
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 15:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.