Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Problem with network after installed vestacp.

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Alexieze
Posts: 7
Joined: Mon Mar 14, 2016 7:15 am

Problem with network after installed vestacp.
  • Quote

Post by Alexieze » Sun Sep 18, 2016 7:27 am

Hi guys. I installed vestacp on my vps. After installed I have problem with network. I want make apt-get update, but get error.

Code: Select all

Err http://ru.archive.ubuntu.com trusty InRelease

Err http://ru.archive.ubuntu.com trusty-updates InRelease

Err http://ru.archive.ubuntu.com trusty-backports InRelease

Err http://security.ubuntu.com trusty-security InRelease

Err http://nginx.org trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://apt.vestacp.com trusty InRelease

Err http://ru.archive.ubuntu.com trusty Release.gpg
  Could not resolve 'ru.archive.ubuntu.com'
Err http://ru.archive.ubuntu.com trusty-updates Release.gpg
  Could not resolve 'ru.archive.ubuntu.com'
Err http://security.ubuntu.com trusty-security Release.gpg
  Could not resolve 'security.ubuntu.com'
Err http://nginx.org trusty Release.gpg
  Could not resolve 'nginx.org'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://apt.vestacp.com trusty Release.gpg
  Could not resolve 'apt.vestacp.com'
Err http://ru.archive.ubuntu.com trusty-backports Release.gpg
  Could not resolve 'ru.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://nginx.org/packages/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://apt.vestacp.com/trusty/dists/trusty/InRelease

W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Could not resolve 'ru.archive.ubuntu.com'

W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Could not resolve 'ru.archive.ubuntu.com'

W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Could not resolve 'ru.archive.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://nginx.org/packages/ubuntu/dists/trusty/Release.gpg  Could not resolve 'nginx.org'

W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/trusty/Release.gpg  Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://apt.vestacp.com/trusty/dists/trusty/Release.gpg  Could not resolve 'apt.vestacp.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Top

Elizine
Posts: 50
Joined: Wed Aug 12, 2015 12:11 pm
Contact:
Contact Elizine
Website

Re: Problem with network after installed vestacp.
  • Quote

Post by Elizine » Mon Sep 19, 2016 11:17 am

1. Ensure the nameserver IPs in /etc/resolv.conf file are pinging from your machine.
2. If not try using a reliable name server like the Google's 8.8.8.8 and 8.8.4.4.
3. Try putting the nameserver IP found in resolv.conf in your /etc/network/interfaces file as nameserver <IP of the DNS server> and restart the network by running /etc/init.d/networking restart and see if that works.
4. If none of them works, try changing the order in /etc/nsswitch.conf, line host: put the dns first. hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password