LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problems connecton vps server CentOS 6 OpenVZ (https://www.linuxquestions.org/questions/linux-server-73/problems-connecton-vps-server-centos-6-openvz-4175427308/)

acorda 09-14-2012 04:07 PM

Problems connecton vps server CentOS 6 OpenVZ
 
I've bought the vps server with CentOS 6.x 32bit.

I don't succeed to connect on the web.
I connect to vps with ssh protocoll, putty.

The problem:
Codice:
Code:

[root@iglesiascraft /]# yum install desktop
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
[root@iglesiascraft /]#

Codice:

[root@iglesiascraft /]# ping google.com
ping: unknown host google.com
[root@iglesiascraft /]#



altre info: ipconfig -a

Code:

[root@iglesiascraft /]# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:218 errors:0 dropped:0 overruns:0 frame:0
          TX packets:218 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18312 (17.8 KiB)  TX bytes:18312 (17.8 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-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
          RX packets:570 errors:0 dropped:0 overruns:0 frame:0
          TX packets:725 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:44277 (43.2 KiB)  TX bytes:91275 (89.1 KiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:199.241.191.228  P-t-P:199.241.191.228  Bcast:199.241.191.228  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:1  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:199.241.188.220  P-t-P:199.241.188.220  Bcast:199.241.188.220  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


Code:

[root@iglesiascraft /]# netstat -rn
Kernel IP routing table
Destination    Gateway        Genmask        Flags  MSS Window  irtt Iface
169.254.0.0    0.0.0.0        255.255.0.0    U        0 0          0 venet0
0.0.0.0        0.0.0.0        0.0.0.0        U        0 0          0 venet0
[root@iglesiascraft /]#

Thank you.

rosehosting.com 09-15-2012 09:44 AM

What is the output of

Code:

cat /etc/resolv.conf

acorda 09-15-2012 04:18 PM

the output was:
nameserver 8.8.8.8
nameserver 8.8.4.4

I've sent a ticket to my vps and they have fixed the problem, thank you.
The vps is www.virtix.org

---------- Post added 09-15-12 at 11:18 PM ----------

the output was:
nameserver 8.8.8.8
nameserver 8.8.4.4

I've sent a ticket to my vps and they have fixed the problem, thank you.
The vps is www.virtix.org


All times are GMT -5. The time now is 03:35 AM.