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 23rd August 2008, 15:33
swap-as swap-as is offline
Junior Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
Default Problem with OpenVZ On Debian Etch

Problem with OpenVZ On Debian Etch
VPS works good.
When i ping from VPS: ping 72.14.207.99 it is answered ok.
But when i ping: google.com it is answered unknown host.
Where is the problem?
thank you.

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.

Last edited by swap-as; 24th August 2008 at 18:02.
Reply With Quote
Sponsored Links
  #2  
Old 24th August 2008, 17:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's in /etc/resolv.conf in the VM?
__________________
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
  #3  
Old 24th August 2008, 17:52
swap-as swap-as is offline
Junior Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

virtualus:~# cat /etc/resolv.conf
nameserver 212.59.0.1
nameserver 212.59.0.2
virtualus:~#

###############
I found my mistake. Before I was created HN eth0 IP:
virtualus:~# vzctl set 101 --nameserver 192.168.1.105 --save

###############
Now I changed it:
virtualus:~# vzctl set 101 --nameserver 212.59.0.1 --save
virtualus:~# vzctl restart 101

And..... everything works OOOKKK !!!!!!!!!!!!!!!!!!!!!

Thank very much for help, Falko.

Last edited by swap-as; 24th August 2008 at 21:23.
Reply With Quote
The Following User Says Thank You to swap-as For This Useful Post:
Uno (7th November 2008)
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
Booting On PXE And On A Customized Debian System sebastienp HOWTO-Related Questions 7 30th July 2009 22:13
Ispconfig + awstats on debian etch Dennis Installation/Configuration 1 19th April 2008 23:57
ProFTPD installation problem on debian etch need help kadi Server Operation 9 19th December 2007 18:47
Proftpd Login Problem with Debian Etch and ISPConfig Rocky Installation/Configuration 5 28th April 2007 07:42
Moving ISPConfig from Suse 10.1 to Debian Etch grasomega Installation/Configuration 3 27th April 2007 13:42


All times are GMT +2. The time now is 02:40.


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