Want more timely Centmin Mod News Updates?
Become a Member

Varnish repo failed

Discussion in 'System Administration' started by Sunka, Sep 5, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    maybe epel dns issues https://fedoraproject.org seems to be down as well ? and JamesK on Twitter

    not resolving for
    Code (Text):
    dig +short fedoraproject.org
    dig +short mirrors.fedoraproject.org
    dig +short download.fedoraproject.org
    

    from OVH BHS
     
  2. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    7:01 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    It is redirecting to :

    Code:
    https://getfedora.org/
    Maybe don't know as i didn't mess with any repos or server settings.... :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    looks like google 8.8.8.8 doesn't have dns records but using 4.2.2.2 does
    Code (Text):
    dig @4.2.2.2 +short mirrors.fedoraproject.org                    
    wildcard.fedoraproject.org.
    140.211.169.206
    67.203.2.67
    152.19.134.142
    152.19.134.198
    66.35.62.162
    209.132.181.16
    209.132.181.15
    8.43.85.67
    140.211.169.196
    67.219.144.68
    

    Code (Text):
    dig @4.2.2.2 +short download.fedoraproject.org                    
    wildcard.fedoraproject.org.
    67.219.144.68
    66.35.62.162
    67.203.2.67
    140.211.169.196
    152.19.134.198
    209.132.181.15
    8.43.85.67
    152.19.134.142
    209.132.181.16
    140.211.169.206
    


    https://community.centminmod.com/th...solvers-from-google-8-8-8-8-and-8-8-4-4.3988/

    revised /etc/resolv.conf
    Code (Text):
    options rotate
    options timeout:1
    nameserver 4.2.2.2
    nameserver 8.8.8.8
    
     
    Last edited: Sep 6, 2017
  4. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    7:01 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Should i add also the missing lines from my resolv.conf?

     
  5. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
  6. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    7:01 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Working great :)

    But i will revert it on that two servers after fedora fix dns issues so i will have the same setup on all servers :)

    Centminmod recommendation :

    Why not Centminmod don't have as default auto rotate dns ?

    I know some users may need to use custom ones but i think it will be good to add at least at the bottom some stable/known ones as alternatives?
     
  7. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    some web hosts automatically overwrite /etc/resolv.conf on reboots or have their own settings setup by web hosts
     
    • Informative Informative x 1
  8. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    7:01 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok let's see when they will fix it :)
     
  9. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    duplicates are due to source repo for varnish for [varnishcache_varnish41-source] if you set the 2nd enable=0 then only one shows up
    Code (Text):
    [varnishcache_varnish41]
    name=varnishcache_varnish41
    baseurl=https://packagecloud.io/varnishcache/varnish41/el/7/$basearch
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    
    [varnishcache_varnish41-source]
    name=varnishcache_varnish41-source
    baseurl=https://packagecloud.io/varnishcache/varnish41/el/7/SRPMS
    repo_gpgcheck=1
    gpgcheck=0
    enabled=0
    gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    
     
    • Informative Informative x 1
  10. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    6:01 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    I have only this:
    Code (Text):
    [root@upcloud ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search pijanitvor.com
    nameserver 94.xxxxxxx
    nameserver 94.xxxxxxx


    Still have doubled varnish repos:
    Code (Text):
    [root@upcloud ~]# yum update
    Loaded plugins: fastestmirror, priorities, versionlock
    base                                                                                    | 3.6 kB  00:00:00     
    centos-sclo-rh                                                                          | 2.9 kB  00:00:00     
    centos-sclo-sclo                                                                        | 2.9 kB  00:00:00     
    elasticsearch-5.x                                                                       | 1.3 kB  00:00:00     
    epel/x86_64/metalink                                                                    |  20 kB  00:00:00     
    epel                                                                                    | 4.3 kB  00:00:00     
    extras                                                                                  | 3.4 kB  00:00:00     
    mariadb                                                                                 | 2.9 kB  00:00:00     
    updates                                                                                 | 3.4 kB  00:00:00     
    varnishcache_varnish41/x86_64/signature                                                 |  836 B  00:00:00     
    varnishcache_varnish41/x86_64/signature                                                 | 1.0 kB  00:00:00 !!!
    varnishcache_varnish41-source/signature                                                 |  836 B  00:00:00     
    varnishcache_varnish41-source/signature                                                 | 1.0 kB  00:00:00 !!!
    (1/11): base/7/x86_64/group_gz                                                          | 155 kB  00:00:00     
    (2/11): epel/x86_64/group_gz                                                            | 170 kB  00:00:00     
    (3/11): base/7/x86_64/primary_db                                                        | 5.6 MB  00:00:00     
    (4/11): centos-sclo-sclo/x86_64/primary_db                                              | 179 kB  00:00:00     
    (5/11): epel/x86_64/updateinfo                                                          | 819 kB  00:00:00     
    (6/11): extras/7/x86_64/primary_db                                                      | 191 kB  00:00:00     
    (7/11): centos-sclo-rh/x86_64/primary_db                                                | 2.8 MB  00:00:00     
    (8/11): updates/7/x86_64/primary_db                                                     | 7.8 MB  00:00:00     
    (9/11): mariadb/primary_db                                                              |  19 kB  00:00:00     
    (10/11): epel/x86_64/primary_db                                                         | 4.8 MB  00:00:00     
    (11/11): elasticsearch-5.x/primary                                                      |  94 kB  00:00:00     
    (1/2): varnishcache_varnish41/x86_64/primary                                            | 9.8 kB  00:00:01     
    (2/2): varnishcache_varnish41-source/primary                                            | 2.2 kB  00:00:01     
    Determining fastest mirrors
     * base: ftp.hosteurope.de
     * epel: mirror.23media.de
     * extras: ftp.hosteurope.de
     * updates: ftp.hosteurope.de
    elasticsearch-5.x                                                                                      242/242
    varnishcache_varnish41                                                                                   43/43
    varnishcache_varnish41-source                                                                            13/13
    132 packages excluded due to repository priority protections
    No packages marked for update
     
  11. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
  12. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    6:01 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Executed two commands but only one doubled resolved.
    Look:
    Code (Text):
    [root@upcloud ~]# yum-config-manager --disable varnish-4.1
    Loaded plugins: fastestmirror, priorities, versionlock
    [root@upcloud ~]# yum clean all
    Loaded plugins: fastestmirror, priorities, versionlock
    Cleaning repos: base centos-sclo-rh centos-sclo-sclo elasticsearch-5.x epel extras mariadb updates
                  : varnishcache_varnish41 varnishcache_varnish41-source
    Cleaning up everything
    Cleaning up list of fastest mirrors
    [root@upcloud ~]# yum update
    Loaded plugins: fastestmirror, priorities, versionlock
    base                                                                                    | 3.6 kB  00:00:00     
    centos-sclo-rh                                                                          | 2.9 kB  00:00:00     
    centos-sclo-sclo                                                                        | 2.9 kB  00:00:00     
    elasticsearch-5.x                                                                       | 1.3 kB  00:00:00     
    epel/x86_64/metalink                                                                    |  21 kB  00:00:00     
    epel                                                                                    | 4.3 kB  00:00:00     
    extras                                                                                  | 3.4 kB  00:00:00     
    mariadb                                                                                 | 2.9 kB  00:00:00     
    updates                                                                                 | 3.4 kB  00:00:00     
    varnishcache_varnish41/x86_64/signature                                                 |  836 B  00:00:00     
    varnishcache_varnish41/x86_64/signature                                                 | 1.0 kB  00:00:00 !!!
    varnishcache_varnish41-source/signature                                                 |  836 B  00:00:00     
    varnishcache_varnish41-source/signature                                                 | 1.0 kB  00:00:00 !!!
    (1/11): base/7/x86_64/group_gz                                                          | 155 kB  00:00:00     
    (2/11): centos-sclo-sclo/x86_64/primary_db                                              | 179 kB  00:00:00     
    (3/11): base/7/x86_64/primary_db                                                        | 5.6 MB  00:00:00     
    (4/11): centos-sclo-rh/x86_64/primary_db                                                | 2.8 MB  00:00:00     
    (5/11): epel/x86_64/group_gz                                                            | 170 kB  00:00:00     
    (6/11): extras/7/x86_64/primary_db                                                      | 191 kB  00:00:00     
    (7/11): epel/x86_64/updateinfo                                                          | 819 kB  00:00:00     
    (8/11): updates/7/x86_64/primary_db                                                     | 7.8 MB  00:00:00     
    (9/11): elasticsearch-5.x/primary                                                       |  94 kB  00:00:00     
    (10/11): mariadb/primary_db                                                             |  19 kB  00:00:00     
    (11/11): epel/x86_64/primary_db                                                         | 4.8 MB  00:00:01     
    (1/2): varnishcache_varnish41-source/primary                                            | 2.2 kB  00:00:01     
    (2/2): varnishcache_varnish41/x86_64/primary                                            | 9.8 kB  00:00:01     
    Determining fastest mirrors
     * base: ftp.hosteurope.de
     * epel: mirror.23media.de
     * extras: ftp.hosteurope.de
     * updates: ftp.hosteurope.de
    elasticsearch-5.x                                                                                      242/242
    varnishcache_varnish41                                                                                   43/43
    varnishcache_varnish41-source                                                                            13/13
    132 packages excluded due to repository priority protections
    No packages marked for update
    [root@upcloud ~]# yum-config-manager --disable varnishcache_varnish41
    Loaded plugins: fastestmirror, priorities, versionlock
    ======================================== repo: varnishcache_varnish41 =========================================
    [varnishcache_varnish41]
    async = True
    bandwidth = 0
    base_persistdir = /var/lib/yum/repos/x86_64/7
    baseurl = https://packagecloud.io/varnishcache/varnish41/el/7/x86_64
    cache = 0
    cachedir = /var/cache/yum/x86_64/7/varnishcache_varnish41
    check_config_file_age = True
    compare_providers_priority = 80
    cost = 1000
    deltarpm_metadata_percentage = 100
    deltarpm_percentage =
    enabled = 0
    enablegroups = True
    exclude =
    failovermethod = priority
    ftp_disable_epsv = False
    gpgcadir = /var/lib/yum/repos/x86_64/7/varnishcache_varnish41/gpgcadir
    gpgcakey =
    gpgcheck = False
    gpgdir = /var/lib/yum/repos/x86_64/7/varnishcache_varnish41/gpgdir
    gpgkey = https://packagecloud.io/varnishcache/varnish41/gpgkey
    hdrdir = /var/cache/yum/x86_64/7/varnishcache_varnish41/headers
    http_caching = all
    includepkgs =
    ip_resolve =
    keepalive = True
    keepcache = False
    mddownloadpolicy = sqlite
    mdpolicy = group:small
    mediaid =
    metadata_expire = 300
    metadata_expire_filter = read-only:present
    metalink =
    minrate = 0
    mirrorlist =
    mirrorlist_expire = 86400
    name = varnishcache_varnish41
    old_base_cache_dir =
    password =
    persistdir = /var/lib/yum/repos/x86_64/7/varnishcache_varnish41
    pkgdir = /var/cache/yum/x86_64/7/varnishcache_varnish41/packages
    priority = 99
    proxy = False
    proxy_dict =
    proxy_password =
    proxy_username =
    repo_gpgcheck = True
    retries = 10
    skip_if_unavailable = False
    ssl_check_cert_permissions = True
    sslcacert = /etc/pki/tls/certs/ca-bundle.crt
    sslclientcert =
    sslclientkey =
    sslverify = True
    throttle = 0
    timeout = 30.0
    ui_id = varnishcache_varnish41/x86_64
    ui_repoid_vars = releasever,
       basearch
    username =
    
    You have new mail in /var/spool/mail/root
    [root@upcloud ~]# yum clean all
    Loaded plugins: fastestmirror, priorities, versionlock
    Cleaning repos: base centos-sclo-rh centos-sclo-sclo elasticsearch-5.x epel extras mariadb updates
                  : varnishcache_varnish41-source
    Cleaning up everything
    Cleaning up list of fastest mirrors
    [root@upcloud ~]# yum update
    Loaded plugins: fastestmirror, priorities, versionlock
    base                                                                                    | 3.6 kB  00:00:00     
    centos-sclo-rh                                                                          | 2.9 kB  00:00:00     
    centos-sclo-sclo                                                                        | 2.9 kB  00:00:00     
    elasticsearch-5.x                                                                       | 1.3 kB  00:00:00     
    epel/x86_64/metalink                                                                    |  21 kB  00:00:00     
    epel                                                                                    | 4.3 kB  00:00:00     
    extras                                                                                  | 3.4 kB  00:00:00     
    mariadb                                                                                 | 2.9 kB  00:00:00     
    updates                                                                                 | 3.4 kB  00:00:00     
    varnishcache_varnish41-source/signature                                                 |  836 B  00:00:00     
    varnishcache_varnish41-source/signature                                                 | 1.0 kB  00:00:00 !!!
    (1/11): base/7/x86_64/group_gz                                                          | 155 kB  00:00:00     
    (2/11): base/7/x86_64/primary_db                                                        | 5.6 MB  00:00:00     
    (3/11): epel/x86_64/group_gz                                                            | 170 kB  00:00:00     
    (4/11): centos-sclo-sclo/x86_64/primary_db                                              | 179 kB  00:00:00     
    (5/11): extras/7/x86_64/primary_db                                                      | 191 kB  00:00:00     
    (6/11): centos-sclo-rh/x86_64/primary_db                                                | 2.8 MB  00:00:00     
    (7/11): epel/x86_64/primary_db                                                          | 4.8 MB  00:00:00     
    (8/11): updates/7/x86_64/primary_db                                                     | 7.8 MB  00:00:00     
    (9/11): epel/x86_64/updateinfo                                                          | 819 kB  00:00:00     
    (10/11): mariadb/primary_db                                                             |  19 kB  00:00:00     
    (11/11): elasticsearch-5.x/primary                                                      |  94 kB  00:00:00     
    varnishcache_varnish41-source/primary                                                   | 2.2 kB  00:00:02     
    Determining fastest mirrors
     * base: ftp.hosteurope.de
     * epel: mirror.23media.de
     * extras: ftp.hosteurope.de
     * updates: ftp.hosteurope.de
    elasticsearch-5.x                                                                                      242/242
    varnishcache_varnish41-source                                                                            13/13
    122 packages excluded due to repository priority protections
    No packages marked for update
     
  13. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    manually edit .repo files set enable=0
     
  14. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    6:01 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Where is exactly that repo file?
    This one?
    Code (Text):
    [root@upcloud ~]# cat /etc/yum.repos.d/varnishcache_varnish41.repo
    [varnishcache_varnish41]
    name=varnishcache_varnish41
    baseurl=https://packagecloud.io/varnishcache/varnish41/el/7/$basearch
    repo_gpgcheck=1
    gpgcheck=0
    enabled=0
    gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    
    [varnishcache_varnish41-source]
    name=varnishcache_varnish41-source
    baseurl=https://packagecloud.io/varnishcache/varnish41/el/7/SRPMS
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300


    So, last one should be enabled=0
    Or ...?
     
  15. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    2:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup 2nd instance of enabled=1 switch to enabled=0
     
    • Like Like x 1
  16. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    6:01 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Worked (y)

    Code (Text):
    You have new mail in /var/spool/mail/root
    [root@upcloud videoup]# nano /etc/yum.repos.d/varnishcache_varnish41.repo
      GNU nano 2.3.1             File: /etc/yum.repos.d/varnishcache_varnish41.repo                               
    
    [varnishcache_varnish41]
    name=varnishcache_varnish41
    baseurl=https://packagecloud.io/varnishcache/varnish41/el/7/$basearch
    repo_gpgcheck=1
    gpgcheck=0
    enabled=0
    gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    
    [varnishcache_varnish41-source]
    name=varnishcache_varnish41-source
    baseurl=https://packagecloud.io/varnishcache/varnish41/el/7/SRPMS
    repo_gpgcheck=1
    gpgcheck=0
    enabled=0
    gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    
                                                  [ Wrote 21 lines ]
    
    [root@upcloud videoup]# yum clean all
    Loaded plugins: fastestmirror, priorities, versionlock
    Cleaning repos: base centos-sclo-rh centos-sclo-sclo elasticsearch-5.x epel extras mariadb updates
    Cleaning up everything
    Cleaning up list of fastest mirrors
    [root@upcloud videoup]# yum update
    Loaded plugins: fastestmirror, priorities, versionlock
    base                                                                                    | 3.6 kB  00:00:00     
    centos-sclo-rh                                                                          | 2.9 kB  00:00:00     
    centos-sclo-sclo                                                                        | 2.9 kB  00:00:00     
    elasticsearch-5.x                                                                       | 1.3 kB  00:00:00     
    epel/x86_64/metalink                                                                    |  21 kB  00:00:00     
    epel                                                                                    | 4.3 kB  00:00:00     
    extras                                                                                  | 3.4 kB  00:00:00     
    mariadb                                                                                 | 2.9 kB  00:00:00     
    updates                                                                                 | 3.4 kB  00:00:00     
    (1/11): base/7/x86_64/group_gz                                                          | 155 kB  00:00:00     
    (2/11): epel/x86_64/group_gz                                                            | 170 kB  00:00:00     
    (3/11): epel/x86_64/updateinfo                                                          | 819 kB  00:00:00     
    (4/11): base/7/x86_64/primary_db                                                        | 5.6 MB  00:00:00     
    (5/11): extras/7/x86_64/primary_db                                                      | 191 kB  00:00:00     
    (6/11): epel/x86_64/primary_db                                                          | 4.8 MB  00:00:00     
    (7/11): centos-sclo-sclo/x86_64/primary_db                                              | 179 kB  00:00:00     
    (8/11): mariadb/primary_db                                                              |  19 kB  00:00:00     
    (9/11): updates/7/x86_64/primary_db                                                     | 7.8 MB  00:00:00     
    (10/11): centos-sclo-rh/x86_64/primary_db                                               | 2.8 MB  00:00:00     
    (11/11): elasticsearch-5.x/primary                                                      |  94 kB  00:00:00     
    Determining fastest mirrors
     * base: ftp.hosteurope.de
     * epel: mirror.23media.de
     * extras: ftp.hosteurope.de
     * updates: ftp.hosteurope.de
    elasticsearch-5.x                                                                                      242/242
    122 packages excluded due to repository priority protections
    No packages marked for update


    P.S. Please insert button for "black code" (codeb)
     
    • Like Like x 1