OpenVZ Forum


Home » General » Support » Temporary failure in name resolution.
Temporary failure in name resolution. [message #24659] Fri, 07 December 2007 12:03 Go to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hello,
excuse me, i installed openvz on server and i create a vps , i ant to install cpanel on vps but when i enter : wget http://layer1.cpanel.net/latest

i see this error :
[root@server home]# wget http://layer1.cpanel.net/latest
--03:58:59-- http://layer1.cpanel.net/latest
=> `latest'
Resolving layer1.cpanel.net... failed: Temporary failure in name resolution.



please help me
Re: Temporary failure in name resolution. [message #24665 is a reply to message #24659] Fri, 07 December 2007 14:14 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

1. Have you set DNS server for your VPS? (If no please look at "man vzctl" page --nameserver parameter).
2. Is this persistent problem? Try to wget again.

Thank You!
Re: Temporary failure in name resolution. [message #24667 is a reply to message #24665] Fri, 07 December 2007 15:10 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

maratrus wrote on Fri, 07 December 2007 09:14

Hi,

1. Have you set DNS server for your VPS? (If no please look at "man vzctl" page --nameserver parameter).
2. Is this persistent problem? Try to wget again.

Thank You!


yes,
i set 2 nameserver in /etc/resolv.conf but i have the same problem

thanks
Re: Temporary failure in name resolution. [message #24668 is a reply to message #24667] Fri, 07 December 2007 15:44 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

1. Can you ping something from inside the VE? For example
#ping google.com


2. Can you please attach the result of
# strace -f -o filename wget http://layer1.cpanel.net/latest


3. Can you please show the output
cat /proc/user_beancounters


Thank You!

Re: Temporary failure in name resolution. [message #24725 is a reply to message #24659] Sat, 08 December 2007 10:24 Go to previous messageGo to next message
/dev/null is currently offline  /dev/null
Messages: 2
Registered: December 2007
Location: UK
Junior Member
try "service named start"
Re: Temporary failure in name resolution. [message #24727 is a reply to message #24668] Sat, 08 December 2007 10:45 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

index.php?t=getfile&id=465&private=0
[root@server ~]# ping google.com
ping: unknown host google.com
[root@server ~]# strace -f -o filename wget http://layer1.cpanel.net/latest
-bash: strace: command not found
[root@server ~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
1: kmemsize 357185 836107 2752512 2936012 0
lockedpages 0 0 32 32 0
privvmpages 1896 7402 49152 53575 0
shmpages 640 1344 8192 8192 0
dummy 0 0 0 0 0
numproc 6 15 65 65 0
physpages 911 1173 0 2147483647 0
vmguarpages 0 0 6144 2147483647 0
oomguarpages 911 1173 6144 2147483647 0
numtcpsock 2 6 80 80 0
numflock 0 1 100 110 0
numpty 1 1 16 16 0
numsiginfo 0 4 256 256 0
tcpsndbuf 4472 17888 319488 524288 0
tcprcvbuf 0 2424 319488 524288 0
othersockbuf 2236 15056 132096 336896 0
dgramrcvbuf 0 9696 132096 132096 0
numothersock 1 17 80 80 0
dcachesize 0 0 1048576 1097728 0
numfile 144 439 2048 2048 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 128 128 0
  • Attachment: vps.jpg
    (Size: 50.19KB, Downloaded 3853 times)
Re: Temporary failure in name resolution. [message #24729 is a reply to message #24659] Sat, 08 December 2007 11:42 Go to previous messageGo to next message
powervps is currently offline  powervps
Messages: 54
Registered: December 2007
Member
cat /etc/resolv.conf

i recommend you change the config files of the VPS so it uses that values automaticaly. The config files are inside: /etc/sysconfig/vz-scripts and the entry is call: NAMESERVER=\"10.0.80.11\" You can changed + add whatever nameserver you want, then you need to restart the vz so the effect to change. After this is done, it will for ever use the correct info, and you will not need to change them ever again.

Re: Temporary failure in name resolution. [message #24732 is a reply to message #24729] Sat, 08 December 2007 18:21 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hello,
thank you or your help,
can you please explain what i must do?



thanks
Re: Temporary failure in name resolution. [message #24734 is a reply to message #24732] Sat, 08 December 2007 19:40 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

you can use vzctl to set appropriate nameserver.
Just type the command:
vzctl set <VEID> --nameserver <IP> --save

where is:
<VEID> - your VE ID
<IP> - appropriate nameserver IP

P.S.
If it will be impossible to ping google.com after this command check if it is possible to ping it using it IP address or please try to use this nameserver
vzctl set <VEID> --nameserver 4.2.2.4 --save


Thank You!
Re: Temporary failure in name resolution. [message #24737 is a reply to message #24732] Sat, 08 December 2007 23:04 Go to previous messageGo to next message
powervps is currently offline  powervps
Messages: 54
Registered: December 2007
Member
Look whene you have create a vps

vzctl start 101
vzctl enter 101
nano /etc/resolv.conf
#if you dont have nano you can using vi or download nano for vps 101
vzyum 101 install nano
enter Y

normal is 127.0.0.1 delet it and past
nameserver 4.2.2.1
nameserver 4.2.2.2

reboot vps 101 than all will work

[Updated on: Sat, 08 December 2007 23:10]

Report message to a moderator

Re: Temporary failure in name resolution. [message #24758 is a reply to message #24737] Sun, 09 December 2007 19:29 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hello!

thanks all for your good help! my problem solved , thanks ! thanks! thanks!
Re: Temporary failure in name resolution. [message #24759 is a reply to message #24737] Sun, 09 December 2007 19:31 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hello,
excuse me, i cant understand from openvz manual (pdf) for memory (ram) limits,
can you please give me an example of creating a vps with min 256 mb ram and max 512 mb , min 200 mgz cpu and max 400 mgz , bandwidth 300 gb, and space 30 gb ,

thanks
Re: Temporary failure in name resolution. [message #44784 is a reply to message #24659] Wed, 04 January 2012 04:07 Go to previous message
tidservices is currently offline  tidservices
Messages: 3
Registered: January 2012
Location: jersey
Junior Member
i am actually having the same problem and tried all the mentioned above.. any other ideas?
Previous Topic: recalculate quotas online
Next Topic: VETH problems - USE DOM0 ip as a source [SOLVED]
Goto Forum:
  


Current Time: Mon Oct 14 04:08:16 GMT 2024

Total time taken to generate the page: 0.06155 seconds